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

public Interface ClassDeclaration

extends TypeDeclaration, TypeParameterDeclarator
Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.MutableClassDeclaration
Annotations
@Beta
Imports
com.google.common.annotations.Beta

Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public TypeReference

Returns:

the super class of this class. If this class declaration represents the source AST this method returns null if no explicit super class is specified.
getExtendedClass
()

public Iterable<? extends TypeReference>

Returns:

the interfaces directly implemented by the class declaration
getImplementedInterfaces
()

public boolean

Returns:

whether this class is marked abstract
isAbstract
()

public boolean

Returns:

whether this class is marked final
isFinal
()

public boolean

Returns:

whether this class is marked static
isStatic
()

public boolean

Returns:

whether this class is marked strictfp
isStrictFloatingPoint
()

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

Method Detail

getExtendedClassback to summary
public TypeReference getExtendedClass()
Returns:TypeReference

the super class of this class. If this class declaration represents the source AST this method returns null if no explicit super class is specified.

getImplementedInterfacesback to summary
public Iterable<? extends TypeReference> getImplementedInterfaces()
Returns:Iterable<? extends TypeReference>

the interfaces directly implemented by the class declaration

isAbstractback to summary
public boolean isAbstract()
Returns:boolean

whether this class is marked abstract

isFinalback to summary
public boolean isFinal()
Returns:boolean

whether this class is marked final

isStaticback to summary
public boolean isStatic()
Returns:boolean

whether this class is marked static

isStrictFloatingPointback to summary
public boolean isStrictFloatingPoint()
Returns:boolean

whether this class is marked strictfp