public class PrimitiveResolvingCoercionTarget extends AbstractCoercionTarget
owner, parent, type| Constructor and Description |
|---|
PrimitiveResolvingCoercionTarget(Class<?> type,
AnnotatedElement annotatedElement,
Class<?> owner,
CoercionTarget parent,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
boxedType()
If this target represents a primitive type return the boxing type for it
|
boolean |
canBeAnnotated() |
boolean |
equals(Object obj) |
AnnotatedElement |
getAnnotatedElement() |
int |
hashCode() |
boolean |
isPrimitive()
Return true if this target is a primitive type
|
String |
toString() |
getComponentCoercionTypes, getName, getOwner, getParent, getType, hasComponents, hasParent, isArraypublic PrimitiveResolvingCoercionTarget(Class<?> type, AnnotatedElement annotatedElement, Class<?> owner, CoercionTarget parent, String name)
public boolean isPrimitive()
CoercionTargetisPrimitive in interface CoercionTargetisPrimitive in class AbstractCoercionTargetpublic Class<?> boxedType()
CoercionTargetboxedType in interface CoercionTargetboxedType in class AbstractCoercionTargetpublic boolean canBeAnnotated()
canBeAnnotated in interface CoercionTargetcanBeAnnotated in class AbstractCoercionTargetpublic AnnotatedElement getAnnotatedElement()
getAnnotatedElement in interface CoercionTargetgetAnnotatedElement in class AbstractCoercionTargetpublic String toString()
toString in class AbstractCoercionTargetCopyright © 2003–2017 RedEngine Ltd. All rights reserved.