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