org.eclipse.xtext.common.types.util
Class Primitives
java.lang.Object
org.eclipse.xtext.common.types.util.Primitives
public class Primitives
- extends java.lang.Object
- Author:
- Sven Efftinge - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Primitives
public Primitives()
setTypeProviderFactory
public void setTypeProviderFactory(IJvmTypeProvider.Factory typeProviderFactory)
primitiveKind
public Primitives.Primitive primitiveKind(JvmPrimitiveType primitiveType)
asWrapperTypeIfPrimitive
public JvmTypeReference asWrapperTypeIfPrimitive(JvmTypeReference primitive)
getWrapperType
public JvmType getWrapperType(JvmPrimitiveType primitive)
getType
protected JvmType getType(java.lang.Class<?> class1,
org.eclipse.emf.common.notify.Notifier context)
isPrimitive
public boolean isPrimitive(JvmTypeReference type)
isWrapperType
public boolean isWrapperType(JvmTypeReference type)
asPrimitiveIfWrapperType
public JvmTypeReference asPrimitiveIfWrapperType(JvmTypeReference type)