Module org.eclipse.xtend.lib.macro
Interface ClassDeclaration
- All Superinterfaces:
AnnotationTarget,Declaration,Element,MemberDeclaration,NamedElement,Type,TypeDeclaration,TypeParameterDeclarator
- All Known Subinterfaces:
MutableClassDeclaration
- Author:
- Sven Efftinge
-
Method Summary
Modifier and TypeMethodDescriptionIterable<? extends TypeReference> booleanbooleanisFinal()booleanisStatic()booleanMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotationsMethods 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.Type
getQualifiedName, isAssignableFromMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.TypeDeclaration
findDeclaredConstructor, findDeclaredField, findDeclaredMethod, findDeclaredType, getDeclaredAnnotationTypes, getDeclaredClasses, getDeclaredConstructors, getDeclaredEnumerationTypes, getDeclaredFields, getDeclaredInterfaces, getDeclaredMembers, getDeclaredMethods, getDeclaredTypesMethods inherited from interface org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclarator
getTypeParameters
-
Method Details
-
isFinal
boolean isFinal()- Returns:
- whether this class is marked
final
-
isAbstract
boolean isAbstract()- Returns:
- whether this class is marked
abstract
-
isStatic
boolean isStatic()- Returns:
- whether this class is marked
static
-
isStrictFloatingPoint
boolean isStrictFloatingPoint()- Returns:
- whether this class is marked
strictfp
-
getExtendedClass
TypeReference getExtendedClass()- Returns:
- the super class of this class. If this class declaration
represents the source AST this method returns
nullif no explicit super class is specified.
-
getImplementedInterfaces
Iterable<? extends TypeReference> getImplementedInterfaces()- Returns:
- the interfaces directly implemented by the class declaration
-