Package: org.apache.groovy.parser.antlr4

## [Java] Class GroovyParser.MethodDeclarationContext

- org.apache.groovy.parser.antlr4.GroovyParser.MethodDeclarationContext

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `int` | `ct` |
    `int` | `t` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `MethodDeclarationContext (ParserRuleContext parent, int invokingState)`
    `MethodDeclarationContext (ParserRuleContext parent, int invokingState, int t, int ct)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `TerminalNode` | `DEFAULT()`
    `` | `TerminalNode` | `LPAREN()`
    `` | `TerminalNode` | `THROWS()`
    `` | `Result` | `accept(ParseTreeVisitor<? extends Result> visitor)`
    `` | `ElementValueContext` | `elementValue()`
    `` | `FormalParametersContext` | `formalParameters()`
    `` | `int` | `getRuleIndex()`
    `` | `MethodBodyContext` | `methodBody()`
    `` | `MethodNameContext` | `methodName()`
    `` | `ModifiersOptContext` | `modifiersOpt()`
    `` | `List<? extends NlsContext>` | `nls()`
    `` | `NlsContext` | `nls(int i)`
    `` | `QualifiedClassNameListContext` | `qualifiedClassNameList()`
    `` | `ReturnTypeContext` | `returnType()`
    `` | `RparenContext` | `rparen()`
    `` | `TypeParametersContext` | `typeParameters()`

- - ### Field Detail

    - #### public int ct

    - #### public int t

  - ### Constructor Detail

    - #### public MethodDeclarationContext(ParserRuleContext parent, int invokingState)

    - #### public MethodDeclarationContext(ParserRuleContext parent, int invokingState, int t, int ct)

  - ### Method Detail

    - #### public TerminalNode DEFAULT()

    - #### public TerminalNode LPAREN()

    - #### public TerminalNode THROWS()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public Result accept(ParseTreeVisitor<? extends Result> visitor)

    - #### public ElementValueContext elementValue()

    - #### public FormalParametersContext formalParameters()

    - #### @com.github.javaparser.ast.expr.MarkerAnnotationExprOverride public int getRuleIndex()

    - #### public MethodBodyContext methodBody()

    - #### public MethodNameContext methodName()

    - #### public ModifiersOptContext modifiersOpt()

    - #### public List<? extends NlsContext> nls()

    - #### public NlsContext nls(int i)

    - #### public QualifiedClassNameListContext qualifiedClassNameList()

    - #### public ReturnTypeContext returnType()

    - #### public RparenContext rparen()

    - #### public TypeParametersContext typeParameters()