|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.tools.xref.Method
This class is used to store all information pertaining to a method in the system. This include things like: 1. class references made using the instanceof operator 2. classes instantiated 3. names of method's called from this method 4. names of methods that call this method 5. names of fields from other classes referenced by this method
Field Summary | |
private String[] |
d_argTypes
|
private String |
d_className
|
private String |
d_methodName
|
private int |
d_methodNumber
|
private ClassInterface |
d_owner
|
private String |
d_packageClassSpec
|
private String |
d_packageName
|
private String |
d_returnType
|
Constructor Summary | |
Method(ClassInterface owner,
com.ibm.toad.cfparse.MethodInfo mi)
This constructor is used to automatically construct a Method object from a MethodInfo object. |
|
Method(ClassInterface owner,
String returnType,
String className,
String methodName,
String[] argTypes)
|
Method Summary | |
String[] |
getArgTypes()
This method returns a reference to the d_argTypes array. |
String |
getClassName()
This method returns a reference to the d_packageClassSpec field. |
(package private) int |
getMethodNumber()
|
String |
getName()
|
String |
getReturnType()
This method returns a reference to the d_returnType field. |
String |
methodSignature(boolean includeClassName)
This method produces a full method signature for this Method instance. |
(package private) void |
setMethodNumber(int number)
|
String |
toFileName()
This method constructs a unique fileName based on the method name and the argument list. |
String |
toHrefDisplayString()
This method implements the WriteHtmlInterface. |
String |
toString()
This method returns the full method signature of this method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private ClassInterface d_owner
private String d_returnType
private String d_packageClassSpec
private String d_packageName
private String d_className
private String d_methodName
private String[] d_argTypes
private int d_methodNumber
Constructor Detail |
public Method(ClassInterface owner, com.ibm.toad.cfparse.MethodInfo mi)
public Method(ClassInterface owner, String returnType, String className, String methodName, String[] argTypes)
Method Detail |
void setMethodNumber(int number)
int getMethodNumber()
public String getReturnType()
public String getClassName()
public String getName()
public String[] getArgTypes()
public String toString()
public String methodSignature(boolean includeClassName)
public String toFileName()
toFileName
in interface WriteHtmlInterface
public String toHrefDisplayString()
toHrefDisplayString
in interface WriteHtmlInterface
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |