net.stickycode.coercion.target
Class PrimitiveResolvingCoercionTarget
java.lang.Object
net.stickycode.coercion.target.AbstractCoercionTarget
net.stickycode.coercion.target.PrimitiveResolvingCoercionTarget
- All Implemented Interfaces:
- CoercionTarget
public class PrimitiveResolvingCoercionTarget
- extends AbstractCoercionTarget
PrimitiveResolvingCoercionTarget
public PrimitiveResolvingCoercionTarget(Class<?> type,
AnnotatedElement annotatedElement,
Class<?> owner,
CoercionTarget parent)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
isPrimitive
public boolean isPrimitive()
- Description copied from interface:
CoercionTarget
- Return true if this target is a primitive type
- Specified by:
isPrimitive in interface CoercionTarget- Overrides:
isPrimitive in class AbstractCoercionTarget
boxedType
public Class<?> boxedType()
- Description copied from interface:
CoercionTarget
- If this target represents a primitive type return the boxing type for it
- Specified by:
boxedType in interface CoercionTarget- Overrides:
boxedType in class AbstractCoercionTarget
canBeAnnotated
public boolean canBeAnnotated()
- Specified by:
canBeAnnotated in interface CoercionTarget- Overrides:
canBeAnnotated in class AbstractCoercionTarget
getAnnotatedElement
public AnnotatedElement getAnnotatedElement()
- Specified by:
getAnnotatedElement in interface CoercionTarget- Overrides:
getAnnotatedElement in class AbstractCoercionTarget
toString
public String toString()
- Overrides:
toString in class AbstractCoercionTarget
Copyright © 2003-2012 RedEngine Ltd. All Rights Reserved.