|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.ba.XFactory
public abstract class XFactory
Factory methods for creating XMethod objects.
| Constructor Summary | |
|---|---|
XFactory()
|
|
| Method Summary | |
|---|---|
static XField |
createXField(org.apache.bcel.classfile.JavaClass javaClass,
org.apache.bcel.classfile.Field field)
Create an XField object from a BCEL Field. |
static XField |
createXField(PreorderVisitor visitor)
Create an XField object from the field currently being visited by the given PreorderVisitor. |
static XField |
createXField(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSignature,
boolean isStatic,
int accessFlags)
Create an XField object |
static XMethod |
createXMethod(org.apache.bcel.generic.InvokeInstruction invokeInstruction,
org.apache.bcel.generic.ConstantPoolGen cpg)
Create an XMethod object from an InvokeInstruction. |
static XMethod |
createXMethod(org.apache.bcel.classfile.JavaClass javaClass,
org.apache.bcel.classfile.Method method)
Create an XMethod object from a BCEL Method. |
static XMethod |
createXMethod(PreorderVisitor visitor)
Create an XMethod object from the method currently being visited by the given PreorderVisitor. |
static XMethod |
createXMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic)
Create an XMethod. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XFactory()
| Method Detail |
|---|
public static XMethod createXMethod(org.apache.bcel.classfile.JavaClass javaClass,
org.apache.bcel.classfile.Method method)
javaClass - the class to which the Method belongsmethod - the Method
public static XField createXField(java.lang.String className,
java.lang.String fieldName,
java.lang.String fieldSignature,
boolean isStatic,
int accessFlags)
className - fieldName - fieldSignature - isStatic - accessFlags -
public static XField createXField(org.apache.bcel.classfile.JavaClass javaClass,
org.apache.bcel.classfile.Field field)
javaClass - the JavaClass containing the fieldfield - the Field within the JavaClass
public static XMethod createXMethod(org.apache.bcel.generic.InvokeInstruction invokeInstruction,
org.apache.bcel.generic.ConstantPoolGen cpg)
invokeInstruction - the InvokeInstructioncpg - ConstantPoolGen from the class containing the instruction
public static XMethod createXMethod(PreorderVisitor visitor)
visitor - the PreorderVisitor
public static XField createXField(PreorderVisitor visitor)
visitor - the PreorderVisitor
public static XMethod createXMethod(java.lang.String className,
java.lang.String methodName,
java.lang.String methodSig,
boolean isStatic)
className - class containing the methodmethodName - method namemethodSig - method signatureisStatic - true if method is static, false if not
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||