|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.utjml.rat.MethodInfo
public class MethodInfo
A common information needed from JMethodDeclarationType and CMethod in this class.
| Field Summary |
|---|
| Fields inherited from interface edu.utep.cs.utjml.rat.Constants |
|---|
DOT_JAVA, PKG_JMLRAC, PKG_JMLUNIT, PKG_JUNIT, TEST_CLASS_FILE_NAME_POSTFIX, TEST_CLASS_NAME_POSTFIX, TEST_DATA_FILE_NAME_POSTFIX, TEST_DATA_NAME_POSTFIX, TEST_METHOD_NAME_PREFIX |
| Constructor Summary | |
|---|---|
MethodInfo(CMethod m)
Initialize this object from the given CMethod |
|
MethodInfo(JMethodDeclarationType mdecl)
Initialize this object from the given JMethodDeclarationType |
|
| Method Summary | |
|---|---|
String |
ident()
Return the name of this method. |
boolean |
isConstructor()
Is this a constructor? |
boolean |
isDeprecated()
Is this method deprecated? |
boolean |
isInstance()
|
boolean |
isStatic()
Returns true if the argument has a static modifier. |
long |
modifiers()
Return the modifiers of this method. |
edu.utep.cs.utjml.rat.Parameter[] |
parameters()
Return this method's parameters |
CType |
returnType()
Return the modifiers of this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodInfo(CMethod m)
public MethodInfo(JMethodDeclarationType mdecl)
| Method Detail |
|---|
public final CType returnType()
public final long modifiers()
public final String ident()
public final edu.utep.cs.utjml.rat.Parameter[] parameters()
public final boolean isConstructor()
public final boolean isInstance()
public final boolean isStatic()
public final boolean isDeprecated()
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||