Returns the default value if this executable is an annotation
type element.
Returns the default value if this executable is an annotation type element. Returns null if this method is not an annotation type element, or if it is an annotation type element with no default value.
Returns:
the default value, or {@code null} if none
Returns the formal parameters of this executable. They are returned in declaration order.
Returns:
the formal parameters,
or an empty list if there are none
Returns the return type of this executable. Returns a NoType with kind VOID if this executable is not a method, or is a method that does not return a value.
Returns:
the return type of this executable
Returns the exceptions and other throwables listed in this
method or constructor's throws clause in declaration
order.
Returns the exceptions and other throwables listed in this method or constructor's throws clause in declaration order.
Returns:
the exceptions and other throwables listed in the
{@code throws} clause, or an empty list if there are none
Returns the formal type parameters of this executable
in declaration order.
Returns the formal type parameters of this executable in declaration order.
Returns:
the formal type parameters, or an empty list
if there are none
public boolean
isVarArgs
()
Returns true if this method or constructor accepts a variable
number of arguments and returns false otherwise.
Returns true if this method or constructor accepts a variable number of arguments and returns false otherwise.
Returns:
{@code true} if this method or constructor accepts a variable
number of arguments and {@code false} otherwise