@ParametersAreNonnullByDefault @AnalysisContextContained
Package edu.umd.cs.findbugs.classfile
A high-level abstraction layer for codebases, classes, and components of
classes (methods, fields, instructions, etc.). The idea is to decouple
FindBugs as much as possible from any particular bytecode framework (BCEL,
ASM, etc.)
Implementations of these interfaces may be found in the
edu.umd.cs.findbugs.classfile.impl package. Instances should be created
using the ClassFactory singleton in that package.
-
Interface Summary Interface Description FieldOrMethodName IAnalysisCache The analysis cache performs analyses on classes and methods and caches the results.IAnalysisEngine<DescriptorType,ResultType> An engine for analyzing classes or methods.IAnalysisEngineRegistrar Interface for a registrar class that registers analysis engines with an analysis cache.IClassAnalysisEngine<ResultType> Engine for performing an analysis on classes.IClassConstants IClassFactory IClassObserver Observer for classes being visited in some manner.IClassPath A classpath from which resources (classes and other files) may be loaded.IClassPathBuilder Build a classpath.IClassPathBuilderProgress Progress callback interface for classpath construction.ICodeBase Interface for a basic code base in which we can look up resources but not necessarily scan for the list of all resources.ICodeBaseEntry Object representing a resource in a code base.ICodeBaseIterator Iterator over the resources in an IScannableCodeBase.ICodeBaseLocator Specify the location of a codebase.IDatabaseFactory<T> Interface for a database factory.IErrorLogger Interface for objects that log various kinds of analysis errors.IMethodAnalysisEngine<ResultType> Engine for performing an analysis on methods.IScannableCodeBase A scannable code base: in addition to looking up a named resource, scannable code bases can also enumerate the names of the resources they contain. -
Class Summary Class Description ClassDescriptor Descriptor identifying a class.DescriptorFactory Factory for creating ClassDescriptors, MethodDescriptors, and FieldDescriptors.FieldDescriptor Descriptor uniquely identifying a field in a class.FieldOrMethodDescriptor Common superclass for FieldDescriptor and MethodDescriptor.Global Static methods for accessing objects that are global to an analysis session.MethodDescriptor Descriptor uniquely identifying a method in a class.RecomputableClassAnalysisEngine<ResultType> ReflectionDatabaseFactory<E> A generic database factory that tries to create the database by (in order of preference) Invoking a static create method Invoking a no-arg constructor -
Enum Summary Enum Description ICodeBase.Discovered -
Exception Summary Exception Description CheckedAnalysisException Common superclass for all checked exceptions that can be thrown while performing some kind of analysis.ClassNameMismatchException Exception to indicate that the class name defined in a class file does not match its expected class name (as indicated by its resource name).InvalidClassFileFormatException MissingClassException CheckedAnalysisException subtype to indicate that a required class was missing.ResourceNotFoundException Exception to indicate that a resource was not found.UncheckedAnalysisException Common base class for unchecked analysis exceptions.