edu.umd.cs.findbugs.ba
public class JavaClassAndMethod extends Object
Constructor Summary | |
---|---|
JavaClassAndMethod(JavaClass javaClass, Method method)
Constructor.
| |
JavaClassAndMethod(XMethod method)
Constructor.
|
Method Summary | |
---|---|
JavaClass | getJavaClass()
Get the JavaClass. |
Method | getMethod()
Get the Method. |
MethodDescriptor | toMethodDescriptor()
Get the MethodDescriptor that (hopefully) uniqely names
this method.
|
XMethod | toXMethod()
Convert to an XMethod. |
Parameters: javaClass the JavaClass method a Method belonging to the JavaClass
Parameters: method an XMethod specifying a specific method in a specific class
Throws: ClassNotFoundException
Returns: the MethodDescriptor uniquely naming this method