| Package | Description |
|---|---|
| com.helger.jcodemodel |
Library for generating Java source code.
|
| Modifier and Type | Method and Description |
|---|---|
JMethod |
JMethod._throws(AbstractJClass exception)
Add an exception to the list of exceptions that this method may throw.
|
JMethod |
JMethod._throws(Class<? extends Throwable> exception) |
JMethod |
JDefinedClass.constructor(int mods)
Adds a constructor to this class.
|
JMethod |
JDefinedClass.getConstructor(AbstractJType[] aArgTypes)
Looks for a method that has the specified method signature and return it.
|
JMethod |
JDefinedClass.getMethod(String sName,
AbstractJType[] aArgTypes)
Looks for a method that has the specified method signature and return it.
|
JMethod |
JDefinedClass.method(int mods,
AbstractJType type,
String name)
Add a method to the list of method members of this JDefinedClass instance.
|
JMethod |
JDefinedClass.method(int mods,
Class<?> type,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<JMethod> |
JDefinedClass.constructors() |
Collection<JMethod> |
JDefinedClass.methods() |
| Modifier and Type | Method and Description |
|---|---|
static JInvocation |
JExpr.invoke(IJExpression lhs,
JMethod method) |
JInvocation |
JBlock.invoke(IJExpression expr,
JMethod method)
Creates an invocation statement and adds it to this block.
|
static JInvocation |
JExpr.invoke(JMethod method) |
JInvocation |
JBlock.invoke(JMethod aMethod)
Creates an invocation statement and adds it to this block.
|
JInvocation |
IJExpression.invoke(JMethod method) |
JInvocation |
AbstractJExpressionImpl.invoke(JMethod method) |
JInvocation |
JBlock.invokeThis(JMethod method)
Creates an invocation statement and adds it to this block.
|
JInvocation |
AbstractJClass.staticInvoke(JMethod aMethod)
Generates a static method invocation.
|
| Constructor and Description |
|---|
JInvocation(AbstractJClass aType,
JMethod aMethod)
Invokes a static method on a class.
|
JInvocation(IJExpression object,
JMethod method) |
Copyright © 2013–2015 Philip Helger. All rights reserved.