ResolvedMethodDeclaration
A declaration of a method (either in an interface, a class, an enum or an annotation).
Author
Federico Tomassetti
Functions
Link copied to clipboard
The access specifier of this element.
Link copied to clipboard
Return this as a EnumConstantDeclaration or throw an UnsupportedOperationException
Link copied to clipboard
Return this as a FieldDeclaration or throw an UnsupportedOperationException
Link copied to clipboard
Return this as a MethodDeclaration or throw an UnsupportedOperationException // FIXME: This is never overridden.
Link copied to clipboard
Return this as a ParameterDeclaration or throw an UnsupportedOperationException
Link copied to clipboard
Return this as a TypeDeclaration or throw an UnsupportedOperationException
Link copied to clipboard
Return this as a PatternDeclaration or throw an UnsupportedOperationException
Link copied to clipboard
The type in which the method is declared.
Link copied to clipboard
Find the closest TypeParameterDeclaration with the given name.
Link copied to clipboard
Link copied to clipboard
The class(es) wrapping the declaring type.
Link copied to clipboard
Utility method to get the last ParameterDeclaration.
Link copied to clipboard
Number of params.
Link copied to clipboard
Number of exceptions listed in the throws clause.
Link copied to clipboard
The package name of the declaring type.
Link copied to clipboard
Get the ParameterDeclaration at the corresponding position or throw IllegalArgumentException.
Link copied to clipboard
The qualified name of the method composed by the qualfied name of the declaring type followed by a dot and the name of the method.
Link copied to clipboard
The qualified signature of the method.
Link copied to clipboard
The type of the value returned by the current method.
Link copied to clipboard
The signature of the method.
Link copied to clipboard
Type of the corresponding entry in the throws clause.
Link copied to clipboard
Link copied to clipboard
The list of type parameters defined on this element.
Link copied to clipboard
Has the method or construcor a variadic parameter?
Link copied to clipboard
Is the method abstract?
Link copied to clipboard
Does this declaration represent the array length pseudo-field?
Link copied to clipboard
Is this a default method?
Link copied to clipboard
Does this declaration represents an enum constant?
Link copied to clipboard
Does this declaration represents a method parameter?
Link copied to clipboard
Link copied to clipboard
Does this declaration represents a pattern declaration?
Link copied to clipboard
Does this declaration represents a variable?
Link copied to clipboard
Link copied to clipboard