org.eclipse.xtext.xbase.compiler
Class TypeReferenceSerializer

java.lang.Object
  extended by 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

Constructor Summary
TypeReferenceSerializer()
           
 
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
 

Constructor Detail

TypeReferenceSerializer

public TypeReferenceSerializer()
Method Detail

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)