Interface ClassDeclarationTree

    • Method Detail

      • getName

        IdentifierTree getName​()
        Class identifier.
        Returns:
        the class identifier
      • getClassHeritage

        ExpressionTree getClassHeritage​()
        The expression of the extends clause. Optional.
        Returns:
        the class heritage
      • getConstructor

        PropertyTree getConstructor​()
        Get the constructor method definition.
        Returns:
        the constructor
      • getClassElements

        List<? extends PropertyTree> getClassElements​()
        Get other property definitions except for the constructor.
        Returns:
        the class elements