@Beta public interface MutableClassDeclaration extends MutableTypeParameterDeclarator, MutableTypeDeclaration, ClassDeclaration
| Modifier and Type | Method and Description |
|---|---|
void |
setAbstract(boolean isAbstract)
Sets the
abstract property |
void |
setExtendedClass(TypeReference superclass) |
void |
setFinal(boolean isFinal) |
void |
setImplementedInterfaces(java.lang.Iterable<? extends TypeReference> superinterfaces) |
void |
setStatic(boolean isStatic) |
void |
setStrictFloatingPoint(boolean isStrictFloatingPoint) |
addTypeParameter, getTypeParametersaddConstructor, addField, addMethod, findDeclaredConstructor, findDeclaredField, findDeclaredMethod, findDeclaredType, getDeclaredAnnotationTypes, getDeclaredClasses, getDeclaredConstructors, getDeclaredEnumerationTypes, getDeclaredFields, getDeclaredInterfaces, getDeclaredMembers, getDeclaredMethods, getDeclaredTypes, remove, setSimpleNamegetDeclaringType, setDeprecated, setDocComment, setVisibilitymarkAsReadaddAnnotation, removeAnnotationgetExtendedClass, getImplementedInterfaces, isAbstract, isFinal, isStatic, isStrictFloatingPointgetQualifiedName, isAssignableFromgetDocComment, getModifiers, getVisibility, isDeprecatedfindAnnotation, getAnnotationsgetCompilationUnit, getSimpleNamevoid setFinal(boolean isFinal)
isFinal - void setAbstract(boolean isAbstract)
abstract propertyisAbstract - void setStatic(boolean isStatic)
isStatic - void setStrictFloatingPoint(boolean isStrictFloatingPoint)
isStrictFloatingPoint - void setExtendedClass(TypeReference superclass)
superclass - the type reference to the super type. null resets the extended class to java.lang.Object (the default).void setImplementedInterfaces(java.lang.Iterable<? extends TypeReference> superinterfaces)
superinterfaces - the interfaces this class implementsjava.lang.IllegalArgumentException - if superinterfaces is null or contains null