Package edu.umd.cs.findbugs.detect
Class TestASM
- java.lang.Object
-
- org.objectweb.asm.ClassVisitor
-
- org.objectweb.asm.tree.ClassNode
-
- edu.umd.cs.findbugs.asm.ClassNodeDetector
-
- edu.umd.cs.findbugs.detect.TestASM
-
- All Implemented Interfaces:
Detector2
,Priorities
public class TestASM extends ClassNodeDetector
Sample detector, using ASM- Author:
- David Hovemeyer
-
-
Field Summary
-
Fields inherited from class edu.umd.cs.findbugs.asm.ClassNodeDetector
bugReporter
-
Fields inherited from class org.objectweb.asm.tree.ClassNode
access, attrs, fields, innerClasses, interfaces, invisibleAnnotations, invisibleTypeAnnotations, methods, module, name, nestHostClass, nestMembers, outerClass, outerMethod, outerMethodDesc, permittedSubtypesExperimental, recordComponents, signature, sourceDebug, sourceFile, superName, version, visibleAnnotations, visibleTypeAnnotations
-
Fields inherited from interface edu.umd.cs.findbugs.Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description TestASM(BugReporter bugReporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.FieldVisitor
visitField(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value)
org.objectweb.asm.MethodVisitor
visitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)
-
Methods inherited from class edu.umd.cs.findbugs.asm.ClassNodeDetector
finishPass, getDetectorClassName, visitClass
-
-
-
-
Constructor Detail
-
TestASM
public TestASM(BugReporter bugReporter)
-
-
Method Detail
-
visitMethod
public org.objectweb.asm.MethodVisitor visitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)
- Overrides:
visitMethod
in classorg.objectweb.asm.tree.ClassNode
-
visitField
public org.objectweb.asm.FieldVisitor visitField(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value)
- Overrides:
visitField
in classorg.objectweb.asm.tree.ClassNode
-
-