Module jdk.compiler

Interface MethodTree

All Superinterfaces:
Tree

public interface MethodTree extends Tree
A tree node for a method or annotation type element declaration. For example:
   modifiers typeParameters type name
      ( parameters )
      body

   modifiers type name () default defaultValue
 
See Java Language Specification:
8.4 Method Declarations
8.6 Instance Initializers
8.7 Static Initializers
9.4 Method Declarations
9.6.1 Annotation Type Elements
Since:
1.6