Interface ClassDeclaration
-
- All Superinterfaces:
AnnotationTarget,Declaration,Element,MemberDeclaration,NamedElement,Type,TypeDeclaration,TypeParameterDeclarator
- All Known Subinterfaces:
MutableClassDeclaration
@Beta public interface ClassDeclaration extends TypeDeclaration, TypeParameterDeclarator
- Noimplement:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeReferencegetExtendedClass()java.lang.Iterable<? extends TypeReference>getImplementedInterfaces()booleanisAbstract()booleanisFinal()booleanisStatic()booleanisStrictFloatingPoint()-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.AnnotationTarget
findAnnotation, getAnnotations
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.MemberDeclaration
getDeclaringType, getDocComment, getModifiers, getVisibility, isDeprecated
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.NamedElement
getCompilationUnit, getSimpleName
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.Type
getQualifiedName, isAssignableFrom
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.TypeDeclaration
findDeclaredConstructor, findDeclaredField, findDeclaredMethod, findDeclaredType, getDeclaredAnnotationTypes, getDeclaredClasses, getDeclaredConstructors, getDeclaredEnumerationTypes, getDeclaredFields, getDeclaredInterfaces, getDeclaredMembers, getDeclaredMethods, getDeclaredTypes
-
Methods inherited from interface org.eclipse.xtend.lib.macro.declaration.TypeParameterDeclarator
getTypeParameters
-
-
-
-
Method Detail
-
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
java.lang.Iterable<? extends TypeReference> getImplementedInterfaces()
- Returns:
- the interfaces directly implemented by the class declaration
-
-