Constructor and Description |
---|
MethodAltMethodImpl(Method method,
ClassReflectionHelper helper) |
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
|
Method |
getOriginalMethod() |
List<AltClass> |
getParameterTypes() |
AltClass |
getReturnType()
Returns the return type of the method
|
boolean |
isVarArgs() |
String |
toString() |
public MethodAltMethodImpl(Method method, ClassReflectionHelper helper)
public Method getOriginalMethod()
public String getName()
AltMethod
public AltClass getReturnType()
AltMethod
getReturnType
in interface AltMethod
public List<AltClass> getParameterTypes()
getParameterTypes
in interface AltMethod
public AltClass getFirstTypeArgument()
AltMethod
getFirstTypeArgument
in interface AltMethod
public AltClass getFirstTypeArgumentOfParameter(int index)
getFirstTypeArgumentOfParameter
in interface AltMethod
public AltAnnotation getAnnotation(String annotation)
AltMethod
getAnnotation
in interface AltMethod
public List<AltAnnotation> getAnnotations()
getAnnotations
in interface AltMethod
Copyright © 2009–2016 Oracle Corporation. All rights reserved.