Class MethodDefinition

  • All Implemented Interfaces:
    AstNode

    public abstract class MethodDefinition
    extends Object
    implements AstNode
    • Constructor Detail

      • MethodDefinition

        public MethodDefinition()
    • Method Detail

      • returnType

        public abstract TypeNode returnType()
      • methodIdentifier

        public abstract IdentifierNode methodIdentifier()
      • headerCommentStatements

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

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

        public abstract com.google.common.collect.ImmutableList<TypeNode> throwsExceptions()
      • arguments

        public abstract com.google.common.collect.ImmutableList<VariableExpr> arguments()
      • isStatic

        public abstract boolean isStatic()
      • isFinal

        public abstract boolean isFinal()
      • isAbstract

        public abstract boolean isAbstract()
      • isConstructor

        public abstract boolean isConstructor()
      • body

        public abstract com.google.common.collect.ImmutableList<Statement> body()
      • templateIdentifiers

        public abstract com.google.common.collect.ImmutableList<IdentifierNode> templateIdentifiers()
      • returnTemplateIdentifiers

        public abstract com.google.common.collect.ImmutableList<IdentifierNode> returnTemplateIdentifiers()
      • 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