public class TypeArgumentConstraintLocation extends Object implements ConstraintLocation
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(ExecutableParameterNameProvider parameterNameProvider,
PathImpl path)
Appends a node representing this location to the given property path.
|
boolean |
equals(Object o) |
Class<?> |
getContainerClass() |
Class<?> |
getDeclaringClass()
Returns the class hosting this location.
|
ConstraintLocation |
getDelegate() |
Member |
getMember()
Returns the member represented by this location.
|
ConstraintLocation |
getOuterDelegate() |
Type |
getTypeForValidatorResolution()
Returns the type to be used when resolving constraint validators for constraints at this location.
|
TypeVariable<?> |
getTypeParameter() |
Object |
getValue(Object parent)
Obtains the value of this location from the parent.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforClass, forCrossParameter, forField, forGetter, forGetter, forParameter, forReturnValue, forTypeArgumentpublic Class<?> getDeclaringClass()
ConstraintLocationgetDeclaringClass in interface ConstraintLocationpublic Member getMember()
ConstraintLocationgetMember in interface ConstraintLocationnull when this location represents a type.public TypeVariable<?> getTypeParameter()
public Type getTypeForValidatorResolution()
ConstraintLocationgetTypeForValidatorResolution in interface ConstraintLocationpublic Class<?> getContainerClass()
public void appendTo(ExecutableParameterNameProvider parameterNameProvider, PathImpl path)
ConstraintLocationappendTo in interface ConstraintLocationpublic Object getValue(Object parent)
ConstraintLocationFieldConstraintLocation or GetterConstraintLocation but an
object array for a ParameterConstraintLocation.getValue in interface ConstraintLocationpublic ConstraintLocation getDelegate()
public ConstraintLocation getOuterDelegate()
Copyright © 2019 JBoss by Red Hat. All rights reserved.