org.hibernate.validator.internal.metadata.raw
Class ExecutableElement

java.lang.Object
  extended by org.hibernate.validator.internal.metadata.raw.ExecutableElement

public abstract class ExecutableElement
extends Object

Provides a unified view on Constructors and Methods.

Author:
Gunnar Morling

Method Summary
static ExecutableElement forConstructor(Constructor<?> constructor)
           
static ExecutableElement forMethod(Method method)
           
abstract  AccessibleObject getAccessibleObject()
           
abstract  ElementType getElementType()
           
abstract  Type[] getGenericParameterTypes()
           
 String getIdentifier()
           
abstract  Member getMember()
           
abstract  Annotation[][] getParameterAnnotations()
           
abstract  String[] getParameterNames(javax.validation.ParameterNameProvider parameterNameProvider)
           
abstract  Class<?>[] getParameterTypes()
           
abstract  Class<?> getReturnType()
           
abstract  String getSimpleName()
           
abstract  boolean isGetterMethod()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forConstructor

public static ExecutableElement forConstructor(Constructor<?> constructor)

forMethod

public static ExecutableElement forMethod(Method method)

getParameterNames

public abstract String[] getParameterNames(javax.validation.ParameterNameProvider parameterNameProvider)

getParameterAnnotations

public abstract Annotation[][] getParameterAnnotations()

getParameterTypes

public abstract Class<?>[] getParameterTypes()

getReturnType

public abstract Class<?> getReturnType()

getGenericParameterTypes

public abstract Type[] getGenericParameterTypes()

getAccessibleObject

public abstract AccessibleObject getAccessibleObject()

getMember

public abstract Member getMember()

getElementType

public abstract ElementType getElementType()

getSimpleName

public abstract String getSimpleName()

isGetterMethod

public abstract boolean isGetterMethod()

getIdentifier

public String getIdentifier()


Copyright © 2012 Oracle Corporation. All Rights Reserved.