Uses of Class
edu.umd.cs.findbugs.MethodAnnotation
-
Packages that use MethodAnnotation Package Description edu.umd.cs.findbugs Main package for the FindBugs application - contains the engine class (FindBugs), the object model classes for bug instances (BugInstance,BugAnnotation), and other miscellany.edu.umd.cs.findbugs.ba A bytecode analysis framework for BCEL, providing CFG construction, generic dataflow analysis, and a variety of specific dataflow analyses.edu.umd.cs.findbugs.classfile A high-level abstraction layer for codebases, classes, and components of classes (methods, fields, instructions, etc.).edu.umd.cs.findbugs.detect edu.umd.cs.findbugs.model 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 MethodAnnotation Modifier and Type Field Description private MethodAnnotationMethodWarningSuppressor. method(package private) MethodAnnotationParameterWarningSuppressor. methodMethods in edu.umd.cs.findbugs that return MethodAnnotation Modifier and Type Method Description private MethodAnnotationSloppyBugComparator. convertMethod(MethodAnnotation methodAnnotation)static MethodAnnotationMethodAnnotation. fromCalledMethod(DismantleBytecode visitor)Factory method to create a MethodAnnotation from a method called by the instruction the given visitor is currently visiting.static MethodAnnotationMethodAnnotation. fromCalledMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)Create a MethodAnnotation from a method that is not directly accessible.static MethodAnnotationMethodAnnotation. fromForeignMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)Factory method to create the MethodAnnotation from the classname, method name, signature, etc.static MethodAnnotationMethodAnnotation. fromForeignMethod(java.lang.String className, java.lang.String methodName, java.lang.String methodSig, int accessFlags)Factory method to create the MethodAnnotation from the classname, method name, signature, etc.static MethodAnnotationMethodAnnotation. fromMethodDescriptor(MethodDescriptor methodDescriptor)Create a MethodAnnotation from a MethodDescriptor.static MethodAnnotationMethodAnnotation. fromVisitedMethod(PreorderVisitor visitor)Factory method to create a MethodAnnotation from the method the given visitor is currently visiting.static MethodAnnotationMethodAnnotation. fromXMethod(XMethod xmethod)Create a MethodAnnotation from an XMethod.MethodAnnotationProgramPoint. getMethodAnnotation()MethodAnnotationBugInstance. getPrimaryMethod()Get the primary method annotation, which indicates where the bug occurs.(package private) static MethodAnnotationObfuscate. obfuscate(MethodAnnotation m)Methods in edu.umd.cs.findbugs with parameters of type MethodAnnotation Modifier and Type Method Description BugInstanceBugInstance. addClassAndMethod(MethodAnnotation methodAnnotation)Add class and method annotations for given method.BugInstanceBugInstance. addMethod(MethodAnnotation methodAnnotation)Add a method annotation.private voidBugInstance. addSourceLinesForMethod(MethodAnnotation methodAnnotation, SourceLineAnnotation sourceLineAnnotation)intFuzzyBugComparator. compareMethods(BugCollection lhsCollection, BugCollection rhsCollection, MethodAnnotation lhsMethod, MethodAnnotation rhsMethod)private intSloppyBugComparator. compareMethodsAllowingNull(MethodAnnotation lhs, MethodAnnotation rhs)private MethodAnnotationSloppyBugComparator. convertMethod(MethodAnnotation methodAnnotation)(package private) static MethodAnnotationObfuscate. obfuscate(MethodAnnotation m)voidBugAnnotationVisitor. visitMethodAnnotation(MethodAnnotation methodAnnotation)Constructors in edu.umd.cs.findbugs with parameters of type MethodAnnotation Constructor Description MethodWarningSuppressor(java.lang.String bugPattern, SuppressMatchType matchType, ClassAnnotation clazz, MethodAnnotation method, boolean userGeneratedClass, boolean userGeneratedMethod)ParameterWarningSuppressor(java.lang.String bugPattern, SuppressMatchType matchType, ClassAnnotation clazz, MethodAnnotation method, int register, boolean userGeneratedClass) -
Uses of MethodAnnotation in edu.umd.cs.findbugs.ba
Methods in edu.umd.cs.findbugs.ba with parameters of type MethodAnnotation Modifier and Type Method Description static XMethodXFactory. createXMethod(MethodAnnotation ma) -
Uses of MethodAnnotation in edu.umd.cs.findbugs.classfile
Methods in edu.umd.cs.findbugs.classfile with parameters of type MethodAnnotation Modifier and Type Method Description MethodDescriptorDescriptorFactory. getMethodDescriptor(MethodAnnotation ma) -
Uses of MethodAnnotation in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect declared as MethodAnnotation Modifier and Type Field Description (package private) MethodAnnotationCloneIdiom. cloneMethodAnnotation(package private) MethodAnnotationFindHEmismatch. compareToMethod(package private) MethodAnnotationFindHEmismatch. compareToObjectMethod(package private) MethodAnnotationFindHEmismatch. compareToSelfMethod(package private) MethodAnnotationFindHEmismatch. equalsMethod(package private) MethodAnnotationFindHEmismatch. equalsOtherMethod(package private) MethodAnnotationFindHEmismatch. hashCodeMethodFields in edu.umd.cs.findbugs.detect with type parameters of type MethodAnnotation Modifier and Type Field Description private java.util.HashSet<MethodAnnotation>FindUncalledPrivateMethods. calledMethodsprivate java.util.HashSet<MethodAnnotation>FindUncalledPrivateMethods. definedPrivateMethodsprivate java.util.HashMap<java.lang.String,MethodAnnotation>FindUnsyncGet. getMethodsprivate java.util.HashMap<java.lang.String,MethodAnnotation>FindUnsyncGet. setMethodsMethods in edu.umd.cs.findbugs.detect that return MethodAnnotation Modifier and Type Method Description MethodAnnotationFindRefComparison. 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 MethodAnnotation Modifier and Type Method Description static MethodAnnotationClassNameRewriterUtil. 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 MethodAnnotation Modifier and Type Method Description static MethodAnnotationClassNameRewriterUtil. convertMethodAnnotation(ClassNameRewriter classNameRewriter, MethodAnnotation annotation)Rewrite a MethodAnnotation to update the class name, and any class names mentioned in the method signature.
-