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

public Interface MutableClassDeclaration

extends MutableTypeParameterDeclarator, MutableTypeDeclaration, ClassDeclaration
Annotations
@Beta
Imports
com.google.common.annotations.Beta

Author
Sven Efftinge

Method Summary

Modifier and TypeMethod and Description
public void
setAbstract(boolean isAbstract)

Sets the abstract property

public void
setExtendedClass(TypeReference
the type reference to the super type. null resets the extended class to java.lang.Object (the default).
superclass
)

public void
setFinal(boolean isFinal)

public void
setImplementedInterfaces(Iterable<? extends TypeReference>
the interfaces this class implements
superinterfaces
)

public void
setStatic(boolean isStatic)

public void
setStrictFloatingPoint(boolean isStrictFloatingPoint)

Inherited from org.eclipse.xtend.lib.macro.declaration.ClassDeclaration:
getExtendedClassgetImplementedInterfacesisAbstractisFinalisStaticisStrictFloatingPoint
Inherited from org.eclipse.xtend.lib.macro.declaration.MutableTypeDeclaration:
addConstructoraddFieldaddMethodfindDeclaredConstructorfindDeclaredFieldfindDeclaredMethodfindDeclaredTypegetDeclaredAnnotationTypesgetDeclaredClassesgetDeclaredConstructorsgetDeclaredEnumerationTypesgetDeclaredFieldsgetDeclaredInterfacesgetDeclaredMembersgetDeclaredMethodsgetDeclaredTypesremovesetSimpleName
Inherited from org.eclipse.xtend.lib.macro.declaration.MutableTypeParameterDeclarator:
addTypeParametergetTypeParameters

Method Detail

setAbstractback to summary
public void setAbstract(boolean isAbstract)

Sets the abstract property

setExtendedClassback to summary
public void setExtendedClass(TypeReference superclass)
Parameters
superclass:TypeReference

the type reference to the super type. null resets the extended class to java.lang.Object (the default).

setFinalback to summary
public void setFinal(boolean isFinal)
setImplementedInterfacesback to summary
public void setImplementedInterfaces(Iterable<? extends TypeReference> superinterfaces)
Parameters
superinterfaces:Iterable<? extends TypeReference>

the interfaces this class implements

Exceptions
IllegalArgumentException:
if superinterfaces is null or contains null
setStaticback to summary
public void setStatic(boolean isStatic)
setStrictFloatingPointback to summary
public void setStrictFloatingPoint(boolean isStrictFloatingPoint)