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.MemberVisitor
| Constructor and Description |
|---|
AccessMethodMarker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessesPackageCode(proguard.classfile.Method method)
Returns whether the given method accesses package visible classes or class
members.
|
static boolean |
accessesPrivateCode(proguard.classfile.Method method)
Returns whether the given method accesses private class members.
|
static boolean |
accessesProtectedCode(proguard.classfile.Method method)
Returns whether the given method accesses protected class members.
|
void |
visitAnyClass(proguard.classfile.Clazz clazz) |
void |
visitAnyConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.Constant constant) |
void |
visitAnyInstruction(proguard.classfile.Clazz clazz,
proguard.classfile.Method method,
proguard.classfile.attribute.CodeAttribute codeAttribute,
int offset,
proguard.classfile.instruction.Instruction instruction) |
void |
visitAnyMember(proguard.classfile.Clazz clazz,
proguard.classfile.Member member) |
void |
visitAnyRefConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.RefConstant refConstant) |
void |
visitClassConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.ClassConstant classConstant) |
void |
visitConstantInstruction(proguard.classfile.Clazz clazz,
proguard.classfile.Method method,
proguard.classfile.attribute.CodeAttribute codeAttribute,
int offset,
proguard.classfile.instruction.ConstantInstruction constantInstruction) |
void |
visitDynamicConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.DynamicConstant dynamicConstant) |
void |
visitInvokeDynamicConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.InvokeDynamicConstant invokeDynamicConstant) |
void |
visitMethodHandleConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.MethodHandleConstant methodHandleConstant) |
void |
visitStringConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.StringConstant stringConstant) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitAnySwitchInstruction, visitBranchInstruction, visitLookUpSwitchInstruction, visitSimpleInstruction, visitTableSwitchInstruction, visitVariableInstructionvisitAnyMethodrefConstant, visitDoubleConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitLongConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitUtf8Constantpublic void visitAnyInstruction(proguard.classfile.Clazz clazz,
proguard.classfile.Method method,
proguard.classfile.attribute.CodeAttribute codeAttribute,
int offset,
proguard.classfile.instruction.Instruction instruction)
visitAnyInstruction in interface proguard.classfile.instruction.visitor.InstructionVisitorpublic void visitConstantInstruction(proguard.classfile.Clazz clazz,
proguard.classfile.Method method,
proguard.classfile.attribute.CodeAttribute codeAttribute,
int offset,
proguard.classfile.instruction.ConstantInstruction constantInstruction)
visitConstantInstruction in interface proguard.classfile.instruction.visitor.InstructionVisitorpublic void visitAnyConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.Constant constant)
visitAnyConstant in interface proguard.classfile.constant.visitor.ConstantVisitorpublic void visitStringConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.StringConstant stringConstant)
visitStringConstant in interface proguard.classfile.constant.visitor.ConstantVisitorpublic void visitDynamicConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.DynamicConstant dynamicConstant)
visitDynamicConstant in interface proguard.classfile.constant.visitor.ConstantVisitorpublic void visitInvokeDynamicConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.InvokeDynamicConstant invokeDynamicConstant)
visitInvokeDynamicConstant in interface proguard.classfile.constant.visitor.ConstantVisitorpublic void visitMethodHandleConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.MethodHandleConstant methodHandleConstant)
visitMethodHandleConstant in interface proguard.classfile.constant.visitor.ConstantVisitorpublic void visitAnyRefConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.RefConstant refConstant)
visitAnyRefConstant in interface proguard.classfile.constant.visitor.ConstantVisitorpublic void visitClassConstant(proguard.classfile.Clazz clazz,
proguard.classfile.constant.ClassConstant classConstant)
visitClassConstant in interface proguard.classfile.constant.visitor.ConstantVisitorpublic void visitAnyClass(proguard.classfile.Clazz clazz)
visitAnyClass in interface proguard.classfile.visitor.ClassVisitorpublic void visitAnyMember(proguard.classfile.Clazz clazz,
proguard.classfile.Member member)
visitAnyMember in interface proguard.classfile.visitor.MemberVisitorpublic static boolean accessesPrivateCode(proguard.classfile.Method method)
public static boolean accessesPackageCode(proguard.classfile.Method method)
public static boolean accessesProtectedCode(proguard.classfile.Method method)