Packages

c

ch.usi.inf.reveal.parsing.model.java

ClassDeclarationNode

case class ClassDeclarationNode(modifiers: Seq[ModifierNode], identifier: IdentifierNode, typeParameters: Option[TypeParametersNode], superTypes: Option[TypeNode], implementedInterfaces: Option[TypeListNode], body: Option[ClassBodyNode], labels: Seq[LabelNode] = Seq(), documentation: Option[JavadocCommentNode] = None, comments: Seq[CommentNode] = Seq()) extends MemberDeclarationNode with BlockStatementNode with TypeDeclarationNode with Product with Serializable

A class declaration.

identifier

the name of the class.

typeParameters

optional type parameters for generics.

superTypes

optional super type.

implementedInterfaces

the optional set of implemented interfaces.

body

the optional body of the class (absence likely means an incomplete fragment).

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassDeclarationNode
  2. Serializable
  3. Serializable
  4. TypeDeclarationNode
  5. JavadocDocumentableEntity
  6. BlockStatementNode
  7. MemberDeclarationNode
  8. JavaASTNode
  9. HASTNode
  10. JsonSerializable
  11. Product
  12. Equals
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClassDeclarationNode(modifiers: Seq[ModifierNode], identifier: IdentifierNode, typeParameters: Option[TypeParametersNode], superTypes: Option[TypeNode], implementedInterfaces: Option[TypeListNode], body: Option[ClassBodyNode], labels: Seq[LabelNode] = Seq(), documentation: Option[JavadocCommentNode] = None, comments: Seq[CommentNode] = Seq())

    identifier

    the name of the class.

    typeParameters

    optional type parameters for generics.

    superTypes

    optional super type.

    implementedInterfaces

    the optional set of implemented interfaces.

    body

    the optional body of the class (absence likely means an incomplete fragment).

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val annotations: Seq[AnnotationNode]

    The annotations for this member.

    The annotations for this member.

    Definition Classes
    MemberDeclarationNode
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bindDocumentation(newDocumentation: Some[JavadocCommentNode]): ClassDeclarationNode

    Binds some new documentation to the specific entity.

    Binds some new documentation to the specific entity.

    newDocumentation

    a new Javadoc documentation node.

    Definition Classes
    ClassDeclarationNodeJavadocDocumentableEntity
  7. def bindLabel(label: LabelNode): ClassDeclarationNode

    Binds a new label to this block.

    Binds a new label to this block.

    label

    a label.

    returns

    a new node with the label added.

    Definition Classes
    ClassDeclarationNodeBlockStatementNode
  8. def bindModifiers(newModifiers: Seq[ModifierNode]): ClassDeclarationNode

    Binds an additional set of modifiers for this node, constructing a new Member Declaration.

    Binds an additional set of modifiers for this node, constructing a new Member Declaration.

    newModifiers

    a new set of modifiers to add.

    returns

    a new member declaration node with the same attributes of this but an additional set of modifiers.

    Definition Classes
    ClassDeclarationNodeMemberDeclarationNode
  9. val body: Option[ClassBodyNode]
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val comments: Seq[CommentNode]
  12. lazy val declarations: Seq[MemberDeclarationNode]

    Utility val to access all declarations in the class body (if any).

    Utility val to access all declarations in the class body (if any).

    Since

    2.0.0

  13. val documentation: Option[JavadocCommentNode]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. lazy val fieldDeclarations: Seq[FieldDeclarationNode]

    Utility val to access all the field declarations in the class body (if any).

    Utility val to access all the field declarations in the class body (if any).

    Since

    2.0.0

  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. val identifier: IdentifierNode
  19. val implementedInterfaces: Option[TypeListNode]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def javadocContents: Option[JavadocContentsNode]

    Utility method to access directly to javadoc documentation.

    Utility method to access directly to javadoc documentation.

    Definition Classes
    JavadocDocumentableEntity
  22. lazy val keywordModifiers: Seq[KeywordModifierNode]

    The keyword modifiers for this member.

    The keyword modifiers for this member.

    Definition Classes
    MemberDeclarationNode
  23. val labels: Seq[LabelNode]
  24. lazy val methodDeclarations: Seq[MethodDeclarationNode]

    Utility val to access all the method declarations in the class body (if any).

    Utility val to access all the method declarations in the class body (if any).

    Since

    2.0.0

  25. val modifiers: Seq[ModifierNode]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  29. val superTypes: Option[TypeNode]
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. lazy val toReferenceTypeNode: ReferenceTypeNode

    Returns a reference type node corresponding to the type declared by this declaration.

    Returns a reference type node corresponding to the type declared by this declaration. The type arguments correspond to the declared type parameters (i.e., they use the same identifiers, but without bounds)

    Since

    2.0.0

  32. lazy val typeDeclarations: Seq[TypeDeclarationNode]

    Utility val to access all type declarations in the class body (if any).

    Utility val to access all type declarations in the class body (if any).

    Since

    2.0.0

  33. val typeParameters: Option[TypeParametersNode]
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from TypeDeclarationNode

Inherited from JavadocDocumentableEntity

Inherited from BlockStatementNode

Inherited from MemberDeclarationNode

Inherited from JavaASTNode

Inherited from HASTNode

Inherited from JsonSerializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped