|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmlspecs.jmlunit.TestClassGenerator.MethodInfo
Common information needed from JMethodDeclarationType and CMethod in this class.
| Field Summary | |
private boolean |
isConstr
Is this a constructor? |
private boolean |
isDepr
Is this deprecated? |
private long |
mods
The method's modifiers |
private String |
name
The method's name |
private TestClassGenerator.Parameter[] |
params
The method's parameters |
private CType |
retTyp
The method's return type |
| Constructor Summary | |
TestClassGenerator.MethodInfo(CMethod m)
Initialize this object from the given CMethod |
|
TestClassGenerator.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? |
long |
modifiers()
Return the modifiers of this method. |
TestClassGenerator.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 |
| Field Detail |
private CType retTyp
private long mods
private String name
private TestClassGenerator.Parameter[] params
private boolean isConstr
private boolean isDepr
| Constructor Detail |
public TestClassGenerator.MethodInfo(CMethod m)
public TestClassGenerator.MethodInfo(JMethodDeclarationType mdecl)
| Method Detail |
public final CType returnType()
public final long modifiers()
public final String ident()
public final TestClassGenerator.Parameter[] parameters()
public final boolean isConstructor()
public final boolean isDeprecated()
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||