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.asm | |
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.jsr305 |
Support for analyzing code containing JSR-305 type qualifier annotations.
|
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.type | |
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.classfile.engine |
Analysis engine classes to produce the analyses defined
in the edu.umd.cs.findbugs.classfile.analysis package.
|
edu.umd.cs.findbugs.classfile.engine.asm |
Support for analyses based on the ASM bytecode framework.
|
edu.umd.cs.findbugs.classfile.engine.bcel |
Support for analyses based on the BCEL bytecode framework.
|
edu.umd.cs.findbugs.classfile.impl |
Implementations of the interfaces in the edu.umd.cs.findbugs.classfile
package: the core classes of the FindBugs classfile/classpath support
layer.
|
edu.umd.cs.findbugs.detect | |
edu.umd.cs.findbugs.util | |
edu.umd.cs.findbugs.visitclass |
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
PackageMemberAnnotation.getClassDescriptor()
Get the class descriptor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ClassDescriptor> |
FindBugs2.sortByCallGraph(java.util.Collection<ClassDescriptor> classList,
TopologicalSort.OutEdges<ClassDescriptor> outEdges) |
Modifier and Type | Method and Description |
---|---|
BugInstance |
BugInstance.addClass(ClassDescriptor classDescriptor)
Add a class annotation.
|
BugInstance |
BugInstance.addEqualsMethodUsed(ClassDescriptor expectedClass) |
BugInstance |
BugInstance.addType(ClassDescriptor c) |
static ClassAnnotation |
ClassAnnotation.fromClassDescriptor(ClassDescriptor classDescriptor)
Factory method to create a ClassAnnotation from a ClassDescriptor.
|
static XClass |
Lookup.getXClass(ClassDescriptor c) |
void |
XDocsBugReporter.observeClass(ClassDescriptor classDescriptor) |
void |
SortingBugReporter.observeClass(ClassDescriptor classDescriptor) |
void |
PrintingBugReporter.observeClass(ClassDescriptor classDescriptor) |
void |
EmacsBugReporter.observeClass(ClassDescriptor classDescriptor) |
void |
DelegatingBugReporter.observeClass(ClassDescriptor classDescriptor) |
void |
BugCollectionBugReporter.observeClass(ClassDescriptor classDescriptor) |
void |
DelegatingBugReporter.reportMissingClass(ClassDescriptor classDescriptor) |
void |
AbstractBugReporter.reportMissingClass(ClassDescriptor classDescriptor) |
void |
DetectorToDetector2Adapter.visitClass(ClassDescriptor classDescriptor) |
void |
Detector2.visitClass(ClassDescriptor classDescriptor)
Visit a class.
|
Modifier and Type | Method and Description |
---|---|
static void |
FindBugs2.createAnalysisContext(Project project,
java.util.List<ClassDescriptor> appClassList,
java.lang.String sourceInfoFileName)
Create the AnalysisContext that will serve as the BCEL-compatibility
layer over the AnalysisCache.
|
static void |
FindBugs2.setAppClassList(java.util.List<ClassDescriptor> appClassList) |
java.util.List<ClassDescriptor> |
FindBugs2.sortByCallGraph(java.util.Collection<ClassDescriptor> classList,
TopologicalSort.OutEdges<ClassDescriptor> outEdges) |
java.util.List<ClassDescriptor> |
FindBugs2.sortByCallGraph(java.util.Collection<ClassDescriptor> classList,
TopologicalSort.OutEdges<ClassDescriptor> outEdges) |
Modifier and Type | Method and Description |
---|---|
void |
ClassNodeDetector.visitClass(ClassDescriptor classDescriptor) |
Modifier and Type | Field and Description |
---|---|
static ClassDescriptor |
Hierarchy.ERROR |
static ClassDescriptor |
Hierarchy.EXCEPTION |
static ClassDescriptor |
Hierarchy.RUNTIME_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
AnalysisContext.getClassBeingAnalyzed() |
ClassDescriptor |
MissingClassException.getClassDescriptor() |
ClassDescriptor |
ClassContext.getClassDescriptor() |
ClassDescriptor |
AccessibleEntity.getClassDescriptor()
Get the ClassDescriptor representing the class (if entity is a class) or
the class containing the entity (if a field or method).
|
ClassDescriptor |
AbstractClassMember.getClassDescriptor() |
ClassDescriptor |
XClass.getImmediateEnclosingClass()
Get the ClassDescriptor of the immediate enclosing class, or null if this
XClass is not a nested or inner class.
|
ClassDescriptor[] |
XClass.getInterfaceDescriptorList()
Get ClassDescriptors of interfaces directly implemented by this class.
|
ClassDescriptor |
XClass.getSuperclassDescriptor()
Get ClassDescriptor of this class's immediate superclass.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ClassDescriptor> |
XMethod.getAnnotationDescriptors()
Get ClassDescriptors (annotation classes) of annotations applied directly
to this method.
|
java.util.Collection<ClassDescriptor> |
XClass.getAnnotationDescriptors() |
java.util.Collection<ClassDescriptor> |
UnresolvedXField.getAnnotationDescriptors() |
java.util.Set<ClassDescriptor> |
XClass.getCalledClassDescriptors() |
java.util.Collection<ClassDescriptor> |
XMethod.getParameterAnnotationDescriptors(int param)
Get ClassDescriptors (annotation classes) of annotations applied directly
to this method's parameters.
|
java.util.Set<ClassDescriptor> |
XFactory.getReflectiveClasses() |
Modifier and Type | Method and Description |
---|---|
boolean |
XFactory.addReflectiveClasses(ClassDescriptor c) |
boolean |
FieldSummary.callsOverriddenMethodsFromConstructor(ClassDescriptor c) |
boolean |
FieldSummary.callsOverriddenMethodsFromSuperConstructor(ClassDescriptor c) |
void |
ClassSummary.checksForEqualTo(ClassDescriptor checker,
ClassDescriptor checkee) |
static XMethod |
Hierarchy2.findInvocationLeastUpperBound(ClassDescriptor classDesc,
java.lang.String methodName,
java.lang.String methodSig,
boolean invokeStatic,
boolean invokeInterface) |
static XMethod |
Hierarchy2.findMethod(ClassDescriptor classDescriptor,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic) |
static XMethod |
Hierarchy.findMethod(ClassDescriptor classDesc,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic)
Find a method in given class.
|
AnnotationValue |
XMethod.getAnnotation(ClassDescriptor desc)
Get the AnnotationValue of annotation applied directly to the method.
|
AnnotationValue |
XClass.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
UnresolvedXField.getAnnotation(ClassDescriptor desc) |
java.util.Set<ProgramPoint> |
FieldSummary.getCalledFromSuperConstructor(ClassDescriptor superClass,
XMethod calledFromConstructor) |
int |
AnalysisContext.getClassSize(ClassDescriptor desc) |
AnnotationValue |
XMethod.getParameterAnnotation(int param,
ClassDescriptor desc)
Get the AnnotationValue of annotation applied directly to given
parameter.
|
static IncompatibleTypes |
IncompatibleTypes.getPriorityForAssumingCompatible(boolean pointerEquality,
ClassDescriptor lhsDescriptor,
ClassDescriptor rhsDescriptor) |
XClass |
XFactory.getXClass(ClassDescriptor classDescriptor)
Get the XClass object providing information about the class named by the
given ClassDescriptor.
|
boolean |
AnalysisContext.isApplicationClass(ClassDescriptor desc) |
boolean |
XFactory.isReflectiveClass(ClassDescriptor c) |
boolean |
AnalysisContext.isTooBig(ClassDescriptor desc) |
org.apache.bcel.classfile.JavaClass |
AnalysisContext.lookupClass(ClassDescriptor classDescriptor)
Lookup a class.
|
boolean |
ClassSummary.mightBeEqualTo(ClassDescriptor checker,
ClassDescriptor checkee) |
void |
DebugRepositoryLookupFailureCallback.reportMissingClass(ClassDescriptor classDescriptor) |
static void |
AnalysisContext.reportMissingClass(ClassDescriptor c) |
static java.util.Set<XMethod> |
Hierarchy2.resolveVirtualMethodCallTargets(ClassDescriptor receiverDesc,
java.lang.String methodName,
java.lang.String methodSig,
boolean receiverTypeIsExact,
boolean invokeSpecial) |
void |
AnalysisContext.setClassBeingAnalyzed(ClassDescriptor classBeingAnalyzed) |
Modifier and Type | Method and Description |
---|---|
void |
AnalysisContext.setAppClassList(java.util.List<ClassDescriptor> appClassCollection) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ClassDescriptor> |
Subtypes2.getDirectSubtypes(ClassDescriptor classDescriptor)
Get known subtypes of given class.
|
java.util.Set<ClassDescriptor> |
Subtypes2.getSubtypes(ClassDescriptor classDescriptor)
Get known subtypes of given class.
|
java.util.Set<ClassDescriptor> |
Subtypes2.getTransitiveCommonSubtypes(ClassDescriptor classDescriptor1,
ClassDescriptor classDescriptor2)
Get the set of common subtypes of the two given classes.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ClassDescriptor> |
Subtypes2.getDirectSubtypes(ClassDescriptor classDescriptor)
Get known subtypes of given class.
|
java.util.Set<ClassDescriptor> |
Subtypes2.getSubtypes(ClassDescriptor classDescriptor)
Get known subtypes of given class.
|
edu.umd.cs.findbugs.ba.ch.Subtypes2.SupertypeQueryResults |
Subtypes2.getSupertypeQueryResults(ClassDescriptor classDescriptor)
Look up or compute the SupertypeQueryResults for class named by given
ClassDescriptor.
|
java.util.Set<ClassDescriptor> |
Subtypes2.getTransitiveCommonSubtypes(ClassDescriptor classDescriptor1,
ClassDescriptor classDescriptor2)
Get the set of common subtypes of the two given classes.
|
boolean |
Subtypes2.hasKnownSubclasses(ClassDescriptor classDescriptor) |
boolean |
Subtypes2.hasSubtypes(ClassDescriptor classDescriptor)
Determine whether or not the given class has any known subtypes.
|
static boolean |
Subtypes2.instanceOf(ClassDescriptor subDescriptor,
java.lang.Class<?> c) |
static boolean |
Subtypes2.instanceOf(ClassDescriptor subDescriptor,
java.lang.String dottedSupertype) |
boolean |
Subtypes2.isApplicationClass(ClassDescriptor descriptor) |
boolean |
Subtypes2.isSubtype(ClassDescriptor subDesc,
ClassDescriptor... superDesc) |
boolean |
Subtypes2.isSubtype(ClassDescriptor subDesc,
ClassDescriptor... superDesc) |
boolean |
Subtypes2.isSubtype(ClassDescriptor subDesc,
ClassDescriptor superDesc) |
boolean |
Subtypes2.isSubtype0(ClassDescriptor subDesc,
ClassDescriptor superDesc) |
void |
Subtypes2.traverseSupertypes(ClassDescriptor start,
InheritanceGraphVisitor visitor)
Starting at the class or interface named by the given ClassDescriptor,
traverse the inheritance graph, exploring all paths from the class or
interface to java.lang.Object.
|
void |
Subtypes2.traverseSupertypesDepthFirst(ClassDescriptor start,
SupertypeTraversalVisitor visitor)
Starting at the class or interface named by the given ClassDescriptor,
traverse the inheritance graph depth first, visiting each class only
once.
|
boolean |
SupertypeTraversalVisitor.visitClass(ClassDescriptor classDescriptor,
XClass xclass)
Visit a class vertex in the inheritance graph.
|
boolean |
OverriddenMethodsVisitor.visitClass(ClassDescriptor classDescriptor,
XClass xclass) |
boolean |
InheritanceGraphVisitor.visitClass(ClassDescriptor classDescriptor,
XClass xclass)
Visit a class vertex in the inheritance graph.
|
boolean |
InheritanceGraphVisitor.visitEdge(ClassDescriptor sourceDesc,
XClass source,
ClassDescriptor targetDesc,
XClass target)
Visit an inheritance edge in the inheritance graph.
|
Modifier and Type | Field and Description |
---|---|
static ClassDescriptor |
JSR305NullnessAnnotations.CHECK_FOR_NULL |
static ClassDescriptor |
FindBugsDefaultAnnotations.DEFAULT_ANNOTATION
Deprecated.
Default annotation for all element types.
|
static ClassDescriptor |
FindBugsDefaultAnnotations.DEFAULT_ANNOTATION_FOR_FIELDS
Deprecated.
Default annotation for fields.
|
static ClassDescriptor |
FindBugsDefaultAnnotations.DEFAULT_ANNOTATION_FOR_METHODS
Deprecated.
Default annotation for methods.
|
static ClassDescriptor |
FindBugsDefaultAnnotations.DEFAULT_ANNOTATION_FOR_PARAMETERS
Deprecated.
Default annotation for parameters.
|
static ClassDescriptor |
JSR305NullnessAnnotations.NONNULL |
static ClassDescriptor |
JSR305NullnessAnnotations.NULLABLE |
ClassDescriptor |
TypeQualifierValue.typeQualifier |
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
TypeQualifierValue.getTypeQualifierClassDescriptor()
Get the ClassDescriptor which specifies the type qualifier annotation.
|
Modifier and Type | Method and Description |
---|---|
static TypeQualifierValue<?> |
TypeQualifierValue.getValue(ClassDescriptor desc,
java.lang.Object value)
Given a ClassDescriptor/value pair, return the interned
TypeQualifierValue representing that pair.
|
Modifier and Type | Method and Description |
---|---|
Obligation |
ObligationFactory.getObligationByType(ClassDescriptor classDescriptor)
Look up an Obligation by type.
|
boolean |
ObligationFactory.isObligationType(ClassDescriptor classDescriptor)
Determine whether class named by given ClassDescriptor is an Obligation
type.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TypeFrameModelingVisitor.isStraightGenericMap(ClassDescriptor c) |
Modifier and Type | Method and Description |
---|---|
static ClassDescriptor |
BCELUtil.getClassDescriptor(org.apache.bcel.classfile.JavaClass jclass)
Construct a ClassDescriptor from a JavaClass.
|
static ClassDescriptor |
BCELUtil.getClassDescriptor(org.apache.bcel.generic.ObjectType type)
Deprecated.
Use
DescriptorFactory.getClassDescriptor(ObjectType)
instead |
Modifier and Type | Method and Description |
---|---|
static void |
BCELUtil.throwClassNotFoundException(ClassDescriptor classDescriptor)
Deprecated.
Use
throwClassNotFoundException(ClassDescriptor)
instead |
void |
CFGDetector.visitClass(ClassDescriptor classDescriptor) |
Modifier and Type | Field and Description |
---|---|
static ClassDescriptor[] |
ClassDescriptor.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
static ClassDescriptor |
DescriptorFactory.createClassDescriptor(java.lang.Class<?> aClass) |
static ClassDescriptor |
DescriptorFactory.createClassDescriptor(org.apache.bcel.classfile.JavaClass c) |
static ClassDescriptor |
ClassDescriptor.createClassDescriptor(org.apache.bcel.classfile.JavaClass c)
Deprecated.
|
static ClassDescriptor |
DescriptorFactory.createClassDescriptor(java.lang.String className) |
static ClassDescriptor |
ClassDescriptor.createClassDescriptor(java.lang.String className)
Deprecated.
Use
DescriptorFactory.createClassDescriptor(String)
instead |
static ClassDescriptor[] |
DescriptorFactory.createClassDescriptor(java.lang.String[] classNames) |
static ClassDescriptor[] |
ClassDescriptor.createClassDescriptor(java.lang.String[] classNames)
Deprecated.
|
static ClassDescriptor |
DescriptorFactory.createClassDescriptorFromDottedClassName(java.lang.String dottedClassName) |
static ClassDescriptor |
ClassDescriptor.createClassDescriptorFromDottedClassName(java.lang.String dottedClassName)
Deprecated.
|
static ClassDescriptor |
DescriptorFactory.createClassDescriptorFromFieldSignature(java.lang.String signature)
Create a class descriptor from a field signature
|
static ClassDescriptor |
DescriptorFactory.createClassDescriptorFromResourceName(java.lang.String resourceName)
Create a class descriptor from a resource name.
|
static ClassDescriptor |
DescriptorFactory.createClassDescriptorFromSignature(java.lang.String signature) |
static ClassDescriptor |
ClassDescriptor.createClassDescriptorFromSignature(java.lang.String signature)
Deprecated.
|
static ClassDescriptor |
DescriptorFactory.createClassOrObjectDescriptorFromSignature(java.lang.String signature) |
static ClassDescriptor |
ClassDescriptor.fromFieldSignature(java.lang.String signature)
Deprecated.
|
static ClassDescriptor |
ClassDescriptor.fromResourceName(java.lang.String resourceName)
Deprecated.
|
ClassDescriptor |
MissingClassException.getClassDescriptor() |
ClassDescriptor |
InvalidClassFileFormatException.getClassDescriptor() |
ClassDescriptor |
ICodeBaseEntry.getClassDescriptor()
Return the ClassDescriptor of the class resource accessed by this
codebase entry.
|
ClassDescriptor |
FieldOrMethodName.getClassDescriptor() |
ClassDescriptor |
FieldOrMethodDescriptor.getClassDescriptor() |
ClassDescriptor |
DescriptorFactory.getClassDescriptor(java.lang.Class<?> actualClass) |
static ClassDescriptor |
DescriptorFactory.getClassDescriptor(org.apache.bcel.generic.ObjectType type)
Get a ClassDescriptor for the class described by given ObjectType object.
|
ClassDescriptor |
DescriptorFactory.getClassDescriptor(java.lang.String className)
Get a ClassDescriptor for a class name in VM (slashed) format.
|
ClassDescriptor |
DescriptorFactory.getClassDescriptorForDottedClassName(java.lang.String dottedClassName)
Get a ClassDescriptor for a class name in dotted format.
|
ClassDescriptor |
ClassNameMismatchException.getLoadedClassDescriptor() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ClassDescriptor> |
DescriptorFactory.getAllClassDescriptors() |
java.util.List<ClassDescriptor> |
IClassPathBuilder.getAppClassList()
Get the list of application classes discovered while scanning the
classpath.
|
Modifier and Type | Method and Description |
---|---|
int |
ClassDescriptor.compareTo(ClassDescriptor o) |
<E> E |
IAnalysisCache.getClassAnalysis(java.lang.Class<E> analysisClass,
ClassDescriptor classDescriptor)
Get an analysis of the given class.
|
void |
IClassObserver.observeClass(ClassDescriptor classDescriptor)
Observe a class being visited.
|
<E> E |
IAnalysisCache.probeClassAnalysis(java.lang.Class<E> analysisClass,
ClassDescriptor classDescriptor)
See if the cache contains a cached class analysis result for given class
descriptor.
|
void |
IErrorLogger.reportMissingClass(ClassDescriptor classDescriptor)
Called to report a class lookup failure.
|
static void |
ClassDescriptor.throwClassNotFoundException(ClassDescriptor classDescriptor)
Throw a ClassNotFoundException to indicate that class named by given
ClassDescriptor cannot be found.
|
Modifier and Type | Method and Description |
---|---|
void |
DescriptorFactory.purge(java.util.Collection<ClassDescriptor> unusable) |
Constructor and Description |
---|
ClassNameMismatchException(ClassDescriptor expectedClassDescriptor,
ClassDescriptor loadedClassDescriptor,
ICodeBaseEntry codeBaseEntry)
Constructor.
|
InvalidClassFileFormatException(ClassDescriptor classDescriptor,
ICodeBaseEntry codeBaseEntry) |
InvalidClassFileFormatException(ClassDescriptor classDescriptor,
ICodeBaseEntry codeBaseEntry,
java.lang.Throwable cause) |
InvalidClassFileFormatException(java.lang.String msg,
ClassDescriptor classDescriptor,
ICodeBaseEntry codeBaseEntry) |
MissingClassException(ClassDescriptor classDescriptor)
Constructor.
|
MissingClassException(ClassDescriptor classDescriptor,
java.lang.Throwable cause)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassInfo
ClassInfo represents important metadata about a loaded class, such as its
superclass, access flags, codebase entry, etc.
|
class |
ClassNameAndSuperclassInfo
Represents the class name, superclass name, and interface list of a class.
|
Modifier and Type | Field and Description |
---|---|
ClassDescriptor |
EnumValue.desc |
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
AnnotationValue.getAnnotationClass() |
ClassDescriptor |
ClassNameAndSuperclassInfo.getClassDescriptor() |
ClassDescriptor |
ClassInfo.Builder.getClassDescriptor() |
ClassDescriptor |
ClassData.getClassDescriptor() |
ClassDescriptor |
AnnotatedObject.getClassDescriptor()
return the ClassDescriptor for the class associated with this object
|
ClassDescriptor |
ClassInfo.getImmediateEnclosingClass() |
ClassDescriptor[] |
ClassNameAndSuperclassInfo.getInterfaceDescriptorList() |
ClassDescriptor |
ClassNameAndSuperclassInfo.getSuperclassDescriptor() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ClassDescriptor> |
MethodInfo.getAnnotationDescriptors() |
java.util.Collection<ClassDescriptor> |
FieldInfo.getAnnotationDescriptors() |
java.util.Collection<ClassDescriptor> |
ClassInfo.getAnnotationDescriptors() |
java.util.Collection<ClassDescriptor> |
AnnotatedObject.getAnnotationDescriptors() |
java.util.Set<ClassDescriptor> |
ClassNameAndSuperclassInfo.getCalledClassDescriptors() |
java.util.Collection<ClassDescriptor> |
MethodInfo.getParameterAnnotationDescriptors(int param) |
Modifier and Type | Method and Description |
---|---|
AnnotationValue |
MethodInfo.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
FieldInfo.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
ClassInfo.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
AnnotatedObject.getAnnotation(ClassDescriptor desc) |
AnnotationValue |
MethodInfo.getParameterAnnotation(int param,
ClassDescriptor desc) |
void |
ClassNameAndSuperclassInfo.Builder.setClassDescriptor(ClassDescriptor classDescriptor) |
void |
ClassInfo.Builder.setImmediateEnclosingClass(ClassDescriptor immediateEnclosingClass) |
void |
ClassNameAndSuperclassInfo.Builder.setInterfaceDescriptorList(ClassDescriptor[] interfaceDescriptorList) |
void |
ClassNameAndSuperclassInfo.Builder.setSuperclassDescriptor(ClassDescriptor superclassDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
ClassNameAndSuperclassInfo.Builder.setCalledClassDescriptors(java.util.Collection<ClassDescriptor> calledClassDescriptorList) |
void |
ClassNameAndSuperclassInfo.Builder.setReferencedClassDescriptors(java.util.Collection<ClassDescriptor> referencedClassDescriptorList) |
Constructor and Description |
---|
AnnotationValue(ClassDescriptor annotationClass)
Constructor.
|
ClassData(ClassDescriptor classDescriptor,
ICodeBaseEntry codeBaseEntry,
byte[] data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ClassNameAndSuperclassInfo |
ClassNameAndSuperclassInfoAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
ClassInfo |
ClassInfoAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
ClassData |
ClassDataAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
static <T> MultiMap<T,T> |
SelfMethodCalls.getSelfCalls(ClassDescriptor classDescriptor,
java.util.Map<java.lang.String,T> methods) |
Modifier and Type | Method and Description |
---|---|
static void |
ClassParser.extractReferencedClassesFromSignature(java.util.Set<ClassDescriptor> referencedClassSet,
java.lang.String signature) |
Constructor and Description |
---|
ClassParser(java.io.DataInputStream in,
ClassDescriptor expectedClassDescriptor,
ICodeBaseEntry codeBaseEntry)
Constructor.
|
ClassParserUsingASM(org.objectweb.asm.ClassReader classReader,
ClassDescriptor expectedClassDescriptor,
ICodeBaseEntry codeBaseEntry) |
ClassParserUsingBCEL(org.apache.bcel.classfile.JavaClass javaClass,
ClassDescriptor expectedClassDescriptor,
ICodeBaseEntry codeBaseEntry)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
FBClassReader |
ClassReaderAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
org.objectweb.asm.tree.ClassNode |
ClassNodeAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
org.apache.bcel.classfile.JavaClass |
JavaClassAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
org.apache.bcel.generic.ConstantPoolGen |
ConstantPoolGenFactory.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
ClassContext |
ClassContextClassAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
AssignedFieldMap |
AssignedFieldMapFactory.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
AssertionMethods |
AssertionMethodsFactory.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
protected AssertionMethods |
AnalysisFactory.getAssertionMethods(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
protected org.apache.bcel.generic.ConstantPoolGen |
AnalysisFactory.getConstantPoolGen(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
protected org.apache.bcel.classfile.JavaClass |
AnalysisFactory.getJavaClass(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
ZipInputStreamCodeBaseEntry.getClassDescriptor() |
ClassDescriptor |
ZipFileCodeBaseEntry.getClassDescriptor() |
ClassDescriptor |
SingleFileCodeBaseEntry.getClassDescriptor() |
ClassDescriptor |
DirectoryCodeBaseEntry.getClassDescriptor() |
ClassDescriptor |
DelegatingCodeBaseEntry.getClassDescriptor() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ClassDescriptor> |
ClassPathBuilder.getAppClassList() |
java.util.Map<ClassDescriptor,java.lang.Object> |
AnalysisCache.getClassAnalysis(java.lang.Class<?> analysisClass) |
Modifier and Type | Method and Description |
---|---|
<E> E |
AnalysisCache.getClassAnalysis(java.lang.Class<E> analysisClass,
ClassDescriptor classDescriptor) |
<E> E |
AnalysisCache.probeClassAnalysis(java.lang.Class<E> analysisClass,
ClassDescriptor classDescriptor) |
Modifier and Type | Method and Description |
---|---|
<E> void |
AnalysisCache.reuseClassAnalysis(java.lang.Class<E> analysisClass,
java.util.Map<ClassDescriptor,java.lang.Object> map)
Adds the data for given analysis type from given map to the cache
|
Modifier and Type | Method and Description |
---|---|
void |
CheckExpectedWarnings.checkAnnotation(java.lang.String bugCode,
java.util.Collection<BugInstance> warnings,
boolean expectWarnings,
int priority,
java.lang.Integer rank,
java.lang.Integer num,
java.lang.Object methodDescriptor,
int minPriority,
ClassDescriptor cd) |
boolean |
UnreadFieldsData.existsStrongEvidenceForIntendedSerialization(ClassDescriptor c) |
boolean |
UnreadFields.existsStrongEvidenceForIntendedSerialization(ClassDescriptor c)
Deprecated.
|
BugInstance |
CheckExpectedWarnings.makeWarning(java.lang.String bugPattern,
java.lang.Object descriptor,
int priority,
ClassDescriptor cd) |
void |
UnreadFieldsData.strongEvidenceForIntendedSerialization(ClassDescriptor c) |
void |
UnreadFields.strongEvidenceForIntendedSerialization(ClassDescriptor c)
Deprecated.
|
void |
TestDataflowAnalysis.visitClass(ClassDescriptor classDescriptor) |
void |
FindUnsatisfiedObligation.visitClass(ClassDescriptor classDescriptor) |
void |
CheckTypeQualifiers.visitClass(ClassDescriptor classDescriptor) |
void |
CheckRelaxingNullnessAnnotation.visitClass(ClassDescriptor classDescriptor) |
void |
CheckExpectedWarnings.visitClass(ClassDescriptor classDescriptor) |
void |
BuildObligationPolicyDatabase.visitClass(ClassDescriptor classDescriptor) |
Constructor and Description |
---|
SubtypeTypeMatcher(ClassDescriptor classDescriptor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
PreorderVisitor.getClassDescriptor() |
ClassDescriptor |
DismantleBytecode.getClassDescriptorOperand() |
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.