Top Description Methods
org.eclipse.xtend.lib.macro.declaration

public Interface ExecutableDeclaration

extends TypeParameterDeclarator
Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.MethodDeclaration, org.eclipse.xtend.lib.macro.declaration.MutableExecutableDeclaration, org.eclipse.xtend.lib.macro.declaration.ConstructorDeclaration
Annotations
@Beta
Imports
org.eclipse.xtend.lib.macro.expression.Expression, com.google.common.annotations.Beta

A common super type for MethodDeclaration and ConstructorDeclaration
Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public Expression

Returns:

the body, might be null for external elements as well as abstract methods.
getBody
()

public Iterable<? extends TypeReference>

Returns:

the declared exceptions
getExceptions
()

public Iterable<? extends ParameterDeclaration>

Returns:

the declared parameters
getParameters
()

public boolean

Returns:

whether this is a varArs declaration.
isVarArgs
()

Inherited from org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclarator:
getTypeParameters

Method Detail

getBodyback to summary
public Expression getBody()
Returns:Expression

the body, might be null for external elements as well as abstract methods.

getExceptionsback to summary
public Iterable<? extends TypeReference> getExceptions()
Returns:Iterable<? extends TypeReference>

the declared exceptions

getParametersback to summary
public Iterable<? extends ParameterDeclaration> getParameters()
Returns:Iterable<? extends ParameterDeclaration>

the declared parameters

isVarArgsback to summary
public boolean isVarArgs()
Returns:boolean

whether this is a varArs declaration.