edu.umd.cs.findbugs.ba
public class XFactory extends Object
| Field Summary | |
|---|---|
| static boolean | DEBUG_CIRCULARITY |
| Constructor Summary | |
|---|---|
| XFactory() | |
| Method Summary | |
|---|---|
| void | addCalledMethod(XMethod m) |
| static String | canonicalizeString(String s) |
| static XField | createReferencedXField(DismantleBytecode visitor) |
| static XMethod | createReferencedXMethod(DismantleBytecode visitor) |
| static XField | createXField(String className, String fieldName, String fieldSignature, boolean isStatic)
Create an XField object
|
| static XField | createXField(FieldInstruction fieldInstruction, ConstantPoolGen cpg) |
| static XField | createXField(FieldAnnotation f) |
| static XField | createXField(JavaClass javaClass, Field field) |
| static XField | createXField(String className, Field field)
Create an XField object from a BCEL Field.
|
| static XField | createXField(String className, String fieldName, String fieldSig, int accessFlags) |
| static XField | createXField(PreorderVisitor visitor)
Create an XField object from the field currently being visited by
the given PreorderVisitor.
|
| static XMethod | createXMethod(String className, Method method)
Create an XMethod object from a BCEL Method.
|
| static XMethod | createXMethod(String className, String methodName, String methodSig, int accessFlags) |
| static XMethod | createXMethod(JavaClass javaClass, Method method)
Create an XMethod object from a BCEL Method.
|
| static XMethod | createXMethod(String className, String methodName, String methodSig, boolean isStatic) |
| static XMethod | createXMethod(MethodAnnotation ma) |
| static XMethod | createXMethod(InvokeInstruction invokeInstruction, ConstantPoolGen cpg)
Create an XMethod object from an InvokeInstruction.
|
| static XMethod | createXMethod(PreorderVisitor visitor)
Create an XMethod object from the method currently being visited by
the given PreorderVisitor.
|
| static XMethod | createXMethod(MethodGen methodGen) |
| static XMethod | createXMethod(JavaClassAndMethod classAndMethod) |
| void | deprecate(ClassMember m) |
| Set<? extends ClassMember> | getDeprecated() |
| Set<XField> | getFields() |
| Set<XMethod> | getMethods() |
| boolean | isCalled(XMethod m) |
| boolean | isInterned(XMethod m) |
Parameters: className fieldName fieldSignature isStatic
Returns: the created XField
Parameters: className the name of the Java class containing the field field the Field within the JavaClass
Returns: the created XField
Parameters: visitor the PreorderVisitor
Returns: the XField representing the method currently being visited
Parameters: className the class to which the Method belongs method the Method
Returns: an XMethod representing the Method
Parameters: javaClass the class to which the Method belongs method the Method
Returns: an XMethod representing the Method
Parameters: className methodName methodSig isStatic
Returns: the created XMethod
Parameters: invokeInstruction the InvokeInstruction cpg ConstantPoolGen from the class containing the instruction
Returns: XMethod representing the method called by the InvokeInstruction
Parameters: visitor the PreorderVisitor
Returns: the XMethod representing the method currently being visited
Parameters: m