Class ClassDefinition

  • All Implemented Interfaces:
    AstNode

    public abstract class ClassDefinition
    extends Object
    implements AstNode
    • Constructor Detail

      • ClassDefinition

        public ClassDefinition()
    • Method Detail

      • fileHeader

        public abstract com.google.common.collect.ImmutableList<CommentStatement> fileHeader()
      • isNested

        public abstract boolean isNested()
      • headerCommentStatements

        public abstract com.google.common.collect.ImmutableList<CommentStatement> headerCommentStatements()
      • annotations

        public abstract com.google.common.collect.ImmutableList<AnnotationNode> annotations()
      • implementsTypes

        public abstract com.google.common.collect.ImmutableList<TypeNode> implementsTypes()
      • isStatic

        public abstract boolean isStatic()
      • isFinal

        public abstract boolean isFinal()
      • isAbstract

        public abstract boolean isAbstract()
      • statements

        public abstract com.google.common.collect.ImmutableList<Statement> statements()
      • methods

        public abstract com.google.common.collect.ImmutableList<MethodDefinition> methods()
      • nestedClasses

        public abstract com.google.common.collect.ImmutableList<ClassDefinition> nestedClasses()
      • accept

        public void accept​(AstNodeVisitor visitor)
        Description copied from interface: AstNode
        Writes the syntatically-correct Java code representation of this node.
        Specified by:
        accept in interface AstNode