public interface AltMethod
Modifier and Type | Method and Description |
---|---|
AltAnnotation |
getAnnotation(String annotation)
Returns the annotation if found on the method, or
null if not found
|
List<AltAnnotation> |
getAnnotations() |
AltClass |
getFirstTypeArgument()
Returns the first type argument of the
return value.
|
AltClass |
getFirstTypeArgumentOfParameter(int index) |
MethodInformationI |
getMethodInformation()
Gets the method information once it has been calculated.
|
String |
getName()
Returns the name of the method
|
List<AltClass> |
getParameterTypes() |
AltClass |
getReturnType()
Returns the return type of the method
|
boolean |
isVarArgs() |
void |
setMethodInformation(MethodInformationI methodInfo)
Sets the method information once it has been calculated.
|
String getName()
AltClass getReturnType()
AltClass getFirstTypeArgument()
AltClass getFirstTypeArgumentOfParameter(int index)
AltAnnotation getAnnotation(String annotation)
annotation
- List<AltAnnotation> getAnnotations()
boolean isVarArgs()
void setMethodInformation(MethodInformationI methodInfo)
methodInfo
- The possibly null methodInformationMethodInformationI getMethodInformation()
Copyright © 2009–2023 Oracle Corporation. All rights reserved.