Module org.eclipse.xtend.lib.macro
Interface MethodDeclaration
- All Superinterfaces:
AnnotationTarget,Declaration,Element,ExecutableDeclaration,MemberDeclaration,NamedElement,TypeParameterDeclarator
- All Known Subinterfaces:
MutableMethodDeclaration
- Author:
- Sven Efftinge
-
Method Summary
Modifier and TypeMethodDescriptiondefault Iterable<? extends MethodDeclaration> booleanbooleanbooleanisFinal()booleanisNative()booleanisStatic()booleanbooleanMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotationsMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.ExecutableDeclaration
getBody, getExceptions, getParameters, isVarArgsMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
getDeclaringType, getDocComment, getModifiers, getVisibility, isDeprecatedMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleNameMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclarator
getTypeParameters
-
Method Details
-
isFinal
boolean isFinal()- Returns:
- whether this method is declared
final
-
isAbstract
boolean isAbstract()- Returns:
- whether this method is declared
abstract
-
isStatic
boolean isStatic()- Returns:
- whether this method is declared
static
-
isSynchronized
boolean isSynchronized()- Returns:
- whether this method is declared
synchronized
-
isDefault
boolean isDefault()- Returns:
- whether this method is declared
default
-
isStrictFloatingPoint
boolean isStrictFloatingPoint()- Returns:
- whether this method is declared
strictfp
-
isNative
boolean isNative()- Returns:
- whether this method is declared
native
-
getReturnType
TypeReference getReturnType()- Returns:
- the return type of this method
-
getOverriddenOrImplementedMethods
- Returns:
- the overridden or implemented methods
- Since:
- 2.23
-