类 AccessMethodMarker
- java.lang.Object
-
- proguard.optimize.info.AccessMethodMarker
-
- 所有已实现的接口:
proguard.classfile.constant.visitor.ConstantVisitor,proguard.classfile.instruction.visitor.InstructionVisitor,proguard.classfile.visitor.ClassVisitor,proguard.classfile.visitor.MemberVisitor
public class AccessMethodMarker extends java.lang.Object implements proguard.classfile.instruction.visitor.InstructionVisitor, proguard.classfile.constant.visitor.ConstantVisitor, proguard.classfile.visitor.ClassVisitor, proguard.classfile.visitor.MemberVisitorThis InstructionVisitor marks the types of class accesses and class member accesses of the methods whose instructions it visits.
-
-
构造器概要
构造器 构造器 说明 AccessMethodMarker()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static booleanaccessesPackageCode(proguard.classfile.Method method)Returns whether the given method accesses package visible classes or class members.static booleanaccessesPrivateCode(proguard.classfile.Method method)Returns whether the given method accesses private class members.static booleanaccessesProtectedCode(proguard.classfile.Method method)Returns whether the given method accesses protected class members.voidvisitAnyClass(proguard.classfile.Clazz clazz)voidvisitAnyConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.Constant constant)voidvisitAnyInstruction(proguard.classfile.Clazz clazz, proguard.classfile.Method method, proguard.classfile.attribute.CodeAttribute codeAttribute, int offset, proguard.classfile.instruction.Instruction instruction)voidvisitAnyMember(proguard.classfile.Clazz clazz, proguard.classfile.Member member)voidvisitAnyRefConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.RefConstant refConstant)voidvisitClassConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.ClassConstant classConstant)voidvisitConstantInstruction(proguard.classfile.Clazz clazz, proguard.classfile.Method method, proguard.classfile.attribute.CodeAttribute codeAttribute, int offset, proguard.classfile.instruction.ConstantInstruction constantInstruction)voidvisitDynamicConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.DynamicConstant dynamicConstant)voidvisitInvokeDynamicConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.InvokeDynamicConstant invokeDynamicConstant)voidvisitMethodHandleConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.MethodHandleConstant methodHandleConstant)voidvisitStringConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.StringConstant stringConstant)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.classfile.constant.visitor.ConstantVisitor
visitAnyMethodrefConstant, visitDoubleConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitLongConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitUtf8Constant
-
-
-
-
方法详细资料
-
visitAnyInstruction
public void visitAnyInstruction(proguard.classfile.Clazz clazz, proguard.classfile.Method method, proguard.classfile.attribute.CodeAttribute codeAttribute, int offset, proguard.classfile.instruction.Instruction instruction)- 指定者:
visitAnyInstruction在接口中proguard.classfile.instruction.visitor.InstructionVisitor
-
visitConstantInstruction
public void visitConstantInstruction(proguard.classfile.Clazz clazz, proguard.classfile.Method method, proguard.classfile.attribute.CodeAttribute codeAttribute, int offset, proguard.classfile.instruction.ConstantInstruction constantInstruction)- 指定者:
visitConstantInstruction在接口中proguard.classfile.instruction.visitor.InstructionVisitor
-
visitAnyConstant
public void visitAnyConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.Constant constant)- 指定者:
visitAnyConstant在接口中proguard.classfile.constant.visitor.ConstantVisitor
-
visitStringConstant
public void visitStringConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.StringConstant stringConstant)- 指定者:
visitStringConstant在接口中proguard.classfile.constant.visitor.ConstantVisitor
-
visitDynamicConstant
public void visitDynamicConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.DynamicConstant dynamicConstant)- 指定者:
visitDynamicConstant在接口中proguard.classfile.constant.visitor.ConstantVisitor
-
visitInvokeDynamicConstant
public void visitInvokeDynamicConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.InvokeDynamicConstant invokeDynamicConstant)- 指定者:
visitInvokeDynamicConstant在接口中proguard.classfile.constant.visitor.ConstantVisitor
-
visitMethodHandleConstant
public void visitMethodHandleConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.MethodHandleConstant methodHandleConstant)- 指定者:
visitMethodHandleConstant在接口中proguard.classfile.constant.visitor.ConstantVisitor
-
visitAnyRefConstant
public void visitAnyRefConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.RefConstant refConstant)- 指定者:
visitAnyRefConstant在接口中proguard.classfile.constant.visitor.ConstantVisitor
-
visitClassConstant
public void visitClassConstant(proguard.classfile.Clazz clazz, proguard.classfile.constant.ClassConstant classConstant)- 指定者:
visitClassConstant在接口中proguard.classfile.constant.visitor.ConstantVisitor
-
visitAnyClass
public void visitAnyClass(proguard.classfile.Clazz clazz)
- 指定者:
visitAnyClass在接口中proguard.classfile.visitor.ClassVisitor
-
visitAnyMember
public void visitAnyMember(proguard.classfile.Clazz clazz, proguard.classfile.Member member)- 指定者:
visitAnyMember在接口中proguard.classfile.visitor.MemberVisitor
-
accessesPrivateCode
public static boolean accessesPrivateCode(proguard.classfile.Method method)
Returns whether the given method accesses private class members.
-
accessesPackageCode
public static boolean accessesPackageCode(proguard.classfile.Method method)
Returns whether the given method accesses package visible classes or class members.
-
accessesProtectedCode
public static boolean accessesProtectedCode(proguard.classfile.Method method)
Returns whether the given method accesses protected class members.
-
-