org.hibernate.reflection.java
Class JavaXMethod

java.lang.Object
  extended by org.hibernate.reflection.java.JavaXMember
      extended by org.hibernate.reflection.java.JavaXMethod
All Implemented Interfaces:
XAnnotatedElement, XMember, XMethod

public class JavaXMethod
extends JavaXMember
implements XMethod

Author:
Emmanuel Bernard

Method Summary
 boolean equals(Object obj)
          Returns true if the underlying artefact is the same
<T extends java.lang.annotation.Annotation>
T
getAnnotation(Class<T> annotationType)
           
 java.lang.annotation.Annotation[] getAnnotations()
           
protected  JavaXFactory getFactory()
           
 String getName()
           
 int hashCode()
           
 Object invoke(Object target, Object... parameters)
           
<T extends java.lang.annotation.Annotation>
boolean
isAnnotationPresent(Class<T> annotationType)
           
 String toString()
           
 
Methods inherited from class org.hibernate.reflection.java.JavaXMember
getClassOrElementClass, getCollectionClass, getElementClass, getJavaType, getMapKey, getMember, getModifiers, getType, getTypeEnvironment, isArray, isCollection, isTypeResolved, setAccessible, typeOf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.hibernate.reflection.XMember
getClassOrElementClass, getCollectionClass, getElementClass, getMapKey, getModifiers, getType, isArray, isCollection, isTypeResolved, setAccessible
 
Methods inherited from interface org.hibernate.reflection.XAnnotatedElement
equals, getAnnotation, getAnnotations, isAnnotationPresent
 

Method Detail

getName

public String getName()
Specified by:
getName in interface XMember
Specified by:
getName in class JavaXMember

invoke

public Object invoke(Object target,
                     Object... parameters)
Specified by:
invoke in interface XMember

getFactory

protected JavaXFactory getFactory()

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(Class<T> annotationType)
Specified by:
getAnnotation in interface XAnnotatedElement

isAnnotationPresent

public <T extends java.lang.annotation.Annotation> boolean isAnnotationPresent(Class<T> annotationType)
Specified by:
isAnnotationPresent in interface XAnnotatedElement

getAnnotations

public java.lang.annotation.Annotation[] getAnnotations()
Specified by:
getAnnotations in interface XAnnotatedElement

equals

public boolean equals(Object obj)
Description copied from interface: XAnnotatedElement
Returns true if the underlying artefact is the same

Specified by:
equals in interface XAnnotatedElement
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object