- getType
Get the bug pattern name (e.g., IL_INFINITE_RECURSIVE_LOOP)
- getPrimarySourceLineAnnotation
Get the primary source line annotation. There is guaranteed to be one (unless
some Detector construc
- getPriority
Get the bug priority.
- <init>
Constructor.
- addClass
Add a class annotation for the classNode.
- getBugPattern
Get the BugPattern.
- getPrimaryClass
Get the primary class annotation, which indicates where the bug occurs.
- addCalledMethod
Add a method annotation for the method which is called by given instruction.
- addClassAndMethod
Add class and method annotations for given method.
- addField
Add a field annotation.
- addSourceLine
Add source line annotation for given Location in a method.
- addString
Add a String annotation.