The executable is represented as when viewed as a method (or constructor or initializer) of some reference type. If that reference type is parameterized, then its actual type arguments are substituted into any types returned by the methods of this interface.
ExecutableElement
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the types of this executable's formal parameters, or an empty list if there are noneReturns the types of this executable's formal parameters. |
| public TypeMirror | Returns: the receiver type of this executableReturns the receiver type of this executable,
or |
| public TypeMirror | Returns: the return type of this executableReturns the return type of this executable. |
| public List | Returns: the exceptions and other throwables listed in this executable'sthrows clause,
or an empty list if there are none.Returns the exceptions and other throwables listed in this
executable's |
| public List | Returns: the type variables declared by the formal type parameters, or an empty list if there are noneReturns the type variables declared by the formal type parameters of this executable. |
| getParameterTypes | back to summary |
|---|---|
| public List Returns the types of this executable's formal parameters.
| |
| getReceiverType | back to summary |
|---|---|
| public TypeMirror getReceiverType() Returns the receiver type of this executable,
or
| |
| getReturnType | back to summary |
|---|---|
| public TypeMirror getReturnType() Returns the return type of this executable.
Returns a
| |
| getThrownTypes | back to summary |
|---|---|
| public List Returns the exceptions and other throwables listed in this
executable's
| |
| getTypeVariables | back to summary |
|---|---|
| public List Returns the type variables declared by the formal type parameters of this executable.
| |