| Modifier and Type | Method and Description |
|---|---|
| public default MethodInfo | asMethod()
Overrides default jakarta. |
| public ClassInfo | |
| public boolean | |
| public boolean | Returns: whether this method is, in fact, a constructorReturns whether this method is, in fact, a constructor. |
| public boolean | |
| public boolean | |
| public default DeclarationInfo. | kind()
Implements jakarta. |
| public int | |
| public String | |
| public List | |
| public Type | Returns: the type of the receiver parameter declared by this method, with or without annotations, ornull if this method cannot declare a receiver parameterReturns the type of the receiver parameter declared by this method. |
| public Type | Returns: the return type of this method, nevernullReturns the return type of this method. |
| public List | |
| public List |
| asMethod | back to summary |
|---|---|
| public default MethodInfo asMethod() Overrides default jakarta. Doc from jakarta. Returns this declaration as a method.
| |
| declaringClass | back to summary |
|---|---|
| public ClassInfo declaringClass() Returns the class that declares this method. | |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Returns whether this method is abstract.
A
| |
| isConstructor | back to summary |
|---|---|
| public boolean isConstructor() Returns whether this method is, in fact, a constructor.
| |
| isFinal | back to summary |
|---|---|
| public boolean isFinal() Returns whether this method is
| |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Returns whether this method is
| |
| kind | back to summary |
|---|---|
| public default DeclarationInfo. Implements jakarta. Doc from jakarta. Returns the kind of this declaration.
| |
| modifiers | back to summary |
|---|---|
| public int modifiers() Returns the modifiers of this method as an
| |
| name | back to summary |
|---|---|
| public String name() Returns the name of this method. In case of constructors, returns the binary name of the declaring class.
| |
| parameters | back to summary |
|---|---|
| public List Returns a list of parameters declared or implicitly declared on this method.
| |
| receiverType | back to summary |
|---|---|
| public Type receiverType() Returns the type of the receiver parameter declared by this method.
Returns
| |
| returnType | back to summary |
|---|---|
| public Type returnType() Returns the return type of this method. In case of constructors, returns the type of the declaring class.
| |
| throwsTypes | back to summary |
|---|---|
| public List Returns a list of exception types that are declared to be thrown by this method. Returns an empty list if this method does not declare any exception.
| |
| typeParameters | back to summary |
|---|---|
| public List Returns a list of type parameters declared on this method. Returns an empty list if this method is not generic and so does not declare type parameters.
| |