public class Primitives
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Primitives.Primitive |
Constructor and Description |
---|
Primitives() |
Modifier and Type | Method and Description |
---|---|
JvmTypeReference |
asPrimitiveIfWrapperType(JvmTypeReference type) |
JvmTypeReference |
asWrapperTypeIfPrimitive(JvmTypeReference primitive) |
JvmType |
getPrimitiveTypeIfWrapper(JvmDeclaredType type) |
protected JvmType |
getType(java.lang.Class<?> class1,
org.eclipse.emf.common.notify.Notifier context) |
JvmType |
getWrapperType(JvmPrimitiveType primitive) |
boolean |
isPrimitive(JvmTypeReference type) |
boolean |
isWrapperType(JvmType type) |
boolean |
isWrapperType(JvmTypeReference type) |
Primitives.Primitive |
primitiveKind(JvmPrimitiveType primitiveType) |
public Primitives.Primitive primitiveKind(JvmPrimitiveType primitiveType)
public JvmTypeReference asWrapperTypeIfPrimitive(JvmTypeReference primitive)
public JvmType getWrapperType(JvmPrimitiveType primitive)
public JvmType getPrimitiveTypeIfWrapper(JvmDeclaredType type)
protected JvmType getType(java.lang.Class<?> class1, org.eclipse.emf.common.notify.Notifier context)
public boolean isPrimitive(JvmTypeReference type)
public boolean isWrapperType(JvmTypeReference type)
public boolean isWrapperType(JvmType type)
public JvmTypeReference asPrimitiveIfWrapperType(JvmTypeReference type)