Uses of Class
edu.umd.cs.findbugs.classfile.ClassDescriptor
-
Packages that use ClassDescriptor 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.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.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 -
-
Uses of ClassDescriptor in edu.umd.cs.findbugs
Fields in edu.umd.cs.findbugs with type parameters of type ClassDescriptor Modifier and Type Field Description private java.util.List<ClassDescriptor>
FindBugs2. appClassList
private java.util.Collection<ClassDescriptor>
FindBugs2. referencedClassSet
Methods in edu.umd.cs.findbugs that return ClassDescriptor Modifier and Type Method Description ClassDescriptor
PackageMemberAnnotation. getClassDescriptor()
Get the class descriptor.Methods in edu.umd.cs.findbugs that return types with arguments of type ClassDescriptor Modifier and Type Method Description java.util.List<ClassDescriptor>
FindBugs2. sortByCallGraph(java.util.Collection<ClassDescriptor> classList, TopologicalSort.OutEdges<ClassDescriptor> outEdges)
Methods in edu.umd.cs.findbugs with parameters of type ClassDescriptor Modifier and Type Method Description BugInstance
BugInstance. addClass(ClassDescriptor classDescriptor)
Add a class annotation.BugInstance
BugInstance. addEqualsMethodUsed(ClassDescriptor expectedClass)
BugInstance
BugInstance. addType(ClassDescriptor c)
private java.lang.String
DiscoverSourceDirectories. findFullyQualifiedSourceFileName(IClassPath classPath, ClassDescriptor classDesc)
static ClassAnnotation
ClassAnnotation. fromClassDescriptor(ClassDescriptor classDescriptor)
Factory method to create a ClassAnnotation from a ClassDescriptor.static XClass
Lookup. getXClass(ClassDescriptor c)
private void
FindBugs2. logRecoverableException(ClassDescriptor classDescriptor, Detector2 detector, java.lang.Throwable e)
Report an exception that occurred while analyzing a class with a detector.private void
FindBugs2. notifyClassObservers(ClassDescriptor classDescriptor)
Notify all IClassObservers that we are visiting given class.void
BugCollectionBugReporter. observeClass(ClassDescriptor classDescriptor)
void
BugReportDispatcher. observeClass(ClassDescriptor classDescriptor)
void
DelegatingBugReporter. observeClass(ClassDescriptor classDescriptor)
void
EmacsBugReporter. observeClass(ClassDescriptor classDescriptor)
void
PrintingBugReporter. observeClass(ClassDescriptor classDescriptor)
void
SortingBugReporter. observeClass(ClassDescriptor classDescriptor)
void
SynchronizedBugReporter. observeClass(ClassDescriptor classDescriptor)
void
XDocsBugReporter. observeClass(ClassDescriptor classDescriptor)
void
AbstractBugReporter. reportMissingClass(ClassDescriptor classDescriptor)
void
BugCollectionBugReporter. reportMissingClass(ClassDescriptor classDescriptor)
void
BugReportDispatcher. reportMissingClass(ClassDescriptor classDescriptor)
void
DelegatingBugReporter. reportMissingClass(ClassDescriptor classDescriptor)
void
DiscoverSourceDirectories.NoOpErrorLogger. reportMissingClass(ClassDescriptor classDescriptor)
void
ErrorCountingBugReporter. reportMissingClass(ClassDescriptor classDescriptor)
void
SynchronizedBugReporter. reportMissingClass(ClassDescriptor classDescriptor)
void
XDocsBugReporter. reportMissingClass(ClassDescriptor classDescriptor)
void
Detector2. visitClass(ClassDescriptor classDescriptor)
Visit a class.void
DetectorToDetector2Adapter. visitClass(ClassDescriptor classDescriptor)
Method parameters in edu.umd.cs.findbugs with type arguments of type ClassDescriptor Modifier and Type Method 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)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.asm
Methods in edu.umd.cs.findbugs.asm with parameters of type ClassDescriptor Modifier and Type Method Description void
ClassNodeDetector. visitClass(ClassDescriptor classDescriptor)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.ba
Fields in edu.umd.cs.findbugs.ba declared as ClassDescriptor Modifier and Type Field Description private ClassDescriptor
AnalysisContext. classBeingAnalyzed
static ClassDescriptor
Hierarchy. ERROR
static ClassDescriptor
Hierarchy. EXCEPTION
private static ClassDescriptor
TestCaseDetector. JUNIT3TESTCASE
private static ClassDescriptor
TestCaseDetector. JUNIT4TEST
private static ClassDescriptor
TestCaseDetector. JUNIT5TEST
private static ClassDescriptor
IncompatibleTypes. LIST_DESCRIPTOR
private static ClassDescriptor
IncompatibleTypes. MAP_DESCRIPTOR
private static ClassDescriptor
Hierarchy2. objectDescriptor
static ClassDescriptor
Hierarchy. RUNTIME_EXCEPTION
private static ClassDescriptor
IncompatibleTypes. SET_DESCRIPTOR
Fields in edu.umd.cs.findbugs.ba with type parameters of type ClassDescriptor Modifier and Type Field Description private java.util.Set<ClassDescriptor>
FieldSummary. callsOverriddenMethodsFromConstructor
private java.util.Map<ClassDescriptor,ClassDescriptor>
ClassSummary. map
private java.util.Map<ClassDescriptor,ClassDescriptor>
ClassSummary. map
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
UnresolvedXMethod. methodAnnotations
(package private) java.util.Map<java.lang.Integer,java.util.Map<ClassDescriptor,AnnotationValue>>
UnresolvedXMethod. methodParameterAnnotations
private java.util.Set<ClassDescriptor>
XFactory. reflectiveClasses
private java.util.Set<ClassDescriptor>
ClassSummary. veryFunky
Methods in edu.umd.cs.findbugs.ba that return ClassDescriptor Modifier and Type Method Description ClassDescriptor
AnalysisContext. getClassBeingAnalyzed()
ClassDescriptor
AbstractClassMember. 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
ClassContext. getClassDescriptor()
ClassDescriptor
MissingClassException. 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.Methods in edu.umd.cs.findbugs.ba that return types with arguments of type ClassDescriptor Modifier and Type Method Description java.util.Collection<ClassDescriptor>
UnresolvedXField. getAnnotationDescriptors()
java.util.Collection<ClassDescriptor>
UnresolvedXMethod. getAnnotationDescriptors()
java.util.Collection<ClassDescriptor>
XClass. getAnnotationDescriptors()
java.util.Collection<ClassDescriptor>
XMethod. getAnnotationDescriptors()
Get ClassDescriptors (annotation classes) of annotations applied directly to this method.java.util.Set<ClassDescriptor>
XClass. getCalledClassDescriptors()
java.util.Collection<ClassDescriptor>
UnresolvedXMethod. getParameterAnnotationDescriptors(int param)
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()
Methods in edu.umd.cs.findbugs.ba with parameters of type ClassDescriptor Modifier and Type Method 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
Hierarchy. findMethod(ClassDescriptor classDesc, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)
Find a method in given class.static XMethod
Hierarchy2. findMethod(ClassDescriptor classDescriptor, java.lang.String methodName, java.lang.String methodSig, boolean isStatic)
private static void
Hierarchy2. findSuperMethods(ClassDescriptor c, XMethod m, java.util.Set<XMethod> accumulator)
AnnotationValue
UnresolvedXField. getAnnotation(ClassDescriptor desc)
AnnotationValue
UnresolvedXMethod. getAnnotation(ClassDescriptor desc)
AnnotationValue
XClass. getAnnotation(ClassDescriptor desc)
AnnotationValue
XMethod. getAnnotation(ClassDescriptor desc)
Get the AnnotationValue of annotation applied directly to the method.java.util.Set<ProgramPoint>
FieldSummary. getCalledFromSuperConstructor(ClassDescriptor superClass, XMethod calledFromConstructor)
int
AnalysisContext. getClassSize(ClassDescriptor desc)
AnnotationValue
UnresolvedXMethod. getParameterAnnotation(int param, 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)
(package private) static XClass
Hierarchy2. getXClass(ClassDescriptor c)
XClass
XFactory. getXClass(ClassDescriptor classDescriptor)
Get the XClass object providing information about the class named by the given ClassDescriptor.boolean
AnalysisContext. isApplicationClass(ClassDescriptor desc)
private boolean
XFactory. isCalledDirectlyOrIndirectly(ClassDescriptor clazzDescriptor, XMethod m)
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
AnalysisContext.DelegatingRepositoryLookupFailureCallback. reportMissingClass(ClassDescriptor classDescriptor)
static void
AnalysisContext. reportMissingClass(ClassDescriptor c)
void
DebugRepositoryLookupFailureCallback. reportMissingClass(ClassDescriptor classDescriptor)
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)
Method parameters in edu.umd.cs.findbugs.ba with type arguments of type ClassDescriptor Modifier and Type Method Description void
AnalysisContext. setAppClassList(java.util.List<ClassDescriptor> appClassCollection)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.ba.ch
Fields in edu.umd.cs.findbugs.ba.ch declared as ClassDescriptor Modifier and Type Field Description private ClassDescriptor
ClassVertex. classDescriptor
(package private) ClassDescriptor
Subtypes2. prevSubDesc
(package private) ClassDescriptor
Subtypes2. prevSuperDesc
Fields in edu.umd.cs.findbugs.ba.ch with type parameters of type ClassDescriptor Modifier and Type Field Description private java.util.Map<ClassDescriptor,ClassVertex>
Subtypes2. classDescriptorToVertexMap
(package private) java.util.Set<ClassDescriptor>
Subtypes2.SupertypeTraversalPath. seen
private java.util.Map<ClassDescriptor,java.util.Set<ClassDescriptor>>
Subtypes2. subtypeSetMap
private java.util.Map<ClassDescriptor,java.util.Set<ClassDescriptor>>
Subtypes2. subtypeSetMap
private java.util.Set<ClassDescriptor>
Subtypes2.SupertypeQueryResults. supertypeSet
private java.util.Map<ClassDescriptor,Subtypes2.SupertypeQueryResults>
Subtypes2. supertypeSetMap
Methods in edu.umd.cs.findbugs.ba.ch that return ClassDescriptor Modifier and Type Method Description ClassDescriptor
ClassVertex. getClassDescriptor()
Methods in edu.umd.cs.findbugs.ba.ch that return types with arguments of type ClassDescriptor Modifier and Type Method Description private java.util.Set<ClassDescriptor>
Subtypes2. computeKnownSubtypes(ClassDescriptor classDescriptor)
Compute set of known subtypes of class named by given ClassDescriptor.private java.util.Set<ClassDescriptor>
Subtypes2. computeKnownSupertypes(ClassDescriptor classDescriptor)
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.Methods in edu.umd.cs.findbugs.ba.ch with parameters of type ClassDescriptor Modifier and Type Method Description private ClassVertex
Subtypes2. addClassVertexForMissingClass(ClassDescriptor missingClassDescriptor, boolean isInterfaceEdge)
Add a ClassVertex representing a missing class.private void
Subtypes2. addInheritanceEdge(ClassVertex vertex, ClassDescriptor superclassDescriptor, boolean isInterfaceEdge, java.util.LinkedList<XClass> workList)
Add supertype edge to the InheritanceGraph.void
Subtypes2.SupertypeQueryResults. addSupertype(ClassDescriptor classDescriptor)
private void
Subtypes2. addToWorkList(java.util.LinkedList<Subtypes2.SupertypeTraversalPath> workList, Subtypes2.SupertypeTraversalPath curPath, ClassDescriptor supertypeDescriptor)
private void
Subtypes2. addVertexToGraph(ClassDescriptor classDescriptor, ClassVertex vertex)
private java.util.Set<ClassDescriptor>
Subtypes2. computeKnownSubtypes(ClassDescriptor classDescriptor)
Compute set of known subtypes of class named by given ClassDescriptor.private java.util.Set<ClassDescriptor>
Subtypes2. computeKnownSupertypes(ClassDescriptor classDescriptor)
private Subtypes2.SupertypeQueryResults
Subtypes2. computeSupertypes(ClassDescriptor classDescriptor)
Compute supertypes for class named by given ClassDescriptor.boolean
Subtypes2.SupertypeQueryResults. containsType(ClassDescriptor possibleSupertypeClassDescriptor)
static ClassVertex
ClassVertex. createMissingClassVertex(ClassDescriptor classDescriptor, boolean isInterface)
Factory method for ClassVertex objects representing missing classes.static ClassVertex
ClassVertex. createResolvedClassVertex(ClassDescriptor classDescriptor, XClass xclass)
Factory method for resolved ClassVertex objects.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.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.SupertypeTraversalPath. hasBeenSeen(ClassDescriptor classDescriptor)
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. isSubtype0(ClassDescriptor subDesc, ClassDescriptor superDesc)
void
Subtypes2.SupertypeTraversalPath. markSeen(ClassDescriptor classDescriptor)
private ClassVertex
Subtypes2. optionallyResolveClassVertex(ClassDescriptor classDescriptor)
private ClassVertex
Subtypes2. resolveClassVertex(ClassDescriptor classDescriptor)
Resolve a class named by given ClassDescriptor and return its resolved ClassVertex.private boolean
Subtypes2. traverseEdge(ClassVertex vertex, ClassDescriptor supertypeDescriptor, boolean isInterfaceEdge, InheritanceGraphVisitor visitor)
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.private void
Subtypes2. traverseSupertypesDepthFirstHelper(ClassDescriptor cur, SupertypeTraversalVisitor visitor, java.util.Set<ClassDescriptor> seen)
boolean
InheritanceGraphVisitor. visitClass(ClassDescriptor classDescriptor, XClass xclass)
Visit a class vertex in the inheritance graph.boolean
OverriddenMethodsVisitor. visitClass(ClassDescriptor classDescriptor, XClass xclass)
boolean
SupertypeTraversalVisitor. 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.Method parameters in edu.umd.cs.findbugs.ba.ch with type arguments of type ClassDescriptor Modifier and Type Method Description private void
Subtypes2. traverseSupertypesDepthFirstHelper(ClassDescriptor cur, SupertypeTraversalVisitor visitor, java.util.Set<ClassDescriptor> seen)
Constructors in edu.umd.cs.findbugs.ba.ch with parameters of type ClassDescriptor Constructor Description ClassVertex(ClassDescriptor classDescriptor, boolean isInterfaceEdge)
ClassVertex(ClassDescriptor classDescriptor, XClass xclass)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.ba.jsr305
Fields in edu.umd.cs.findbugs.ba.jsr305 declared as ClassDescriptor Modifier and Type Field 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.(package private) static ClassDescriptor
TypeQualifierResolver. eclipseNonNullByDefault
(package private) static ClassDescriptor
TypeQualifierResolver. elementTypeDescriptor
private static ClassDescriptor
TypeQualifierValue. EXCLUSIVE_ANNOTATION
private static ClassDescriptor
TypeQualifierValue. EXHAUSTIVE_ANNOTATION
private static ClassDescriptor[]
TypeQualifierResolver. NON_NULL_CLASS_DESCRIPTORS
static ClassDescriptor
JSR305NullnessAnnotations. NONNULL
static ClassDescriptor
JSR305NullnessAnnotations. NULLABLE
private static ClassDescriptor[]
TypeQualifierResolver. NULLABLE_CLASS_DESCRIPTORS
(package private) static ClassDescriptor
TypeQualifierResolver. typeQualifier
ClassDescriptor
TypeQualifierValue. typeQualifier
(package private) static ClassDescriptor
TypeQualifierResolver. typeQualifierDefault
(package private) static ClassDescriptor
TypeQualifierResolver. typeQualifierNickname
Fields in edu.umd.cs.findbugs.ba.jsr305 with type parameters of type ClassDescriptor Modifier and Type Field Description (package private) DualKeyHashMap<ClassDescriptor,java.lang.Object,TypeQualifierValue<?>>
TypeQualifierValue.Data. typeQualifierMap
Cache in which constructed TypeQualifierValues are interned.Methods in edu.umd.cs.findbugs.ba.jsr305 that return ClassDescriptor Modifier and Type Method Description ClassDescriptor
TypeQualifierValue. getTypeQualifierClassDescriptor()
Get the ClassDescriptor which specifies the type qualifier annotation.Methods in edu.umd.cs.findbugs.ba.jsr305 with parameters of type ClassDescriptor Modifier and Type Method Description private static TypeQualifierAnnotation
TypeQualifierApplications. checkFindBugsDefaultAnnotation(ClassDescriptor defaultAnnotation, AnnotatedObject o, TypeQualifierValue<?> typeQualifierValue)
private static <A> java.lang.Class<A>
TypeQualifierValue. getQualifierClass(ClassDescriptor typeQualifier)
static TypeQualifierValue<?>
TypeQualifierValue. getValue(ClassDescriptor desc, java.lang.Object value)
Given a ClassDescriptor/value pair, return the interned TypeQualifierValue representing that pair.Constructors in edu.umd.cs.findbugs.ba.jsr305 with parameters of type ClassDescriptor Constructor Description TypeQualifierValue(ClassDescriptor typeQualifier, java.lang.Object value)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.ba.npe
Fields in edu.umd.cs.findbugs.ba.npe declared as ClassDescriptor Modifier and Type Field Description private static ClassDescriptor
TypeQualifierNullnessAnnotationDatabase. PARAMETERS_ARE_NONNULL_BY_DEFAULT
private static ClassDescriptor
TypeQualifierNullnessAnnotationDatabase. RETURN_VALUES_ARE_NONNULL_BY_DEFAULT
Methods in edu.umd.cs.findbugs.ba.npe that return ClassDescriptor Modifier and Type Method Description private ClassDescriptor
TypeQualifierNullnessAnnotationDatabase. getNullnessAnnotationClassDescriptor(NullnessAnnotation n)
Convert a NullnessAnnotation into the ClassDescriptor of the equivalent JSR-305 nullness type qualifier. -
Uses of ClassDescriptor in edu.umd.cs.findbugs.ba.obl
Fields in edu.umd.cs.findbugs.ba.obl declared as ClassDescriptor Modifier and Type Field Description (package private) static ClassDescriptor
InstructionActionCache. WILL_CLOSE
(package private) static ClassDescriptor
ObligationAnalysis. willClose
Methods in edu.umd.cs.findbugs.ba.obl with parameters of type ClassDescriptor Modifier and Type Method 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. -
Uses of ClassDescriptor in edu.umd.cs.findbugs.ba.type
Methods in edu.umd.cs.findbugs.ba.type with parameters of type ClassDescriptor Modifier and Type Method Description static boolean
TypeFrameModelingVisitor. isStraightGenericMap(ClassDescriptor c)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.bcel
Methods in edu.umd.cs.findbugs.bcel that return ClassDescriptor Modifier and Type Method Description static ClassDescriptor
BCELUtil. getClassDescriptor(org.apache.bcel.classfile.JavaClass jclass)
Construct a ClassDescriptor from a JavaClass.Methods in edu.umd.cs.findbugs.bcel with parameters of type ClassDescriptor Modifier and Type Method Description void
CFGDetector. visitClass(ClassDescriptor classDescriptor)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.classfile
Fields in edu.umd.cs.findbugs.classfile declared as ClassDescriptor Modifier and Type Field Description private ClassDescriptor
InvalidClassFileFormatException. classDescriptor
private ClassDescriptor
MissingClassException. classDescriptor
static ClassDescriptor[]
ClassDescriptor. EMPTY_ARRAY
private ClassDescriptor
ClassNameMismatchException. loadedClassDescriptor
private static ClassDescriptor
DescriptorFactory. MODULE_INFO
Fields in edu.umd.cs.findbugs.classfile with type parameters of type ClassDescriptor Modifier and Type Field Description private java.util.Map<java.lang.String,ClassDescriptor>
DescriptorFactory. classDescriptorMap
private java.util.Map<java.lang.String,ClassDescriptor>
DescriptorFactory. dottedClassDescriptorMap
Methods in edu.umd.cs.findbugs.classfile that return ClassDescriptor Modifier and Type Method Description static ClassDescriptor
ClassDescriptor. createClassDescriptor(java.lang.String className)
Deprecated.UseDescriptorFactory.createClassDescriptor(String)
insteadstatic ClassDescriptor[]
ClassDescriptor. createClassDescriptor(java.lang.String[] classNames)
Deprecated.static ClassDescriptor
ClassDescriptor. createClassDescriptor(org.apache.bcel.classfile.JavaClass c)
Deprecated.static ClassDescriptor
DescriptorFactory. createClassDescriptor(java.lang.Class<?> aClass)
static ClassDescriptor
DescriptorFactory. createClassDescriptor(java.lang.String className)
static ClassDescriptor[]
DescriptorFactory. createClassDescriptor(java.lang.String[] classNames)
static ClassDescriptor
DescriptorFactory. createClassDescriptor(org.apache.bcel.classfile.JavaClass c)
static ClassDescriptor
ClassDescriptor. createClassDescriptorFromDottedClassName(java.lang.String dottedClassName)
Deprecated.static ClassDescriptor
DescriptorFactory. createClassDescriptorFromDottedClassName(java.lang.String dottedClassName)
static ClassDescriptor
DescriptorFactory. createClassDescriptorFromFieldSignature(java.lang.String signature)
Create a class descriptor from a field signaturestatic ClassDescriptor
DescriptorFactory. createClassDescriptorFromResourceName(java.lang.String resourceName)
Create a class descriptor from a resource name.static ClassDescriptor
ClassDescriptor. createClassDescriptorFromSignature(java.lang.String signature)
Deprecated.static ClassDescriptor
DescriptorFactory. createClassDescriptorFromSignature(java.lang.String signature)
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
DescriptorFactory. getClassDescriptor(java.lang.Class<?> actualClass)
ClassDescriptor
DescriptorFactory. getClassDescriptor(java.lang.String className)
Get a ClassDescriptor for a class name in VM (slashed) format.static ClassDescriptor
DescriptorFactory. getClassDescriptor(org.apache.bcel.generic.ObjectType type)
Get a ClassDescriptor for the class described by given ObjectType object.ClassDescriptor
FieldOrMethodDescriptor. getClassDescriptor()
ClassDescriptor
FieldOrMethodName. getClassDescriptor()
ClassDescriptor
ICodeBaseEntry. getClassDescriptor()
Return the ClassDescriptor of the class resource accessed by this codebase entry.ClassDescriptor
InvalidClassFileFormatException. getClassDescriptor()
ClassDescriptor
MissingClassException. getClassDescriptor()
ClassDescriptor
DescriptorFactory. getClassDescriptorForDottedClassName(java.lang.String dottedClassName)
Get a ClassDescriptor for a class name in dotted format.ClassDescriptor
ClassNameMismatchException. getLoadedClassDescriptor()
Methods in edu.umd.cs.findbugs.classfile that return types with arguments of type ClassDescriptor Modifier and Type Method Description java.util.Collection<ClassDescriptor>
DescriptorFactory. getAllClassDescriptors()
java.util.List<ClassDescriptor>
IClassPathBuilder. getAppClassList()
Get the list of application classes discovered while scanning the classpath.Methods in edu.umd.cs.findbugs.classfile with parameters of type ClassDescriptor Modifier and Type Method 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.Method parameters in edu.umd.cs.findbugs.classfile with type arguments of type ClassDescriptor Modifier and Type Method Description void
DescriptorFactory. purge(java.util.Collection<ClassDescriptor> unusable)
Constructors in edu.umd.cs.findbugs.classfile with parameters of type ClassDescriptor Constructor 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. -
Uses of ClassDescriptor in edu.umd.cs.findbugs.classfile.analysis
Subclasses of ClassDescriptor in edu.umd.cs.findbugs.classfile.analysis Modifier and Type Class 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.Fields in edu.umd.cs.findbugs.classfile.analysis declared as ClassDescriptor Modifier and Type Field Description private ClassDescriptor
AnnotationValue. annotationClass
private ClassDescriptor
ClassData. classDescriptor
(package private) ClassDescriptor
ClassNameAndSuperclassInfo.Builder. classDescriptor
ClassDescriptor
EnumValue. desc
private ClassDescriptor
ClassInfo.Builder. immediateEnclosingClass
private ClassDescriptor
ClassInfo. immediateEnclosingClass
(package private) ClassDescriptor[]
ClassNameAndSuperclassInfo.Builder. interfaceDescriptorList
private ClassDescriptor[]
ClassNameAndSuperclassInfo. interfaceDescriptorList
(package private) ClassDescriptor
ClassNameAndSuperclassInfo.Builder. superclassDescriptor
private ClassDescriptor
ClassNameAndSuperclassInfo. superclassDescriptor
Fields in edu.umd.cs.findbugs.classfile.analysis with type parameters of type ClassDescriptor Modifier and Type Field Description (package private) java.util.Set<ClassDescriptor>
ClassNameAndSuperclassInfo.Builder. calledClassDescriptors
private java.util.Set<ClassDescriptor>
ClassNameAndSuperclassInfo. calledClassDescriptors
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
ClassInfo.Builder. classAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
ClassInfo. classAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
FieldInfo.Builder. fieldAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
FieldInfo. fieldAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
MethodInfo.Builder. methodAnnotations
(package private) java.util.Map<ClassDescriptor,AnnotationValue>
MethodInfo. methodAnnotations
(package private) java.util.Map<java.lang.Integer,java.util.Map<ClassDescriptor,AnnotationValue>>
MethodInfo.Builder. methodParameterAnnotations
(package private) java.util.Map<java.lang.Integer,java.util.Map<ClassDescriptor,AnnotationValue>>
MethodInfo. methodParameterAnnotations
(package private) java.util.Collection<ClassDescriptor>
ClassNameAndSuperclassInfo.Builder. referencedClassDescriptorList
Methods in edu.umd.cs.findbugs.classfile.analysis that return ClassDescriptor Modifier and Type Method Description ClassDescriptor
AnnotationValue. getAnnotationClass()
ClassDescriptor
AnnotatedObject. getClassDescriptor()
return the ClassDescriptor for the class associated with this objectClassDescriptor
ClassData. getClassDescriptor()
ClassDescriptor
ClassInfo.Builder. getClassDescriptor()
ClassDescriptor
ClassNameAndSuperclassInfo. getClassDescriptor()
ClassDescriptor
ClassInfo. getImmediateEnclosingClass()
ClassDescriptor[]
ClassNameAndSuperclassInfo. getInterfaceDescriptorList()
ClassDescriptor
ClassNameAndSuperclassInfo. getSuperclassDescriptor()
Methods in edu.umd.cs.findbugs.classfile.analysis that return types with arguments of type ClassDescriptor Modifier and Type Method Description java.util.Collection<ClassDescriptor>
AnnotatedObject. getAnnotationDescriptors()
java.util.Collection<ClassDescriptor>
ClassInfo. getAnnotationDescriptors()
java.util.Collection<ClassDescriptor>
FieldInfo. getAnnotationDescriptors()
java.util.Collection<ClassDescriptor>
MethodInfo. getAnnotationDescriptors()
java.util.Set<ClassDescriptor>
ClassNameAndSuperclassInfo. getCalledClassDescriptors()
java.util.Collection<ClassDescriptor>
MethodInfo. getParameterAnnotationDescriptors(int param)
Methods in edu.umd.cs.findbugs.classfile.analysis with parameters of type ClassDescriptor Modifier and Type Method Description AnnotationValue
AnnotatedObject. getAnnotation(ClassDescriptor desc)
AnnotationValue
ClassInfo. getAnnotation(ClassDescriptor desc)
AnnotationValue
FieldInfo. getAnnotation(ClassDescriptor desc)
AnnotationValue
MethodInfo. 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)
Method parameters in edu.umd.cs.findbugs.classfile.analysis with type arguments of type ClassDescriptor Modifier and Type Method Description void
ClassNameAndSuperclassInfo.Builder. setCalledClassDescriptors(java.util.Collection<ClassDescriptor> calledClassDescriptorList)
void
ClassNameAndSuperclassInfo.Builder. setReferencedClassDescriptors(java.util.Collection<ClassDescriptor> referencedClassDescriptorList)
Constructors in edu.umd.cs.findbugs.classfile.analysis with parameters of type ClassDescriptor Constructor Description AnnotationValue(ClassDescriptor annotationClass)
Constructor.ClassData(ClassDescriptor classDescriptor, ICodeBaseEntry codeBaseEntry, byte[] data)
Constructor.ClassInfo(ClassDescriptor classDescriptor, java.lang.String classSourceSignature, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, java.lang.String source, int majorVersion, int minorVersion, java.util.Collection<ClassDescriptor> referencedClassDescriptorList, java.util.Set<ClassDescriptor> calledClassDescriptors, java.util.Map<ClassDescriptor,AnnotationValue> classAnnotations, FieldInfo[] fieldDescriptorList, MethodInfo[] methodInfoList, ClassDescriptor immediateEnclosingClass, boolean usesConcurrency, boolean hasStubs)
ClassNameAndSuperclassInfo(ClassDescriptor classDescriptor, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, java.util.Collection<ClassDescriptor> referencedClassDescriptorList, java.util.Set<ClassDescriptor> calledClassDescriptors, int majorVersion, int minorVersion)
Constructor parameters in edu.umd.cs.findbugs.classfile.analysis with type arguments of type ClassDescriptor Constructor Description ClassInfo(ClassDescriptor classDescriptor, java.lang.String classSourceSignature, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, java.lang.String source, int majorVersion, int minorVersion, java.util.Collection<ClassDescriptor> referencedClassDescriptorList, java.util.Set<ClassDescriptor> calledClassDescriptors, java.util.Map<ClassDescriptor,AnnotationValue> classAnnotations, FieldInfo[] fieldDescriptorList, MethodInfo[] methodInfoList, ClassDescriptor immediateEnclosingClass, boolean usesConcurrency, boolean hasStubs)
ClassInfo(ClassDescriptor classDescriptor, java.lang.String classSourceSignature, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, java.lang.String source, int majorVersion, int minorVersion, java.util.Collection<ClassDescriptor> referencedClassDescriptorList, java.util.Set<ClassDescriptor> calledClassDescriptors, java.util.Map<ClassDescriptor,AnnotationValue> classAnnotations, FieldInfo[] fieldDescriptorList, MethodInfo[] methodInfoList, ClassDescriptor immediateEnclosingClass, boolean usesConcurrency, boolean hasStubs)
ClassInfo(ClassDescriptor classDescriptor, java.lang.String classSourceSignature, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, java.lang.String source, int majorVersion, int minorVersion, java.util.Collection<ClassDescriptor> referencedClassDescriptorList, java.util.Set<ClassDescriptor> calledClassDescriptors, java.util.Map<ClassDescriptor,AnnotationValue> classAnnotations, FieldInfo[] fieldDescriptorList, MethodInfo[] methodInfoList, ClassDescriptor immediateEnclosingClass, boolean usesConcurrency, boolean hasStubs)
ClassNameAndSuperclassInfo(ClassDescriptor classDescriptor, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, java.util.Collection<ClassDescriptor> referencedClassDescriptorList, java.util.Set<ClassDescriptor> calledClassDescriptors, int majorVersion, int minorVersion)
ClassNameAndSuperclassInfo(ClassDescriptor classDescriptor, ClassDescriptor superclassDescriptor, ClassDescriptor[] interfaceDescriptorList, ICodeBaseEntry codeBaseEntry, int accessFlags, java.util.Collection<ClassDescriptor> referencedClassDescriptorList, java.util.Set<ClassDescriptor> calledClassDescriptors, int majorVersion, int minorVersion)
FieldInfo(java.lang.String className, java.lang.String fieldName, java.lang.String fieldSignature, java.lang.String fieldSourceSignature, int accessFlags, java.util.Map<ClassDescriptor,AnnotationValue> fieldAnnotations, boolean isResolved)
MethodInfo(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature, java.lang.String methodSourceSignature, int accessFlags, boolean isUnconditionalThrower, boolean isUnsupported, boolean usesConcurrency, boolean hasBackBranch, boolean isStub, boolean isIdentity, boolean usesInvokeDynamic, int methodCallCount, java.lang.String[] exceptions, MethodDescriptor accessMethodForMethod, FieldDescriptor accessMethodForField, java.util.Map<ClassDescriptor,AnnotationValue> methodAnnotations, java.util.Map<java.lang.Integer,java.util.Map<ClassDescriptor,AnnotationValue>> methodParameterAnnotations, long variableIsSynthetic)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.classfile.engine
Fields in edu.umd.cs.findbugs.classfile.engine declared as ClassDescriptor Modifier and Type Field Description private ClassDescriptor
ClassDataAnalysisEngine.VirtualCodeBaseEntry. descriptor
private ClassDescriptor
ClassParser. expectedClassDescriptor
private ClassDescriptor
ClassParserUsingBCEL. expectedClassDescriptor
Deprecated.Fields in edu.umd.cs.findbugs.classfile.engine with type parameters of type ClassDescriptor Modifier and Type Field Description private java.util.TreeSet<ClassDescriptor>
ClassParserUsingASM.ClassParserMethodVisitor. calledClassSet
Methods in edu.umd.cs.findbugs.classfile.engine that return ClassDescriptor Modifier and Type Method Description ClassDescriptor
ClassDataAnalysisEngine.VirtualCodeBaseEntry. getClassDescriptor()
private ClassDescriptor
ClassParser. getClassDescriptor(int index)
Get the ClassDescriptor of a class referenced in the constant pool.Methods in edu.umd.cs.findbugs.classfile.engine that return types with arguments of type ClassDescriptor Modifier and Type Method Description private java.util.Collection<ClassDescriptor>
ClassParser. extractReferencedClasses()
Extract references to other classes.Methods in edu.umd.cs.findbugs.classfile.engine with parameters of type ClassDescriptor Modifier and Type Method Description ClassData
ClassDataAnalysisEngine. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
ClassInfo
ClassInfoAnalysisEngine. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
ClassNameAndSuperclassInfo
ClassNameAndSuperclassInfoAnalysisEngine. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
static <T> MultiMap<T,T>
SelfMethodCalls. getSelfCalls(ClassDescriptor classDescriptor, java.util.Map<java.lang.String,T> methods)
Method parameters in edu.umd.cs.findbugs.classfile.engine with type arguments of type ClassDescriptor Modifier and Type Method Description static void
ClassParser. extractReferencedClassesFromSignature(java.util.Set<ClassDescriptor> referencedClassSet, java.lang.String signature)
Constructors in edu.umd.cs.findbugs.classfile.engine with parameters of type ClassDescriptor Constructor 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.VirtualCodeBaseEntry(ClassDescriptor descriptor)
Constructor parameters in edu.umd.cs.findbugs.classfile.engine with type arguments of type ClassDescriptor Constructor Description ClassParserMethodVisitor(java.util.TreeSet<ClassDescriptor> calledClassSet, MethodInfo.Builder mBuilder, java.lang.String methodName, int access, java.lang.String methodDesc, ClassNameAndSuperclassInfo.Builder cBuilder)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.classfile.engine.asm
Methods in edu.umd.cs.findbugs.classfile.engine.asm with parameters of type ClassDescriptor Modifier and Type Method Description org.objectweb.asm.tree.ClassNode
ClassNodeAnalysisEngine. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
FBClassReader
ClassReaderAnalysisEngine. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.classfile.engine.bcel
Methods in edu.umd.cs.findbugs.classfile.engine.bcel with parameters of type ClassDescriptor Modifier and Type Method Description AssertionMethods
AssertionMethodsFactory. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
AssignedFieldMap
AssignedFieldMapFactory. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
ClassContext
ClassContextClassAnalysisEngine. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
org.apache.bcel.generic.ConstantPoolGen
ConstantPoolGenFactory. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
org.apache.bcel.classfile.JavaClass
JavaClassAnalysisEngine. 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)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.classfile.impl
Fields in edu.umd.cs.findbugs.classfile.impl with type parameters of type ClassDescriptor Modifier and Type Field Description private java.util.LinkedList<ClassDescriptor>
ClassPathBuilder. appClassList
private java.util.Map<java.lang.Class<?>,java.util.Map<ClassDescriptor,java.lang.Object>>
AnalysisCache. classAnalysisMap
Methods in edu.umd.cs.findbugs.classfile.impl that return ClassDescriptor Modifier and Type Method Description ClassDescriptor
DelegatingCodeBaseEntry. getClassDescriptor()
ClassDescriptor
DirectoryCodeBaseEntry. getClassDescriptor()
ClassDescriptor
JrtfsCodeBase.JrtfsCodebaseEntry. getClassDescriptor()
(package private) ClassDescriptor
SingleFileCodeBase. getClassDescriptor()
ClassDescriptor
SingleFileCodeBaseEntry. getClassDescriptor()
ClassDescriptor
ZipFileCodeBaseEntry. getClassDescriptor()
ClassDescriptor
ZipInputStreamCodeBaseEntry. getClassDescriptor()
Methods in edu.umd.cs.findbugs.classfile.impl that return types with arguments of type ClassDescriptor Modifier and Type Method Description private <E> java.util.Map<ClassDescriptor,E>
AnalysisCache. getAllClassAnalysis(java.lang.Class<E> analysisClass)
java.util.List<ClassDescriptor>
ClassPathBuilder. getAppClassList()
java.util.Map<ClassDescriptor,java.lang.Object>
AnalysisCache. getClassAnalysis(java.lang.Class<?> analysisClass)
Methods in edu.umd.cs.findbugs.classfile.impl with parameters of type ClassDescriptor Modifier and Type Method Description <E> E
AnalysisCache. getClassAnalysis(java.lang.Class<E> analysisClass, ClassDescriptor classDescriptor)
<E> E
AnalysisCache. probeClassAnalysis(java.lang.Class<E> analysisClass, ClassDescriptor classDescriptor)
Method parameters in edu.umd.cs.findbugs.classfile.impl with type arguments of type ClassDescriptor Modifier and Type Method 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 -
Uses of ClassDescriptor in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect declared as ClassDescriptor Modifier and Type Field Description (package private) static ClassDescriptor
CheckAnalysisContextContainedAnnotation. AnalysisContextContainedAnnotation
private ClassDescriptor
StaticCalendarDetector. calendarType
ObjectType
forCalendar
private ClassDescriptor
FindPotentialSecurityCheckBasedOnUntrustedSource.CalleeInfo. calledClass
private ClassDescriptor
BuildObligationPolicyDatabase. cleanupObligation
private ClassDescriptor
CloneIdiom. cloneDescriptor
(package private) ClassDescriptor
DontIgnoreResultOfPutIfAbsent. concurrentMapDescriptor
(package private) static ClassDescriptor
CheckAnalysisContextContainedAnnotation. ConstantAnnotation
private ClassDescriptor
BuildObligationPolicyDatabase. createsObligation
private ClassDescriptor
StaticCalendarDetector. dateFormatType
ObjectType
forDateFormat
private ClassDescriptor
CheckExpectedWarnings. desireNoWarning
Deprecated.private ClassDescriptor
CheckExpectedWarnings. desireWarning
Deprecated.private ClassDescriptor
BuildObligationPolicyDatabase. dischargesObligation
(package private) ClassDescriptor
FindHEmismatch. equalsOtherClass
private ClassDescriptor
CheckExpectedWarnings. expectWarning
Deprecated.(package private) ClassDescriptor
UnreadFields. externalizable
(package private) ClassDescriptor
FindUnrelatedTypesInGenericContainer.Info. interfaceForCall
(package private) static ClassDescriptor
FindPuzzlers. ITERATOR
private ClassDescriptor
IteratorIdioms. iteratorDescriptor
private ClassDescriptor
UnreadFields. junitNestedAnnotation
(package private) static ClassDescriptor
FindPuzzlers. MAP_ENTRY
(package private) ClassDescriptor
OverridingMethodsMustInvokeSuperDetector. mustOverrideAnnotation
private ClassDescriptor
CheckExpectedWarnings. noWarning
Deprecated.private static ClassDescriptor
ExplicitSerialization. ObjectInputStream
private static ClassDescriptor
ExplicitSerialization. ObjectOutputStream
(package private) ClassDescriptor
UnreadFields. remote
(package private) ClassDescriptor
UnreadFields. serializable
private static ClassDescriptor
FindInconsistentSync2. servlet
private static ClassDescriptor
FindInconsistentSync2. singleThreadedServlet
private ClassDescriptor
BuildObligationPolicyDatabase. willClose
private ClassDescriptor
BuildObligationPolicyDatabase. willCloseWhenClosed
private ClassDescriptor
BuildObligationPolicyDatabase. willNotClose
Fields in edu.umd.cs.findbugs.detect with type parameters of type ClassDescriptor Modifier and Type Field Description (package private) java.util.Set<ClassDescriptor>
DefaultEncodingDetector.DefaultEncodingAnnotationDatabase. classes
(package private) java.util.Map<ClassDescriptor,java.util.Set<ClassDescriptor>>
OverridingEqualsNotSymmetrical. classesWithGetClassBasedEquals
(package private) java.util.Map<ClassDescriptor,java.util.Set<ClassDescriptor>>
OverridingEqualsNotSymmetrical. classesWithGetClassBasedEquals
(package private) java.util.Map<ClassDescriptor,java.util.Set<ClassDescriptor>>
OverridingEqualsNotSymmetrical. classesWithInstanceOfBasedEquals
(package private) java.util.Map<ClassDescriptor,java.util.Set<ClassDescriptor>>
OverridingEqualsNotSymmetrical. classesWithInstanceOfBasedEquals
private java.util.Queue<ClassDescriptor>
CheckRelaxingNullnessAnnotation.HierarchyIterator. interfacesToVisit
private static java.util.List<ClassDescriptor>
UnreadFields. READ_BY_FRAMEWORK_ANNOTATIONS
A list of annotations for fields that might be read by frameworks, even though they are privateprivate java.util.Set<ClassDescriptor>
FindNoSideEffectMethods. subtypes
(package private) java.util.HashSet<ClassDescriptor>
UnreadFieldsData. toldStrongEvidenceForIntendedSerialization
private java.util.Set<ClassDescriptor>
CheckRelaxingNullnessAnnotation.HierarchyIterator. visited
private java.util.Map<ClassDescriptor,java.util.Collection<BugInstance>>
CheckExpectedWarnings. warningsByClass
Deprecated.Methods in edu.umd.cs.findbugs.detect with parameters of type ClassDescriptor Modifier and Type Method Description private void
FindPotentialSecurityCheckBasedOnUntrustedSource. addToNonFinalMethodsCalledOnParam(ClassDescriptor calledClass, XMethod calledMethod, OpcodeStack.Item object)
private void
CheckExpectedWarnings. check(XClass xclass, ClassDescriptor annotation, boolean expectWarnings, int priority)
Deprecated.private void
CheckExpectedWarnings. check(XField xfield, ClassDescriptor annotation, boolean expectWarnings, int priority)
Deprecated.private void
CheckExpectedWarnings. check(XMethod xmethod, ClassDescriptor annotation, boolean expectWarnings, int priority)
Deprecated.private void
CheckExpectedWarnings. check(AnnotationValue expect, java.lang.Object descriptor, java.util.Collection<BugInstance> warnings, boolean expectWarnings, int priority, ClassDescriptor cd)
Deprecated.private void
EqualsOperandShouldHaveClassCompatibleWithThis. check(ClassDescriptor c)
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)
Deprecated.boolean
UnreadFields. existsStrongEvidenceForIntendedSerialization(ClassDescriptor c)
Deprecated.boolean
UnreadFieldsData. existsStrongEvidenceForIntendedSerialization(ClassDescriptor c)
(package private) XClass
CheckRelaxingNullnessAnnotation. getClassInfo(ClassDescriptor classDescr)
private static boolean
WrongMapIterator. implementsMap(ClassDescriptor d)
Determine from the class descriptor for a variable whether that variable implements java.util.Map.private boolean
FindReturnRef. isFieldOf(XField field, ClassDescriptor klass)
private boolean
FindUnrelatedTypesInGenericContainer. isGenericCollection(ClassDescriptor operandClass)
BugInstance
CheckExpectedWarnings. makeWarning(java.lang.String bugPattern, java.lang.Object descriptor, int priority, ClassDescriptor cd)
Deprecated.private static boolean
Naming. mightInheritFromException(ClassDescriptor d)
Determine whether the class descriptor ultimately inherits from java.lang.Exceptionvoid
UnreadFields. strongEvidenceForIntendedSerialization(ClassDescriptor c)
Deprecated.void
UnreadFieldsData. strongEvidenceForIntendedSerialization(ClassDescriptor c)
void
BuildObligationPolicyDatabase. visitClass(ClassDescriptor classDescriptor)
void
CheckExpectedWarnings. visitClass(ClassDescriptor classDescriptor)
Deprecated.void
CheckRelaxingNullnessAnnotation. visitClass(ClassDescriptor classDescriptor)
void
CheckTypeQualifiers. visitClass(ClassDescriptor classDescriptor)
void
FindUnsatisfiedObligation. visitClass(ClassDescriptor classDescriptor)
void
TestDataflowAnalysis. visitClass(ClassDescriptor classDescriptor)
Constructors in edu.umd.cs.findbugs.detect with parameters of type ClassDescriptor Constructor Description CalleeInfo(ClassDescriptor cls, XMethod called, java.lang.String name, SourceLineAnnotation line)
Info(ClassDescriptor interfaceForCall, int argumentIndex, int typeIndex)
-
Uses of ClassDescriptor in edu.umd.cs.findbugs.util
Constructors in edu.umd.cs.findbugs.util with parameters of type ClassDescriptor Constructor Description SubtypeTypeMatcher(ClassDescriptor classDescriptor)
Constructor. -
Uses of ClassDescriptor in edu.umd.cs.findbugs.visitclass
Fields in edu.umd.cs.findbugs.visitclass declared as ClassDescriptor Modifier and Type Field Description private ClassDescriptor
DismantleBytecode. referencedClass
Methods in edu.umd.cs.findbugs.visitclass that return ClassDescriptor Modifier and Type Method Description ClassDescriptor
PreorderVisitor. getClassDescriptor()
ClassDescriptor
DismantleBytecode. getClassDescriptorOperand()
-