|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.moesol.generator.Callable
public abstract class Callable
Encapsulate a Method or Constructor
Field Summary | |
---|---|
static int |
CLASS
Tell getKeyString to include the class name |
static int |
METHOD
Tell getKeyString to include the method name |
static int |
PACKAGE
Tell getKeyString to include the package name |
static int |
PARAMETERS
Tell getKeyString to include the parameters |
static int |
WILD
Tell getKeyString to include the wildcard |
Constructor Summary | |
---|---|
Callable()
|
Method Summary | |
---|---|
abstract Class |
getDeclaringClass()
See Method getDeclaringClass |
abstract Class[] |
getExceptionTypes()
See Method getExceptionTypes |
String |
getKeyString(int parts)
Build a lookup string based on which bits are set in parts . |
abstract int |
getModifiers()
See Method getModifiers |
abstract String |
getName()
See Method getName |
abstract Class[] |
getParameterTypes()
See Method getParameterTypes |
abstract Class |
getReturnType()
See Method getReturnType |
abstract boolean |
isImpl()
Determine if the method is a Java implementation method (if the name contains $ then return true). |
abstract boolean |
isOverloaded()
Determine if the declaring class has other methods with the same name, but different parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PACKAGE
public static final int CLASS
public static final int METHOD
public static final int PARAMETERS
public static final int WILD
Constructor Detail |
---|
public Callable()
Method Detail |
---|
public abstract Class getDeclaringClass()
public abstract Class getReturnType()
public abstract Class[] getParameterTypes()
public abstract Class[] getExceptionTypes()
public abstract String getName()
public abstract int getModifiers()
public abstract boolean isOverloaded()
public abstract boolean isImpl()
public String getKeyString(int parts) throws ApplyException
parts
.
parts
- parts to include in result.
ApplyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |