| Constructor and Description |
|---|
ElementAltMethodImpl(Element method,
ProcessingEnvironment processingEnv) |
| 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 |
toString() |
public ElementAltMethodImpl(Element method, ProcessingEnvironment processingEnv)
public String getName()
AltMethodpublic AltClass getReturnType()
AltMethodgetReturnType in interface AltMethodpublic List<AltClass> getParameterTypes()
getParameterTypes in interface AltMethodpublic AltClass getFirstTypeArgument()
AltMethodgetFirstTypeArgument in interface AltMethodpublic AltClass getFirstTypeArgumentOfParameter(int index)
getFirstTypeArgumentOfParameter in interface AltMethodpublic AltAnnotation getAnnotation(String annotation)
AltMethodgetAnnotation in interface AltMethodpublic List<AltAnnotation> getAnnotations()
getAnnotations in interface AltMethodpublic void setMethodInformation(MethodInformationI methodInfo)
AltMethodsetMethodInformation in interface AltMethodmethodInfo - The possibly null methodInformationpublic MethodInformationI getMethodInformation()
AltMethodgetMethodInformation in interface AltMethodCopyright © 2009-2017 Oracle Corporation. All Rights Reserved.