public class JavaXMethod extends JavaXMember implements XMethod
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true if the underlying artefact
is the same
|
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Annotation[] |
getAnnotations() |
protected JavaReflectionManager |
getFactory() |
String |
getName() |
int |
hashCode() |
Object |
invoke(Object target,
Object... parameters) |
<T extends Annotation> |
isAnnotationPresent(Class<T> annotationType) |
String |
toString() |
getClassOrElementClass, getCollectionClass, getElementClass, getJavaType, getMapKey, getMember, getModifiers, getType, getTypeEnvironment, isArray, isCollection, isTypeResolved, setAccessible, typeOf
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getClassOrElementClass, getCollectionClass, getElementClass, getMapKey, getModifiers, getType, isArray, isCollection, isTypeResolved, setAccessible
equals, getAnnotation, getAnnotations, isAnnotationPresent
public String getName()
getName
in interface XMember
getName
in class JavaXMember
protected JavaReflectionManager getFactory()
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface XAnnotatedElement
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
isAnnotationPresent
in interface XAnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface XAnnotatedElement
public boolean equals(Object obj)
XAnnotatedElement
equals
in interface XAnnotatedElement
equals
in class Object
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.