The name of the Java method
The access level of the method (public, private, protected)
OptionalparametersThe parameters of the method
OptionalreturnThe return type of the method
OptionalbodyThe body of the method containing the implementation
OptionalannotationsMethod annotations like @Override, @GetMapping, etc.
OptionaljavadocDocumentation/JavaDoc for the method
OptionaltypeThe type of the method (instance, static, abstract, default)
Optionalstatic_Whether this method is static
Optionalabstract_Whether this method is abstract
OptionalclassThe class this method belongs to, if any
Optionalfinal_Whether this method is final
Optionalsynchronized_Whether this method is synchronized
OptionalthrowsExceptions thrown by this method
OptionaltypeGeneric type parameters for this method
Interface defining the arguments required to create a new Method instance.
Args