org.eclipse.xtext.xbase.compiler
Class TypeReferenceSerializer
java.lang.Object
org.eclipse.xtext.xbase.compiler.TypeReferenceSerializer
- Direct Known Subclasses:
- XtendTypeReferenceSerializer
@NonNullByDefault
public class TypeReferenceSerializer
- extends java.lang.Object
- Author:
- Sven Efftinge - Initial contribution and API
Method Summary |
boolean |
isLocalTypeParameter(org.eclipse.emf.ecore.EObject context,
JvmTypeParameter parameter)
|
JvmTypeReference |
resolveMultiType(JvmTypeReference reference)
|
void |
serialize(JvmTypeReference type,
org.eclipse.emf.ecore.EObject context,
IAppendable appendable)
|
void |
serialize(JvmTypeReference type,
org.eclipse.emf.ecore.EObject context,
IAppendable appendable,
boolean withoutConstraints,
boolean paramsToWildcard)
|
void |
serialize(JvmTypeReference type,
org.eclipse.emf.ecore.EObject context,
IAppendable appendable,
boolean withoutConstraints,
boolean paramsToWildcard,
boolean paramsToObject,
boolean allowPrimitives)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeReferenceSerializer
public TypeReferenceSerializer()
isLocalTypeParameter
public boolean isLocalTypeParameter(org.eclipse.emf.ecore.EObject context,
JvmTypeParameter parameter)
serialize
public void serialize(JvmTypeReference type,
org.eclipse.emf.ecore.EObject context,
IAppendable appendable)
serialize
public void serialize(JvmTypeReference type,
org.eclipse.emf.ecore.EObject context,
IAppendable appendable,
boolean withoutConstraints,
boolean paramsToWildcard)
serialize
public void serialize(JvmTypeReference type,
org.eclipse.emf.ecore.EObject context,
IAppendable appendable,
boolean withoutConstraints,
boolean paramsToWildcard,
boolean paramsToObject,
boolean allowPrimitives)
resolveMultiType
public JvmTypeReference resolveMultiType(JvmTypeReference reference)