类 NestHostFinder

    • 构造器详细资料

      • NestHostFinder

        public NestHostFinder()
    • 方法详细资料

      • inSameNest

        public boolean inSameNest​(Clazz class1,
                                  Clazz class2)
        Returns whether the two given classes are in the same nest.
      • findNestHostClassName

        public java.lang.String findNestHostClassName​(Clazz clazz)
        Returns the class name of the nest host of the given class. This may be the class itself, if the class doesn't have a nest host attribute (including for class versions below Java 11 and for library classes).
      • visitAnyClass

        public void visitAnyClass​(Clazz clazz)
        从接口复制的说明: ClassVisitor
        Visits any Clazz instance. The more specific default implementations of this interface delegate to this method.
        指定者:
        visitAnyClass 在接口中 ClassVisitor