Package edu.umd.cs.findbugs.classfile
@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.
-
ClassDescriptionCommon superclass for all checked exceptions that can be thrown while performing some kind of analysis.Descriptor identifying a class.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).Factory for creating ClassDescriptors, MethodDescriptors, and FieldDescriptors.Descriptor uniquely identifying a field in a class.Common superclass for FieldDescriptor and MethodDescriptor.Static methods for accessing objects that are global to an analysis session.The analysis cache performs analyses on classes and methods and caches the results.IAnalysisEngine<DescriptorType,
ResultType> An engine for analyzing classes or methods.Interface for a registrar class that registers analysis engines with an analysis cache.IClassAnalysisEngine<ResultType>Engine for performing an analysis on classes.Observer for classes being visited in some manner.A classpath from which resources (classes and other files) may be loaded.Build a classpath.Progress callback interface for classpath construction.Interface for a basic code base in which we can look up resources but not necessarily scan for the list of all resources.Object representing a resource in a code base.Iterator over the resources in an IScannableCodeBase.Specify the location of a codebase.Interface for a database factory.Interface for objects that log various kinds of analysis errors.IMethodAnalysisEngine<ResultType>Engine for performing an analysis on methods.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.Descriptor uniquely identifying a method in a class.CheckedAnalysisException subtype to indicate that a required class was missing.RecomputableClassAnalysisEngine<ResultType>A generic database factory that tries to create the database by (in order of preference) Invoking a static create method Invoking a no-arg constructorException to indicate that a resource was not found.Common base class for unchecked analysis exceptions.