| Modifier and Type | Method and Description |
|---|---|
| public MutableParameterDeclaration | Returns: the created parameterthe name of the parameter, must be a valid java identifier name, TypeReference the type of the parameter, must not be type)nullAdds a parameter |
| public MutableParameterDeclaration | Returns: the created parameterthe name of the parameter, must be a valid java identifier name, TypeReference the type of the parameter, must not be type)nullInserts a parameter at the specified position in the parameter list |
| public Iterable | |
| public void | setBody(Expression
the expression to set as the body of this executable body)Setting an expression will alter the scope of it accordingly. |
| public void | setBody(CompilationStrategy
the compilation strategy, must not be compilationStrategy)nullSets the given |
| public void | setBody(StringConcatenationClient
the compilation strategy, must not be compilationTemplate)nullSets the given |
| public void | |
| public void |
| addParameter | back to summary |
|---|---|
| public MutableParameterDeclaration addParameter(String name, TypeReference type) Adds a parameter
| |
| addParameter | back to summary |
|---|---|
| public MutableParameterDeclaration addParameter(int position, String name, TypeReference type) Inserts a parameter at the specified position in the parameter list
| |
| getParameters | back to summary |
|---|---|
| public Iterable Redeclares org. | |
| setBody | back to summary |
|---|---|
| public void setBody(Expression body) Setting an expression will alter the scope of it accordingly.
Each expression can only be assigned to one element, if this
| |
| setBody | back to summary |
|---|---|
| public void setBody(CompilationStrategy compilationStrategy) Sets the given
| |
| setBody | back to summary |
|---|---|
| public void setBody(StringConcatenationClient compilationTemplate) Sets the given
| |
| setExceptions | back to summary |
|---|---|
| public void setExceptions(TypeReference... exceptions) Sets the declared exceptions.
| |
| setVarArgs | back to summary |
|---|---|
public void setVarArgs(boolean isVarArgs)
| |