The name of the Java method
The access level of the method (public, private, protected)
Optional
parametersThe parameters of the method
Optional
returnThe return type of the method
Optional
bodyThe body of the method containing the implementation
Optional
annotationsMethod annotations like @Override, @GetMapping, etc.
Optional
javadocDocumentation/JavaDoc for the method
Optional
typeThe type of the method (instance, static, abstract, default)
Optional
static_Whether this method is static
Optional
abstract_Whether this method is abstract
Optional
classThe class this method belongs to, if any
Optional
final_Whether this method is final
Optional
synchronized_Whether this method is synchronized
Optional
throwsExceptions thrown by this method
Optional
typeGeneric type parameters for this method
Interface defining the arguments required to create a new Method instance.
Args