| Modifier and Type | Method and Description |
|---|---|
| public ResolvedReferenceTypeDeclaration | |
| public default Optional | findTypeParameter(String name)
Implements com. |
| public default String | |
| public default ResolvedParameterDeclaration | |
| public int | |
| public int | |
| public default String | |
| public ResolvedParameterDeclaration | getParam(int i)
Get the ParameterDeclaration at the corresponding position or throw IllegalArgumentException. |
| public default String | getQualifiedName()
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. |
| public default String | |
| public default String | |
| public ResolvedType | |
| public default List | |
| public default boolean |
| declaringType | back to summary |
|---|---|
| public ResolvedReferenceTypeDeclaration declaringType() The type in which the method is declared. | |
| findTypeParameter | back to summary |
|---|---|
| public default Optional Implements com. Doc from com. Find the closest TypeParameterDeclaration with the given name. It first look on this element itself and then on the containers.
| |
| getClassName | back to summary |
|---|---|
| public default String getClassName() The class(es) wrapping the declaring type. | |
| getLastParam | back to summary |
|---|---|
| public default ResolvedParameterDeclaration getLastParam() Utility method to get the last ParameterDeclaration. It throws UnsupportedOperationException if the method has no parameters. The last parameter can be variadic and sometimes it needs to be handled in a special way. | |
| getNumberOfParams | back to summary |
|---|---|
| public int getNumberOfParams() Number of params. | |
| getNumberOfSpecifiedExceptions | back to summary |
|---|---|
| public int getNumberOfSpecifiedExceptions() Number of exceptions listed in the throws clause. | |
| getPackageName | back to summary |
|---|---|
| public default String getPackageName() The package name of the declaring type. | |
| getParam | back to summary |
|---|---|
| public ResolvedParameterDeclaration getParam(int i) Get the ParameterDeclaration at the corresponding position or throw IllegalArgumentException. | |
| getQualifiedName | back to summary |
|---|---|
| public default String getQualifiedName() 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. | |
| getQualifiedSignature | back to summary |
|---|---|
| public default String getQualifiedSignature() The qualified signature of the method. It is composed by the qualified name of the declaring type followed by the signature of the method. | |
| getSignature | back to summary |
|---|---|
| public default String getSignature() The signature of the method. | |
| getSpecifiedException | back to summary |
|---|---|
| public ResolvedType getSpecifiedException(int index) Type of the corresponding entry in the throws clause.
| |
| getSpecifiedExceptions | back to summary |
|---|---|
| public default List | |
| hasVariadicParameter | back to summary |
|---|---|
| public default boolean hasVariadicParameter() Has the method or construcor a variadic parameter? Note that when a method has a variadic parameter it should have an array type. | |