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

public Interface MethodDeclaration

extends ExecutableDeclaration
Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.MutableMethodDeclaration
Annotations
@Beta
Imports
java.util.Collections, com.google.common.annotations.Beta

Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public default Iterable<? extends MethodDeclaration>

Returns:

the overridden or implemented methods
getOverriddenOrImplementedMethods
()

public TypeReference

Returns:

the return type of this method
getReturnType
()

public boolean

Returns:

whether this method is declared abstract
isAbstract
()

public boolean

Returns:

whether this method is declared default
isDefault
()

public boolean

Returns:

whether this method is declared final
isFinal
()

public boolean

Returns:

whether this method is declared native
isNative
()

public boolean

Returns:

whether this method is declared static
isStatic
()

public boolean

Returns:

whether this method is declared strictfp
isStrictFloatingPoint
()

public boolean

Returns:

whether this method is declared synchronized
isSynchronized
()

Inherited from org.eclipse.xtend.lib.macro.declaration.ExecutableDeclaration:
getBodygetExceptionsgetParametersisVarArgs

Method Detail

getOverriddenOrImplementedMethodsback to summary
public default Iterable<? extends MethodDeclaration> getOverriddenOrImplementedMethods()
Returns:Iterable<? extends MethodDeclaration>

the overridden or implemented methods

Since
2.23
getReturnTypeback to summary
public TypeReference getReturnType()
Returns:TypeReference

the return type of this method

isAbstractback to summary
public boolean isAbstract()
Returns:boolean

whether this method is declared abstract

isDefaultback to summary
public boolean isDefault()
Returns:boolean

whether this method is declared default

isFinalback to summary
public boolean isFinal()
Returns:boolean

whether this method is declared final

isNativeback to summary
public boolean isNative()
Returns:boolean

whether this method is declared native

isStaticback to summary
public boolean isStatic()
Returns:boolean

whether this method is declared static

isStrictFloatingPointback to summary
public boolean isStrictFloatingPoint()
Returns:boolean

whether this method is declared strictfp

isSynchronizedback to summary
public boolean isSynchronized()
Returns:boolean

whether this method is declared synchronized