/** * Visits the nest host class of the class. 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 once and only if the visited class is a non-host member of a nest. A class is * implicitly its own nest, so it's invalid to call this method with the visited class name as * argument. * * @param nestHost the internal name of the host class of the nest. */ public void visitNestHost(final String nestHost) { if (api < Opcodes.ASM7) { throw new UnsupportedOperationException("This feature requires ASM7"); } if (cv != null) { cv.visitNestHost(nestHost); } }
classVisitor.visitNestHost(nestHostClass);
/** * Visits the nest host class of the class. 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 once and only if the visited class is a non-host member of a nest. A class is * implicitly its own nest, so it's invalid to call this method with the visited class name as * argument. * * @param nestHost the internal name of the host class of the nest. */ public void visitNestHost(final String nestHost) { if (api < Opcodes.ASM7) { throw new UnsupportedOperationException("This feature requires ASM7"); } if (cv != null) { cv.visitNestHost(nestHost); } }
classVisitor.visitNestHost(nestHostClass);