org.hibernate.annotations.common.reflection.java
public class JavaXMethod extends JavaXMember implements XMethod
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if the underlying artefact
is the same
|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType) |
java.lang.annotation.Annotation[] |
getAnnotations() |
protected JavaReflectionManager |
getFactory() |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.Object |
invoke(java.lang.Object target,
java.lang.Object... parameters) |
<T extends java.lang.annotation.Annotation> |
isAnnotationPresent(java.lang.Class<T> annotationType) |
java.lang.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 java.lang.String getName()
getName
in interface XMember
getName
in class JavaXMember
public java.lang.Object invoke(java.lang.Object target, java.lang.Object... parameters)
protected JavaReflectionManager getFactory()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
getAnnotation
in interface XAnnotatedElement
public <T extends java.lang.annotation.Annotation> boolean isAnnotationPresent(java.lang.Class<T> annotationType)
isAnnotationPresent
in interface XAnnotatedElement
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface XAnnotatedElement
public boolean equals(java.lang.Object obj)
XAnnotatedElement
equals
in interface XAnnotatedElement
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object