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.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.internalAnnotations | |
edu.umd.cs.findbugs.util | |
edu.umd.cs.findbugs.visitclass |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
PackageMemberAnnotation.getSlashedClassName()
Get the dotted class name.
|
Modifier and Type | Method and Description |
---|---|
BugInstance |
BugInstance.addClass(java.lang.String className)
Add a class annotation.
|
BugInstance |
BugInstance.addMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
int accessFlags)
Add a method annotation.
|
static MethodAnnotation |
MethodAnnotation.fromForeignMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
int accessFlags)
Factory method to create the MethodAnnotation from the classname, method
name, signature, etc.
|
static XClass |
Lookup.getXClass(java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
static void |
XFactory.assertSlashedClassName(java.lang.String className) |
static XField |
XFactory.createXFieldUsingSlashedClassName(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSignature,
boolean isStatic)
Create an XField object
|
static XMethod |
XFactory.createXMethodUsingSlashedClassName(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic) |
static XField |
XFactory.getExactXField(java.lang.String className,
org.apache.bcel.classfile.Field f) |
static XField |
XFactory.getExactXField(java.lang.String className,
java.lang.String name,
java.lang.String signature,
boolean isStatic)
Get an XField object exactly matching given class, name, and signature.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ClassDescriptor.getClassName() |
java.lang.String |
FieldOrMethodDescriptor.getSlashedClassName() |
Modifier and Type | Method and Description |
---|---|
static ClassDescriptor |
DescriptorFactory.createClassDescriptor(java.lang.String className) |
static ClassDescriptor |
ClassDescriptor.createClassDescriptor(java.lang.String className)
Deprecated.
Use
DescriptorFactory.createClassDescriptor(String)
instead |
ClassDescriptor |
DescriptorFactory.getClassDescriptor(java.lang.String className)
Get a ClassDescriptor for a class name in VM (slashed) format.
|
FieldDescriptor |
DescriptorFactory.getFieldDescriptor(java.lang.String className,
org.apache.bcel.classfile.Field ma) |
FieldDescriptor |
DescriptorFactory.getFieldDescriptor(java.lang.String className,
java.lang.String name,
java.lang.String signature,
boolean isStatic)
Get a FieldDescriptor.
|
MethodDescriptor |
DescriptorFactory.getMethodDescriptor(java.lang.String className,
java.lang.String name,
java.lang.String signature,
boolean isStatic)
Get a MethodDescriptor.
|
Constructor and Description |
---|
ClassDescriptor(java.lang.String className)
Constructor.
|
FieldDescriptor(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSignature,
boolean isStatic)
Constructor.
|
FieldOrMethodDescriptor(java.lang.String slashedClassName,
java.lang.String name,
java.lang.String signature,
boolean isStatic) |
MethodDescriptor(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSignature) |
MethodDescriptor(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSignature,
boolean isStatic)
Constructor.
|
Constructor and Description |
---|
FieldInfo.Builder(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSignature,
int accessFlags) |
MethodInfo.Builder(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSignature,
int accessFlags) |
Modifier and Type | Class and Description |
---|---|
interface |
DottedClassName
Denotes a class name or package name where the .
|
Modifier and Type | Method and Description |
---|---|
javax.annotation.meta.When |
SlashedClassName.Checker.forConstantValue(SlashedClassName annotation,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ClassName.assertIsSlashed(java.lang.String className) |
static java.lang.String |
ClassName.extractClassName(java.lang.String originalName)
Extract a slashed classname from a JVM classname or signature.
|
static java.lang.String |
ClassName.fromFieldSignature(java.lang.String signature)
Converts from signature to slashed class name
(e.g., from Ljava/lang/String; to java/lang/String).
|
static java.lang.String |
ClassName.toSlashedClassName(java.lang.Class<?> class1) |
static java.lang.String |
ClassName.toSlashedClassName(java.lang.String className)
Convert class name to slashed format.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ClassName.assertIsSlashed(java.lang.String className) |
static java.lang.String |
ClassName.getPrimitiveType(java.lang.String cls) |
static boolean |
ClassName.isMathClass(java.lang.String className) |
static java.lang.String |
ClassName.toDottedClassName(java.lang.String className)
Convert class name to dotted format.
|
static java.lang.String |
ClassName.toSignature(java.lang.String className) |
static java.lang.String |
ClassName.toSlashedClassName(java.lang.String className)
Convert class name to slashed format.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DismantleBytecode.getClassConstantOperand()
If the current opcode has a class constant operand, get the classname,
slash-formatted.
|
java.lang.String |
PreorderVisitor.getClassName()
Get the slash-formatted class name for the current or most recently
visited class
|
java.lang.String |
PreorderVisitor.getSuperclassName()
Get the slash-formatted superclass name for the current or most recently
visited class
|
Modifier and Type | Method and Description |
---|---|
static int |
Util.getSizeOfSurroundingTryBlock(org.apache.bcel.classfile.ConstantPool constantPool,
org.apache.bcel.classfile.Code code,
java.lang.String vmNameOfExceptionClass,
int pc) |
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.