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.ba.ch | |
edu.umd.cs.findbugs.ba.npe | |
edu.umd.cs.findbugs.ba.obl |
Implementation of dataflow analysis for checking whether
obligations to close streams and other resources (e.g.
|
edu.umd.cs.findbugs.ba.vna | |
edu.umd.cs.findbugs.bcel | |
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.classfile.analysis |
Classes of objects that are the result of executing an analysis
engine on a class or method. The classes in this particular package are
those that are independent of any particular bytecode-analysis framework
(e.g., BCEL or ASM). Two important classes in this package are
ClassData, which represents the raw data of a class, and ClassInfo,
which represents symbolic information parsed from the class data.
|
edu.umd.cs.findbugs.detect | |
edu.umd.cs.findbugs.gui2 | |
edu.umd.cs.findbugs.plan | |
edu.umd.cs.findbugs.util | |
edu.umd.cs.findbugs.visitclass |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
PackageMemberAnnotation.className |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Lookup.findSuperImplementor(java.lang.String clazz,
java.lang.String name,
java.lang.String signature,
BugReporter bugReporter) |
java.lang.String |
SourceLineAnnotation.getClassName() |
java.lang.String |
PackageMemberAnnotation.getClassName()
Get the dotted class name.
|
java.lang.String |
DetectorFactory.getFullName()
Get the full name of the detector.
|
static java.lang.String |
AbstractBugReporter.getMissingClassName(java.lang.ClassNotFoundException ex) |
java.lang.String |
PackageMemberAnnotation.getPackageName()
Get the package name.
|
Modifier and Type | Method and Description |
---|---|
void |
ProjectStats.addClass(java.lang.String className,
java.lang.String sourceFile,
boolean isInterface,
int size)
Report that a class has been analyzed.
|
void |
ProjectStats.addClass(java.lang.String className,
java.lang.String sourceFile,
boolean isInterface,
int size,
boolean updatePackageStats)
Report that a class has been analyzed.
|
BugInstance |
BugInstance.addTypeOfNamedClass(java.lang.String typeName) |
static SourceLineAnnotation |
SourceLineAnnotation.createReallyUnknown(java.lang.String className)
Factory method to create an unknown source line annotation.
|
static SourceLineAnnotation |
SourceLineAnnotation.createUnknown(java.lang.String className)
Factory method to create an unknown source line annotation.
|
static SourceLineAnnotation |
SourceLineAnnotation.createUnknown(java.lang.String className,
java.lang.String sourceFile)
Factory method to create an unknown source line annotation.
|
static SourceLineAnnotation |
SourceLineAnnotation.createUnknown(java.lang.String className,
java.lang.String sourceFile,
int startBytecode,
int endBytecode)
Factory method to create an unknown source line annotation.
|
static double |
DeepSubtypeAnalysis.deepInstanceOf(java.lang.String x,
java.lang.String y)
Given two JavaClasses, try to estimate the probability that an reference
of type x is also an instance of type y.
|
static double |
DeepSubtypeAnalysis.deepInstanceOf(java.lang.String x,
java.lang.String y)
Given two JavaClasses, try to estimate the probability that an reference
of type x is also an instance of type y.
|
static double |
Analyze.deepInstanceOf(java.lang.String x,
java.lang.String y)
Given two JavaClasses, try to estimate the probability that an reference
of type x is also an instance of type y.
|
static double |
Analyze.deepInstanceOf(java.lang.String x,
java.lang.String y)
Given two JavaClasses, try to estimate the probability that an reference
of type x is also an instance of type y.
|
static java.lang.String |
Lookup.findSuperImplementor(java.lang.String clazz,
java.lang.String name,
java.lang.String signature,
BugReporter bugReporter) |
static SourceLineAnnotation |
SourceLineAnnotation.forEntireMethod(java.lang.String className,
java.lang.String sourceFile,
org.apache.bcel.classfile.LineNumberTable lineNumberTable,
int codeSize)
Create a SourceLineAnnotation covering an entire method.
|
static FieldAnnotation |
FieldAnnotation.fromBCELField(java.lang.String className,
org.apache.bcel.classfile.Field field)
Factory method.
|
PackageStats.ClassStats |
ProjectStats.getClassStats(java.lang.String className)
Report that a class has been analyzed.
|
java.util.TreeSet<java.lang.String> |
ProjectPackagePrefixes.getProjects(java.lang.String className) |
static SourceLineAnnotation |
ClassAnnotation.getSourceLinesForClass(java.lang.String className,
java.lang.String sourceFileName) |
static java.lang.String |
Obfuscate.hashClass(java.lang.String className) |
static double |
DeepSubtypeAnalysis.isDeepSerializable(java.lang.String refSig) |
java.lang.String |
MethodAnnotation.stripJavaLang(java.lang.String className) |
Constructor and Description |
---|
ClassAnnotation(java.lang.String className)
Constructor.
|
ClassAnnotation(java.lang.String className,
java.lang.String sourceFileName) |
FieldAnnotation(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSig,
boolean isStatic)
Constructor.
|
FieldAnnotation(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSig,
int accessFlags)
Constructor.
|
FieldAnnotation(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSig,
java.lang.String fieldSourceSig,
boolean isStatic) |
MethodAnnotation(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic)
Constructor.
|
PackageMemberAnnotation(java.lang.String className,
java.lang.String description)
Constructor.
|
PackageMemberAnnotation(java.lang.String className,
java.lang.String description,
java.lang.String sourceFileName)
Constructor.
|
SourceLineAnnotation(java.lang.String className,
java.lang.String sourceFile,
int startLine,
int endLine,
int startBytecode,
int endBytecode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ClassMember.getClassName()
Get the full (dotted) name of the class (if the object represents a
class) or the class the entity is defined in (if a field or method).
|
java.lang.String |
AbstractClassMember.getClassName() |
static java.lang.String |
ClassNotFoundExceptionParser.getMissingClassName(java.lang.ClassNotFoundException ex)
Get the name of the missing class from a ClassNotFoundException.
|
java.lang.String |
ClassMember.getPackageName()
Get the (dotted) name of the package in which the entity is defined.
|
java.lang.String |
AbstractClassMember.getPackageName() |
Modifier and Type | Method and Description |
---|---|
void |
INullnessAnnotationDatabase.addDefaultAnnotation(AnnotationDatabase.Target target,
java.lang.String c,
NullnessAnnotation n)
Add a default annotation to the database.
|
void |
JCIPAnnotationDatabase.addEntryForClass(java.lang.String dottedClassName,
java.lang.String annotationClass,
org.apache.bcel.classfile.ElementValue value) |
void |
INullnessAnnotationDatabase.addFieldAnnotation(java.lang.String cName,
java.lang.String mName,
java.lang.String mSig,
boolean isStatic,
NullnessAnnotation annotation)
Add a field annotation to the database.
|
protected void |
AnnotationDatabase.addMethodAnnotation(java.lang.String cName,
java.lang.String mName,
java.lang.String mSig,
boolean isStatic,
AnnotationEnum annotation) |
void |
INullnessAnnotationDatabase.addMethodAnnotation(java.lang.String cName,
java.lang.String mName,
java.lang.String mSig,
boolean isStatic,
NullnessAnnotation annotation)
Add a method annotation to the database.
|
void |
INullnessAnnotationDatabase.addMethodParameterAnnotation(java.lang.String cName,
java.lang.String mName,
java.lang.String mSig,
boolean isStatic,
int param,
NullnessAnnotation annotation)
Add a method parameter annotation to the database.
|
static void |
XFactory.assertDottedClassName(java.lang.String className) |
static XField |
XFactory.createXField(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSignature,
boolean isStatic)
Create an XField object
|
static XMethod |
XFactory.createXMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic) |
org.apache.bcel.classfile.ElementValue |
JCIPAnnotationDatabase.getClassAnnotation(java.lang.String dottedClassName,
java.lang.String annotationClass) |
static org.apache.bcel.generic.ObjectType |
ObjectTypeFactory.getInstance(java.lang.String s) |
boolean |
JCIPAnnotationDatabase.hasClassAnnotation(java.lang.String dottedClassName,
java.lang.String annotationClass) |
boolean |
AnalysisContext.isApplicationClass(java.lang.String className)
Return whether or not the given class is an application class.
|
static boolean |
Hierarchy.isSubtype(java.lang.String clsName,
java.lang.String possibleSupertypeClassName)
Determine whether one class (or reference type) is a subtype of another.
|
static boolean |
Hierarchy.isSubtype(java.lang.String clsName,
java.lang.String possibleSupertypeClassName)
Determine whether one class (or reference type) is a subtype of another.
|
org.apache.bcel.classfile.JavaClass |
AnalysisContext.lookupClass(java.lang.String className)
Lookup a class.
|
java.lang.String |
AnalysisContext.lookupSourceFile(java.lang.String dottedClassName)
Lookup a class's source file
|
static NullnessAnnotation |
NullnessAnnotation.Parser.parse(java.lang.String className) |
Constructor and Description |
---|
AbstractClassMember(java.lang.String className,
java.lang.String name,
java.lang.String signature,
int accessFlags) |
AbstractField(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSig,
int accessFlags) |
AbstractMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
int accessFlags) |
OpcodeStackScanner.UnreachableCodeException(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSignature,
int pc) |
UnresolvedXField(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
int accessFlags) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Subtypes2.instanceOf(ClassDescriptor subDescriptor,
java.lang.String dottedSupertype) |
static boolean |
Subtypes2.instanceOf(org.apache.bcel.classfile.JavaClass subtype,
java.lang.String dottedSupertype) |
static boolean |
Subtypes2.instanceOf(java.lang.String dottedSubtype,
java.lang.String dottedSupertype) |
static boolean |
Subtypes2.instanceOf(java.lang.String dottedSubtype,
java.lang.String dottedSupertype) |
Modifier and Type | Method and Description |
---|---|
void |
TypeQualifierNullnessAnnotationDatabase.addMethodParameterAnnotation(java.lang.String cName,
java.lang.String mName,
java.lang.String sig,
boolean isStatic,
int param,
NullnessAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Obligation.getClassName() |
Modifier and Type | Method and Description |
---|---|
Obligation |
ObligationFactory.addObligation(java.lang.String className) |
Obligation |
ObligationFactory.getObligationByName(java.lang.String className) |
Constructor and Description |
---|
Obligation(java.lang.String className,
int id) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ValueNumberFactory.getClassName(ValueNumber v) |
java.lang.String |
ValueNumberDataflow.getClassName(ValueNumber v) |
java.lang.String |
ValueNumberAnalysis.getClassName(ValueNumber v) |
Modifier and Type | Method and Description |
---|---|
ValueNumber |
ValueNumberFactory.getClassObjectValue(java.lang.String className)
Get the ValueNumber for given class's Class object.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.bcel.generic.ObjectType |
BCELUtil.getObjectTypeInstance(java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ClassDescriptor.getDottedClassName()
Get the name of the class in dotted format.
|
java.lang.String |
ClassDescriptor.getPackageName()
Get the name of the package in dotted format.
|
java.lang.String |
ClassDescriptor.toDottedClassName()
Get the name of the class in dotted format.
|
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
DescriptorFactory.getClassDescriptorForDottedClassName(java.lang.String dottedClassName)
Get a ClassDescriptor for a class name in dotted format.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MethodInfo.getClassName() |
java.lang.String |
FieldInfo.getClassName() |
java.lang.String |
MethodInfo.getPackageName() |
java.lang.String |
FieldInfo.getPackageName() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
UselessSubclassMethod.getPackage(java.lang.String classname) |
static boolean |
UnreadFields.isInjectionAttribute(java.lang.String annotationClass) |
boolean |
UselessSubclassMethod.samePackage(java.lang.String classname1,
java.lang.String classname2) |
boolean |
UselessSubclassMethod.samePackage(java.lang.String classname1,
java.lang.String classname2) |
void |
BuildCheckReturnAnnotationDatabase.visitAnnotation(java.lang.String annotationClassName,
java.util.Map<java.lang.String,org.apache.bcel.classfile.ElementValue> map,
boolean runtimeVisible) |
Constructor and Description |
---|
FindRefComparison.FinalConstant(java.lang.String type,
XField field) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ViewFilter.matchedPrefixes(java.lang.String[] classSearchStrings,
java.lang.String className)
Deprecated.
Use
ClassName.matchedPrefixes(String[],String)
instead |
Modifier and Type | Method and Description |
---|---|
boolean |
ExecutionPlan.isActive(java.lang.String detectorClass) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ClassName.assertIsDotted(java.lang.String className) |
static java.lang.String |
ClassName.extractPackageName(java.lang.String className)
extract the package name from a dotted class name.
|
static java.lang.String |
ClassName.toDottedClassName(java.lang.String className)
Convert class name to dotted format.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ClassName.assertIsDotted(java.lang.String className) |
static java.lang.String |
ClassName.extractPackageName(java.lang.String className)
extract the package name from a dotted class name.
|
static java.lang.String |
ClassName.extractSimpleName(java.lang.String className) |
static boolean |
ClassName.matchedPrefixes(java.lang.String[] classSearchStrings,
java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
PreorderVisitor.getDottedClassName()
Get the dotted class name for the current or most recently visited class
|
java.lang.String |
PreorderVisitor.getDottedSuperclassName()
Get the dotted superclass name for the current or most recently visited
class
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationVisitor.visitAnnotation(java.lang.String annotationClass,
java.util.Map<java.lang.String,org.apache.bcel.classfile.ElementValue> map,
boolean runtimeVisible)
Visit annotation on a class, field or method
|
void |
AnnotationVisitor.visitParameterAnnotation(int p,
java.lang.String annotationClass,
java.util.Map<java.lang.String,org.apache.bcel.classfile.ElementValue> map,
boolean runtimeVisible)
Visit annotation on a method parameter
|
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.