public abstract class JavaBeanExecutable<T extends Executable> extends Object implements Callable, JavaBeanAnnotatedConstrainable
Modifier and Type | Field and Description |
---|---|
protected T |
executable |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AnnotatedType |
getAnnotatedType() |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass) |
Annotation[] |
getDeclaredAnnotations() |
Class<?> |
getDeclaringClass() |
Type |
getGenericType() |
String |
getName() |
int |
getParameterCount() |
Type |
getParameterGenericType(int index) |
String |
getParameterName(ExecutableParameterNameProvider parameterNameProvider,
int parameterIndex) |
List<JavaBeanParameter> |
getParameters() |
Class<?>[] |
getParameterTypes() |
Signature |
getSignature() |
Type |
getType() |
Type |
getTypeForValidatorResolution() |
int |
hashCode() |
boolean |
hasParameters() |
boolean |
hasReturnValue() |
boolean |
isPrivate() |
boolean |
isResolvedToSameMethodInHierarchy(ExecutableHelper executableHelper,
Class<?> mainSubType,
Callable superTypeMethod) |
boolean |
overrides(ExecutableHelper executableHelper,
Callable superTypeMethod) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
as, getConstrainedElementKind
getTypeParameters, isAnnotationPresent
protected final T extends Executable executable
public boolean hasReturnValue()
hasReturnValue
in interface Callable
public boolean hasParameters()
hasParameters
in interface Callable
public String getName()
getName
in interface Constrainable
public Class<?> getDeclaringClass()
getDeclaringClass
in interface Constrainable
public Type getTypeForValidatorResolution()
getTypeForValidatorResolution
in interface Constrainable
public Type getType()
getType
in interface Constrainable
getType
in interface JavaBeanAnnotatedElement
public String getParameterName(ExecutableParameterNameProvider parameterNameProvider, int parameterIndex)
getParameterName
in interface Callable
public Signature getSignature()
getSignature
in interface Callable
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface JavaBeanAnnotatedElement
public boolean overrides(ExecutableHelper executableHelper, Callable superTypeMethod)
public boolean isResolvedToSameMethodInHierarchy(ExecutableHelper executableHelper, Class<?> mainSubType, Callable superTypeMethod)
isResolvedToSameMethodInHierarchy
in interface Callable
public Type getGenericType()
getGenericType
in interface JavaBeanAnnotatedElement
public AnnotatedType getAnnotatedType()
getAnnotatedType
in interface JavaBeanAnnotatedElement
public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
getAnnotation
in interface JavaBeanAnnotatedElement
public List<JavaBeanParameter> getParameters()
public Type getParameterGenericType(int index)
getParameterGenericType
in interface Callable
public int getParameterCount()
getParameterCount
in interface Callable
public Class<?>[] getParameterTypes()
getParameterTypes
in interface Callable
Copyright © 2007-2021 Red Hat, Inc. All Rights Reserved