Interface MutableClassDeclaration

All Superinterfaces:
AnnotationTarget, ClassDeclaration, Declaration, Element, MemberDeclaration, MutableAnnotationTarget, MutableDeclaration, MutableElement, MutableMemberDeclaration, MutableNamedElement, MutableTypeDeclaration, MutableTypeParameterDeclarator, NamedElement, Type, TypeDeclaration, TypeParameterDeclarator

@Beta public interface MutableClassDeclaration extends MutableTypeParameterDeclarator, MutableTypeDeclaration, ClassDeclaration
Author:
Sven Efftinge
  • Method Details

    • setFinal

      void setFinal(boolean isFinal)
      Parameters:
      isFinal -
    • setAbstract

      void setAbstract(boolean isAbstract)
      Sets the abstract property
      Parameters:
      isAbstract -
    • setStatic

      void setStatic(boolean isStatic)
      Parameters:
      isStatic -
    • setStrictFloatingPoint

      void setStrictFloatingPoint(boolean isStrictFloatingPoint)
      Parameters:
      isStrictFloatingPoint -
    • setExtendedClass

      void setExtendedClass(TypeReference superclass)
      Parameters:
      superclass - the type reference to the super type. null resets the extended class to java.lang.Object (the default).
    • setImplementedInterfaces

      void setImplementedInterfaces(Iterable<? extends TypeReference> superinterfaces)
      Parameters:
      superinterfaces - the interfaces this class implements
      Throws:
      IllegalArgumentException - if superinterfaces is null or contains null