Uses of Class
edu.umd.cs.findbugs.MethodAnnotation
Packages that use MethodAnnotation
Package
Description
Main package for the FindBugs application - contains the engine class
(
FindBugs
), the object model classes for bug
instances (BugInstance
,
BugAnnotation
), and other miscellany.A bytecode analysis framework for BCEL, providing CFG construction, generic
dataflow analysis, and a variety of specific dataflow analyses.
A high-level abstraction layer for codebases, classes, and components of
classes (methods, fields, instructions, etc.).
Eventually, all model classes (BugInstance, BugCollection, etc.) should go in
this package.
-
Uses of MethodAnnotation in edu.umd.cs.findbugs
Fields in edu.umd.cs.findbugs declared as MethodAnnotationModifier and TypeFieldDescriptionprivate final MethodAnnotation
MethodWarningSuppressor.method
(package private) final MethodAnnotation
ParameterWarningSuppressor.method
Methods in edu.umd.cs.findbugs that return MethodAnnotationModifier and TypeMethodDescriptionprivate MethodAnnotation
SloppyBugComparator.convertMethod
(MethodAnnotation methodAnnotation) static MethodAnnotation
MethodAnnotation.fromCalledMethod
(DismantleBytecode visitor) Factory method to create a MethodAnnotation from a method called by the instruction the given visitor is currently visiting.static MethodAnnotation
MethodAnnotation.fromCalledMethod
(String className, String methodName, String methodSig, boolean isStatic) Create a MethodAnnotation from a method that is not directly accessible.static MethodAnnotation
MethodAnnotation.fromForeignMethod
(String className, String methodName, String methodSig, boolean isStatic) Factory method to create the MethodAnnotation from the classname, method name, signature, etc.static MethodAnnotation
MethodAnnotation.fromForeignMethod
(String className, String methodName, String methodSig, int accessFlags) Factory method to create the MethodAnnotation from the classname, method name, signature, etc.static MethodAnnotation
MethodAnnotation.fromMethodDescriptor
(MethodDescriptor methodDescriptor) Create a MethodAnnotation from a MethodDescriptor.static MethodAnnotation
MethodAnnotation.fromVisitedMethod
(PreorderVisitor visitor) Factory method to create a MethodAnnotation from the method the given visitor is currently visiting.static MethodAnnotation
MethodAnnotation.fromXMethod
(XMethod xmethod) Create a MethodAnnotation from an XMethod.ProgramPoint.getMethodAnnotation()
BugInstance.getPrimaryMethod()
Get the primary method annotation, which indicates where the bug occurs.(package private) static MethodAnnotation
Obfuscate.obfuscate
(MethodAnnotation m) Methods in edu.umd.cs.findbugs with parameters of type MethodAnnotationModifier and TypeMethodDescriptionBugInstance.addClassAndMethod
(MethodAnnotation methodAnnotation) Add class and method annotations for given method.BugInstance.addMethod
(MethodAnnotation methodAnnotation) Add a method annotation.private void
BugInstance.addSourceLinesForMethod
(MethodAnnotation methodAnnotation, SourceLineAnnotation sourceLineAnnotation) int
FuzzyBugComparator.compareMethods
(BugCollection lhsCollection, BugCollection rhsCollection, MethodAnnotation lhsMethod, MethodAnnotation rhsMethod) private int
SloppyBugComparator.compareMethodsAllowingNull
(MethodAnnotation lhs, MethodAnnotation rhs) private MethodAnnotation
SloppyBugComparator.convertMethod
(MethodAnnotation methodAnnotation) (package private) static MethodAnnotation
Obfuscate.obfuscate
(MethodAnnotation m) void
BugAnnotationVisitor.visitMethodAnnotation
(MethodAnnotation methodAnnotation) Constructors in edu.umd.cs.findbugs with parameters of type MethodAnnotationModifierConstructorDescriptionMethodWarningSuppressor
(String bugPattern, SuppressMatchType matchType, ClassAnnotation clazz, MethodAnnotation method, boolean syntheticMethod) ParameterWarningSuppressor
(String bugPattern, SuppressMatchType matchType, ClassAnnotation clazz, MethodAnnotation method, int register) -
Uses of MethodAnnotation in edu.umd.cs.findbugs.ba
Methods in edu.umd.cs.findbugs.ba with parameters of type MethodAnnotation -
Uses of MethodAnnotation in edu.umd.cs.findbugs.classfile
Methods in edu.umd.cs.findbugs.classfile with parameters of type MethodAnnotation -
Uses of MethodAnnotation in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect declared as MethodAnnotationModifier and TypeFieldDescription(package private) MethodAnnotation
CloneIdiom.cloneMethodAnnotation
(package private) MethodAnnotation
FindHEmismatch.compareToMethod
(package private) MethodAnnotation
FindHEmismatch.compareToObjectMethod
(package private) MethodAnnotation
FindHEmismatch.compareToSelfMethod
(package private) MethodAnnotation
FindHEmismatch.equalsMethod
(package private) MethodAnnotation
FindHEmismatch.equalsOtherMethod
(package private) MethodAnnotation
FindHEmismatch.hashCodeMethod
Fields in edu.umd.cs.findbugs.detect with type parameters of type MethodAnnotationModifier and TypeFieldDescriptionprivate HashSet
<MethodAnnotation> FindUncalledPrivateMethods.calledMethods
private HashSet
<MethodAnnotation> FindUncalledPrivateMethods.definedPrivateMethods
private final HashMap
<String, MethodAnnotation> FindUnsyncGet.getMethods
private final HashMap
<String, MethodAnnotation> FindUnsyncGet.setMethods
Methods in edu.umd.cs.findbugs.detect that return MethodAnnotationModifier and TypeMethodDescriptionFindRefComparison.getMethodCalledAnnotation
(org.apache.bcel.generic.ConstantPoolGen cpg, org.apache.bcel.generic.InvokeInstruction inv) -
Uses of MethodAnnotation in edu.umd.cs.findbugs.model
Methods in edu.umd.cs.findbugs.model that return MethodAnnotationModifier and TypeMethodDescriptionstatic MethodAnnotation
ClassNameRewriterUtil.convertMethodAnnotation
(ClassNameRewriter classNameRewriter, MethodAnnotation annotation) Rewrite a MethodAnnotation to update the class name, and any class names mentioned in the method signature.Methods in edu.umd.cs.findbugs.model with parameters of type MethodAnnotationModifier and TypeMethodDescriptionstatic MethodAnnotation
ClassNameRewriterUtil.convertMethodAnnotation
(ClassNameRewriter classNameRewriter, MethodAnnotation annotation) Rewrite a MethodAnnotation to update the class name, and any class names mentioned in the method signature.