| 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. database objects)
are satisfied.
|
| 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.
|
| 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 String |
PackageMemberAnnotation.className |
| Modifier and Type | Method and Description |
|---|---|
static String |
Lookup.findSuperImplementor(String clazz,
String name,
String signature,
BugReporter bugReporter) |
String |
SourceLineAnnotation.getClassName() |
String |
PackageMemberAnnotation.getClassName()
Get the dotted class name.
|
String |
DetectorFactory.getFullName()
Get the full name of the detector.
|
static String |
AbstractBugReporter.getMissingClassName(ClassNotFoundException ex) |
String |
PackageMemberAnnotation.getPackageName()
Get the package name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectStats.addClass(String className,
String sourceFile,
boolean isInterface,
int size)
Report that a class has been analyzed.
|
void |
ProjectStats.addClass(String className,
String sourceFile,
boolean isInterface,
int size,
boolean updatePackageStats)
Report that a class has been analyzed.
|
BugInstance |
BugInstance.addTypeOfNamedClass(String typeName) |
static SourceLineAnnotation |
SourceLineAnnotation.createReallyUnknown(String className)
Factory method to create an unknown source line annotation.
|
static SourceLineAnnotation |
SourceLineAnnotation.createUnknown(String className)
Factory method to create an unknown source line annotation.
|
static SourceLineAnnotation |
SourceLineAnnotation.createUnknown(String className,
String sourceFile)
Factory method to create an unknown source line annotation.
|
static SourceLineAnnotation |
SourceLineAnnotation.createUnknown(String className,
String sourceFile,
int startBytecode,
int endBytecode)
Factory method to create an unknown source line annotation.
|
static double |
DeepSubtypeAnalysis.deepInstanceOf(String x,
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(String x,
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(String x,
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(String x,
String y)
Given two JavaClasses, try to estimate the probability that an reference
of type x is also an instance of type y.
|
static String |
Lookup.findSuperImplementor(String clazz,
String name,
String signature,
BugReporter bugReporter) |
static SourceLineAnnotation |
SourceLineAnnotation.forEntireMethod(String className,
String sourceFile,
org.apache.bcel.classfile.LineNumberTable lineNumberTable,
int codeSize)
Create a SourceLineAnnotation covering an entire method.
|
static FieldAnnotation |
FieldAnnotation.fromBCELField(String className,
org.apache.bcel.classfile.Field field)
Factory method.
|
PackageStats.ClassStats |
ProjectStats.getClassStats(String className)
Report that a class has been analyzed.
|
TreeSet<String> |
ProjectPackagePrefixes.getProjects(String className) |
static SourceLineAnnotation |
ClassAnnotation.getSourceLinesForClass(String className,
String sourceFileName) |
static String |
Obfuscate.hashClass(String className) |
static double |
DeepSubtypeAnalysis.isDeepSerializable(String refSig) |
String |
MethodAnnotation.stripJavaLang(String className) |
| Constructor and Description |
|---|
ClassAnnotation(String className)
Constructor.
|
ClassAnnotation(String className,
String sourceFileName) |
FieldAnnotation(String className,
String fieldName,
String fieldSig,
boolean isStatic)
Constructor.
|
FieldAnnotation(String className,
String fieldName,
String fieldSig,
int accessFlags)
Constructor.
|
FieldAnnotation(String className,
String fieldName,
String fieldSig,
String fieldSourceSig,
boolean isStatic) |
MethodAnnotation(String className,
String methodName,
String methodSig,
boolean isStatic)
Constructor.
|
PackageMemberAnnotation(String className,
String description)
Constructor.
|
PackageMemberAnnotation(String className,
String description,
String sourceFileName)
Constructor.
|
SourceLineAnnotation(String className,
String sourceFile,
int startLine,
int endLine,
int startBytecode,
int endBytecode)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
String |
AbstractClassMember.getClassName() |
static String |
ClassNotFoundExceptionParser.getMissingClassName(ClassNotFoundException ex)
Get the name of the missing class from a ClassNotFoundException.
|
String |
ClassMember.getPackageName()
Get the (dotted) name of the package in which the entity is defined.
|
String |
AbstractClassMember.getPackageName() |
| Modifier and Type | Method and Description |
|---|---|
void |
INullnessAnnotationDatabase.addDefaultAnnotation(AnnotationDatabase.Target target,
String c,
NullnessAnnotation n)
Add a default annotation to the database.
|
void |
JCIPAnnotationDatabase.addEntryForClass(String dottedClassName,
String annotationClass,
org.apache.bcel.classfile.ElementValue value) |
void |
INullnessAnnotationDatabase.addFieldAnnotation(String cName,
String mName,
String mSig,
boolean isStatic,
NullnessAnnotation annotation)
Add a field annotation to the database.
|
protected void |
AnnotationDatabase.addMethodAnnotation(String cName,
String mName,
String mSig,
boolean isStatic,
AnnotationEnum annotation) |
void |
INullnessAnnotationDatabase.addMethodAnnotation(String cName,
String mName,
String mSig,
boolean isStatic,
NullnessAnnotation annotation)
Add a method annotation to the database.
|
void |
INullnessAnnotationDatabase.addMethodParameterAnnotation(String cName,
String mName,
String mSig,
boolean isStatic,
int param,
NullnessAnnotation annotation)
Add a method parameter annotation to the database.
|
static void |
XFactory.assertDottedClassName(String className) |
static XField |
XFactory.createXField(String className,
String fieldName,
String fieldSignature,
boolean isStatic)
Create an XField object
|
static XMethod |
XFactory.createXMethod(String className,
String methodName,
String methodSig,
boolean isStatic) |
org.apache.bcel.classfile.ElementValue |
JCIPAnnotationDatabase.getClassAnnotation(String dottedClassName,
String annotationClass) |
static org.apache.bcel.generic.ObjectType |
ObjectTypeFactory.getInstance(String s) |
boolean |
JCIPAnnotationDatabase.hasClassAnnotation(String dottedClassName,
String annotationClass) |
boolean |
AnalysisContext.isApplicationClass(String className)
Return whether or not the given class is an application class.
|
static boolean |
Hierarchy.isSubtype(String clsName,
String possibleSupertypeClassName)
Determine whether one class (or reference type) is a subtype of another.
|
static boolean |
Hierarchy.isSubtype(String clsName,
String possibleSupertypeClassName)
Determine whether one class (or reference type) is a subtype of another.
|
org.apache.bcel.classfile.JavaClass |
AnalysisContext.lookupClass(String className)
Lookup a class.
|
String |
AnalysisContext.lookupSourceFile(String dottedClassName)
Lookup a class's source file
|
static NullnessAnnotation |
NullnessAnnotation.Parser.parse(String className) |
| Constructor and Description |
|---|
AbstractClassMember(String className,
String name,
String signature,
int accessFlags) |
AbstractField(String className,
String fieldName,
String fieldSig,
int accessFlags) |
AbstractMethod(String className,
String methodName,
String methodSig,
int accessFlags) |
OpcodeStackScanner.UnreachableCodeException(String className,
String methodName,
String methodSignature,
int pc) |
UnresolvedXField(String className,
String methodName,
String methodSig,
int accessFlags) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Subtypes2.instanceOf(ClassDescriptor subDescriptor,
String dottedSupertype) |
static boolean |
Subtypes2.instanceOf(org.apache.bcel.classfile.JavaClass subtype,
String dottedSupertype) |
static boolean |
Subtypes2.instanceOf(String dottedSubtype,
String dottedSupertype) |
static boolean |
Subtypes2.instanceOf(String dottedSubtype,
String dottedSupertype) |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeQualifierNullnessAnnotationDatabase.addMethodParameterAnnotation(String cName,
String mName,
String sig,
boolean isStatic,
int param,
NullnessAnnotation annotation) |
| Modifier and Type | Method and Description |
|---|---|
String |
Obligation.getClassName() |
| Modifier and Type | Method and Description |
|---|---|
Obligation |
ObligationFactory.addObligation(String className) |
Obligation |
ObligationFactory.getObligationByName(String className) |
| Constructor and Description |
|---|
Obligation(String className,
int id) |
| Modifier and Type | Method and Description |
|---|---|
String |
ValueNumberFactory.getClassName(ValueNumber v) |
String |
ValueNumberDataflow.getClassName(ValueNumber v) |
String |
ValueNumberAnalysis.getClassName(ValueNumber v) |
| Modifier and Type | Method and Description |
|---|---|
ValueNumber |
ValueNumberFactory.getClassObjectValue(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(String className) |
| Modifier and Type | Method and Description |
|---|---|
String |
ClassDescriptor.getDottedClassName()
Get the name of the class in dotted format.
|
String |
ClassDescriptor.getPackageName()
Get the name of the package in dotted format.
|
String |
ClassDescriptor.toDottedClassName()
Get the name of the class in dotted format.
|
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
DescriptorFactory.getClassDescriptorForDottedClassName(String dottedClassName)
Get a ClassDescriptor for a class name in dotted format.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MethodInfo.getClassName() |
String |
FieldInfo.getClassName() |
String |
MethodInfo.getPackageName() |
String |
FieldInfo.getPackageName() |
| Modifier and Type | Method and Description |
|---|---|
String |
UselessSubclassMethod.getPackage(String classname) |
static boolean |
UnreadFields.isInjectionAttribute(String annotationClass) |
boolean |
UselessSubclassMethod.samePackage(String classname1,
String classname2) |
boolean |
UselessSubclassMethod.samePackage(String classname1,
String classname2) |
void |
BuildCheckReturnAnnotationDatabase.visitAnnotation(String annotationClassName,
Map<String,org.apache.bcel.classfile.ElementValue> map,
boolean runtimeVisible) |
| Constructor and Description |
|---|
FindRefComparison.FinalConstant(String type,
XField field) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ViewFilter.matchedPrefixes(String[] classSearchStrings,
String className)
Deprecated.
Use
ClassName.matchedPrefixes(String[],String)
instead |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExecutionPlan.isActive(String detectorClass) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ClassName.assertIsDotted(String className) |
static String |
ClassName.extractPackageName(String className)
extract the package name from a dotted class name.
|
static String |
ClassName.toDottedClassName(String className)
Convert class name to dotted format.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ClassName.assertIsDotted(String className) |
static String |
ClassName.extractPackageName(String className)
extract the package name from a dotted class name.
|
static String |
ClassName.extractSimpleName(String className) |
static boolean |
ClassName.matchedPrefixes(String[] classSearchStrings,
String className) |
| Modifier and Type | Method and Description |
|---|---|
String |
PreorderVisitor.getDottedClassName()
Get the dotted class name for the current or most recently visited class
|
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(String annotationClass,
Map<String,org.apache.bcel.classfile.ElementValue> map,
boolean runtimeVisible)
Visit annotation on a class, field or method
|
void |
AnnotationVisitor.visitParameterAnnotation(int p,
String annotationClass,
Map<String,org.apache.bcel.classfile.ElementValue> map,
boolean runtimeVisible)
Visit annotation on a method parameter
|
Copyright © 2003–2015. All rights reserved.