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) |
String |
getName()
Returns the name of the method
|
List<AltClass> |
getParameterTypes() |
AltClass |
getReturnType()
Returns the return type of the method
|
boolean |
isVarArgs() |
String getName()
AltClass getReturnType()
AltClass getFirstTypeArgument()
AltClass getFirstTypeArgumentOfParameter(int index)
AltAnnotation getAnnotation(String annotation)
annotation
- List<AltAnnotation> getAnnotations()
boolean isVarArgs()
Copyright © 2009–2015 Oracle Corporation. All rights reserved.