类 PermittedSubclassAdder
- java.lang.Object
-
- proguard.classfile.editor.PermittedSubclassAdder
-
- 所有已实现的接口:
ConstantVisitor,ClassVisitor
public class PermittedSubclassAdder extends java.lang.Object implements ConstantVisitor, ClassVisitor
ThisConstantVisitorandClassVisitoradds the class constants or the classes that it visits to the given target permitted classes attribute.
-
-
构造器概要
构造器 构造器 说明 PermittedSubclassAdder(ProgramClass targetClass, PermittedSubclassesAttribute targetPermittedSubclassesAttribute)Creates a new PermittedSubclassAdder that will add classes to the given target nest members attribute.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidvisitAnyClass(Clazz clazz)Visits any Clazz instance.voidvisitAnyConstant(Clazz clazz, Constant constant)Visits any Constant instance.voidvisitClassConstant(Clazz clazz, ClassConstant classConstant)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
从接口继承的方法 proguard.classfile.constant.visitor.ConstantVisitor
visitAnyMethodrefConstant, visitAnyRefConstant, visitDoubleConstant, visitDynamicConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitInvokeDynamicConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitStringConstant, visitUtf8Constant
-
-
-
-
构造器详细资料
-
PermittedSubclassAdder
public PermittedSubclassAdder(ProgramClass targetClass, PermittedSubclassesAttribute targetPermittedSubclassesAttribute)
Creates a new PermittedSubclassAdder that will add classes to the given target nest members attribute.
-
-
方法详细资料
-
visitAnyConstant
public void visitAnyConstant(Clazz clazz, Constant constant)
从接口复制的说明:ConstantVisitorVisits any Constant instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyConstant在接口中ConstantVisitor
-
visitClassConstant
public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
- 指定者:
visitClassConstant在接口中ConstantVisitor
-
visitAnyClass
public void visitAnyClass(Clazz clazz)
从接口复制的说明:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyClass在接口中ClassVisitor
-
-