/** * Visits a member of the nest. A nest is a set of classes of the same package that share access * to their private members. One of these classes, called the host, lists the other members of the * nest, which in turn should link to the host of their nest. This method must be called only if * the visited class is the host of a nest. A nest host is implicitly a member of its own nest, so * it's invalid to call this method with the visited class name as argument. * * @param nestMember the internal name of a nest member. */ public void visitNestMember(final String nestMember) { if (api < Opcodes.ASM7) { throw new UnsupportedOperationException("This feature requires ASM7"); } if (cv != null) { cv.visitNestMember(nestMember); } }
cv.visitNestMember(member);
int currentNestMemberOffset = nestMembersOffset + 2; while (numberOfNestMembers-- > 0) { classVisitor.visitNestMember(readClass(currentNestMemberOffset, charBuffer)); currentNestMemberOffset += 2;
/** * Visits a member of the nest. A nest is a set of classes of the same package that share access * to their private members. One of these classes, called the host, lists the other members of the * nest, which in turn should link to the host of their nest. This method must be called only if * the visited class is the host of a nest. A nest host is implicitly a member of its own nest, so * it's invalid to call this method with the visited class name as argument. * * @param nestMember the internal name of a nest member. */ public void visitNestMember(final String nestMember) { if (api < Opcodes.ASM7) { throw new UnsupportedOperationException("This feature requires ASM7"); } if (cv != null) { cv.visitNestMember(nestMember); } }
/** * Visits a member of the nest. A nest is a set of classes of the same package that share access * to their private members. One of these classes, called the host, lists the other members of the * nest, which in turn should link to the host of their nest. This method must be called only if * the visited class is the host of a nest. A nest host is implicitly a member of its own nest, so * it's invalid to call this method with the visited class name as argument. * * @param nestMember the internal name of a nest member. */ public void visitNestMember(final String nestMember) { if (api < Opcodes.ASM7) { throw new UnsupportedOperationException("This feature requires ASM7"); } if (cv != null) { cv.visitNestMember(nestMember); } }
@Override public void visitNestMember(final String nestMember) { p.visitNestMember(nestMember); super.visitNestMember(nestMember); }
@Override public void visitNestMember(final String nestMember) { super.visitNestMember(remapper.mapType(nestMember)); }
@Override public void visitNestMember(final String nestMember) { super.visitNestMember(remapper.mapType(nestMember)); }
@Override public void visitNestMember(final String nestMember) { p.visitNestMember(nestMember); super.visitNestMember(nestMember); }
@Override public void visitNestMember(final String nestMember) { super.visitNestMember(remapper.mapType(nestMember)); }
@Override public void visitNestMember(final String nestMember) { checkState(); CheckMethodAdapter.checkInternalName(version, nestMember, "nestMember"); if (visitNestHostCalled) { throw new IllegalStateException( "visitMemberOfNest and visitNestHost are mutually exclusive."); } String packageName = packageName(nestMember); if (nestMemberPackageName == null) { nestMemberPackageName = packageName; } else if (!nestMemberPackageName.equals(packageName)) { throw new IllegalStateException( "nest member " + nestMember + " should be in the package " + nestMemberPackageName); } super.visitNestMember(nestMember); }
@Override public void visitNestMember(final String nestMember) { checkState(); CheckMethodAdapter.checkInternalName(version, nestMember, "nestMember"); if (visitNestHostCalled) { throw new IllegalStateException( "visitMemberOfNest and visitNestHost are mutually exclusive."); } String packageName = packageName(nestMember); if (nestMemberPackageName == null) { nestMemberPackageName = packageName; } else if (!nestMemberPackageName.equals(packageName)) { throw new IllegalStateException( "nest member " + nestMember + " should be in the package " + nestMemberPackageName); } super.visitNestMember(nestMember); }
classVisitor.visitNestMember(nestMembers.get(i));
int currentNestMemberOffset = nestMembersOffset + 2; while (numberOfNestMembers-- > 0) { classVisitor.visitNestMember(readClass(currentNestMemberOffset, charBuffer)); currentNestMemberOffset += 2;
int currentNestMemberOffset = nestMembersOffset + 2; while (numberOfNestMembers-- > 0) { classVisitor.visitNestMember(readClass(currentNestMemberOffset, charBuffer)); currentNestMemberOffset += 2;