public class BoxedValueDescriptor extends AbstractValueDescriptor implements BoxedDescriptor
Thus an IntegerValue is a TypeId.INTEGER and an org.eclipse.ocl.domain.values.IntegerValue.
AbstractDescriptor.NamedFuture
Modifier and Type | Field and Description |
---|---|
protected UnboxedDescriptor |
unboxedDescriptor |
javaClass
elementId
Constructor and Description |
---|
BoxedValueDescriptor(ElementId elementId,
java.lang.Class<?> javaClass,
UnboxedDescriptor unboxedDescriptor) |
Modifier and Type | Method and Description |
---|---|
UnboxedDescriptor |
getUnboxedDescriptor()
Return the type descriptor for use when an unboxed type would be appropriate.
|
boolean |
isAssignableFrom(TypeDescriptor typeDescriptor)
Return true if an instance described by typeDescriptor may be assigned to an instance described by this.
|
append, getClassName, getJavaClass, hasJavaClass, isAssignableTo, toString
appendBox, appendCast, appendCastTerm, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getEClassifier, getElementId, getPrimitiveDescriptor, isBoxedType, reClass
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
append, appendBox, appendCast, appendCastTerm, appendEqualsValue, appendNotEqualsTerm, appendUnboxStatements, asCollectionDescriptor, getClassName, getEClassifier, getJavaClass, getPrimitiveDescriptor, hasJavaClass, isAssignableTo
@NonNull protected final UnboxedDescriptor unboxedDescriptor
public BoxedValueDescriptor(@NonNull ElementId elementId, @NonNull java.lang.Class<?> javaClass, @NonNull UnboxedDescriptor unboxedDescriptor)
@NonNull public UnboxedDescriptor getUnboxedDescriptor()
TypeDescriptor
getUnboxedDescriptor
in interface TypeDescriptor
public final boolean isAssignableFrom(@NonNull TypeDescriptor typeDescriptor)
TypeDescriptor
isAssignableFrom
in interface TypeDescriptor