|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of JMethod in com.sun.codemodel |
---|
Methods in com.sun.codemodel that return JMethod | |
---|---|
JMethod |
JMethod._throws(java.lang.Class exception)
|
JMethod |
JMethod._throws(JClass exception)
Add an exception to the list of exceptions that this method may throw. |
JMethod |
JDefinedClass.constructor(int mods)
Adds a constructor to this class. |
JMethod |
JDefinedClass.getConstructor(JType[] argTypes)
Looks for a method that has the specified method signature and return it. |
JMethod |
JDefinedClass.getMethod(java.lang.String name,
JType[] argTypes)
Looks for a method that has the specified method signature and return it. |
JMethod |
JDefinedClass.method(int mods,
java.lang.Class type,
java.lang.String name)
|
JMethod |
JDefinedClass.method(int mods,
JType type,
java.lang.String name)
Add a method to the list of method members of this JDefinedClass instance. |
Methods in com.sun.codemodel with parameters of type JMethod | |
---|---|
static JInvocation |
JExpr.invoke(JExpression lhs,
JMethod method)
|
JInvocation |
JBlock.invoke(JExpression expr,
JMethod method)
Creates an invocation statement and adds it to this block. |
static JInvocation |
JExpr.invoke(JMethod method)
|
JInvocation |
JBlock.invoke(JMethod method)
Creates an invocation statement and adds it to this block. |
JInvocation |
JExpressionImpl.invoke(JMethod method)
|
JInvocation |
JExpression.invoke(JMethod method)
|
JInvocation |
JClass.staticInvoke(JMethod method)
Generates a static method invocation. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |