/** * 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); } }
int currentNestMemberOffset = nestMembersOffset + 2; while (numberOfNestMembers-- > 0) { classVisitor.visitNestMember(readClass(currentNestMemberOffset, charBuffer)); currentNestMemberOffset += 2;