Class ClassParserUsingASM.ClassParserMethodVisitor
java.lang.Object
org.objectweb.asm.MethodVisitor
edu.umd.cs.findbugs.classfile.engine.AbstractMethodVisitor
edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.ClassParserMethodVisitor
- Enclosing class:
ClassParserUsingASM
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int(package private) String(package private) boolean(package private) boolean(package private) String(package private) String(package private) Stringprivate final TreeSet<ClassDescriptor> private final ClassNameAndSuperclassInfo.Builder(package private) int(package private) ClassParserUsingASM.IdentityMethodState(package private) boolean(package private) boolean(package private) boolean(package private) HashSet<org.objectweb.asm.Label> private final MethodInfo.Builder(package private) intprivate final Stringprivate final Stringprivate int(package private) int(package private) ClassParserUsingASM.ParameterLoadState(package private) boolean(package private) boolean(package private) boolean(package private) boolean(package private) boolean(package private) boolean(package private) boolean(package private) ClassParserUsingASM.StubStateFields inherited from class org.objectweb.asm.MethodVisitor
api, mv -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateClassParserMethodVisitor(TreeSet<ClassDescriptor> calledClassSet, MethodInfo.Builder mBuilder, String methodName, int access, String methodDesc, ClassNameAndSuperclassInfo.Builder cBuilder) -
Method Summary
Modifier and TypeMethodDescription(package private) booleanisStatic()voidprivate voidsawBranchTo(org.objectweb.asm.Label label) voidvisitAnnotableParameterCount(int parameterCount, boolean visible) org.objectweb.asm.AnnotationVisitorvisitAnnotation(String desc, boolean visible) voidvisitEnd()voidvisitFieldInsn(int opcode, String owner, String name, String desc) voidvisitInsn(int opcode) voidvisitInvokeDynamicInsn(String name, String desc, org.objectweb.asm.Handle bsm, Object... bsmArgs) voidvisitJumpInsn(int opcode, org.objectweb.asm.Label label) voidvisitLabel(org.objectweb.asm.Label label) voidvisitLdcInsn(Object cst) voidvisitLocalVariable(String name, String desc, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index) voidvisitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) voidvisitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) org.objectweb.asm.AnnotationVisitorvisitParameterAnnotation(int parameter, String desc, boolean visible) voidvoidvisitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label... labels) org.objectweb.asm.AnnotationVisitorvisitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) voidvisitVarInsn(int opcode, int var) Methods inherited from class AbstractMethodVisitor
visitAnnotationDefault, visitAttribute, visitCode, visitFrame, visitIincInsn, visitIntInsn, visitLineNumber, visitMaxs, visitMultiANewArrayInsn, visitTryCatchBlock, visitTypeInsnMethods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitInsnAnnotation, visitLocalVariableAnnotation, visitMethodInsn, visitParameter, visitTryCatchAnnotation
-
Field Details
-
calledClassSet
-
mBuilder
-
methodName
-
access
private final int access -
methodDesc
-
cBuilder
-
sawReturn
boolean sawReturn -
sawNormalThrow
boolean sawNormalThrow -
sawUnsupportedThrow
boolean sawUnsupportedThrow -
sawSystemExit
boolean sawSystemExit -
sawBranch
boolean sawBranch -
sawBackBranch
boolean sawBackBranch -
methodCallCount
int methodCallCount -
fieldInstructionCount
int fieldInstructionCount -
sawStubThrow
boolean sawStubThrow -
justSawInitializationOfUnsupportedOperationException
boolean justSawInitializationOfUnsupportedOperationException -
isBridge
boolean isBridge -
bridgedMethodSignature
String bridgedMethodSignature -
identityState
ClassParserUsingASM.IdentityMethodState identityState -
parameterLoadState
ClassParserUsingASM.ParameterLoadState parameterLoadState -
parameterForLoadState
int parameterForLoadState -
stubState
ClassParserUsingASM.StubState stubState -
isAccessMethod
boolean isAccessMethod -
accessOwner
String accessOwner -
accessName
String accessName -
accessDesc
String accessDesc -
accessForField
boolean accessForField -
accessIsStatic
boolean accessIsStatic -
labelsSeen
HashSet<org.objectweb.asm.Label> labelsSeen -
parameterCount
private int parameterCount
-
-
Constructor Details
-
ClassParserMethodVisitor
private ClassParserMethodVisitor(TreeSet<ClassDescriptor> calledClassSet, MethodInfo.Builder mBuilder, String methodName, int access, String methodDesc, ClassNameAndSuperclassInfo.Builder cBuilder) - Parameters:
calledClassSet-mBuilder-methodName-access-methodDesc-cBuilder-
-
-
Method Details
-
isStatic
boolean isStatic() -
visitLocalVariable
public void visitLocalVariable(String name, String desc, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index) - Overrides:
visitLocalVariablein classAbstractMethodVisitor
-
visitLdcInsn
- Overrides:
visitLdcInsnin classAbstractMethodVisitor
-
visitInsn
public void visitInsn(int opcode) - Overrides:
visitInsnin classAbstractMethodVisitor
-
resetState
public void resetState() -
visitSomeInsn
public void visitSomeInsn()- Overrides:
visitSomeInsnin classAbstractMethodVisitor
-
visitVarInsn
public void visitVarInsn(int opcode, int var) - Overrides:
visitVarInsnin classAbstractMethodVisitor
-
visitFieldInsn
- Overrides:
visitFieldInsnin classAbstractMethodVisitor
-
visitAnnotation
- Overrides:
visitAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitInvokeDynamicInsn
-
visitMethodInsn
- Overrides:
visitMethodInsnin classAbstractMethodVisitor
-
sawBranchTo
private void sawBranchTo(org.objectweb.asm.Label label) -
visitJumpInsn
public void visitJumpInsn(int opcode, org.objectweb.asm.Label label) - Overrides:
visitJumpInsnin classAbstractMethodVisitor
-
visitLookupSwitchInsn
public void visitLookupSwitchInsn(org.objectweb.asm.Label dflt, int[] keys, org.objectweb.asm.Label[] labels) - Overrides:
visitLookupSwitchInsnin classAbstractMethodVisitor
-
visitTableSwitchInsn
public void visitTableSwitchInsn(int min, int max, org.objectweb.asm.Label dflt, org.objectweb.asm.Label... labels) - Overrides:
visitTableSwitchInsnin classAbstractMethodVisitor
-
visitLabel
public void visitLabel(org.objectweb.asm.Label label) - Overrides:
visitLabelin classAbstractMethodVisitor
-
visitEnd
public void visitEnd()- Overrides:
visitEndin classorg.objectweb.asm.MethodVisitor
-
visitAnnotableParameterCount
public void visitAnnotableParameterCount(int parameterCount, boolean visible) - Overrides:
visitAnnotableParameterCountin classorg.objectweb.asm.MethodVisitor
-
visitParameterAnnotation
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible) - Overrides:
visitParameterAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitTypeAnnotation
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible) - Overrides:
visitTypeAnnotationin classorg.objectweb.asm.MethodVisitor
-