org.hibernate.reflection.java
Class JavaXMethod
java.lang.Object
org.hibernate.reflection.java.JavaXMember
org.hibernate.reflection.java.JavaXMethod
- All Implemented Interfaces:
- XAnnotatedElement, XMember, XMethod
public class JavaXMethod
- extends JavaXMember
- implements XMethod
- Author:
- Emmanuel Bernard
Methods inherited from class org.hibernate.reflection.java.JavaXMember |
getClassOrElementClass, getCollectionClass, getElementClass, getJavaType, getMapKey, getMember, getModifiers, getType, getTypeEnvironment, isArray, isCollection, isTypeResolved, setAccessible, typeOf |
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