Class AbstractReentrantTypeReferenceProvider
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.util.AbstractReentrantTypeReferenceProvider
-
- All Implemented Interfaces:
IJvmTypeReferenceProvider
- Direct Known Subclasses:
LogicalContainerAwareReentrantTypeResolver.AbstractDemandTypeReferenceProvider,LogicalContainerAwareReentrantTypeResolver.AnyTypeReferenceProvider,UnboundTypeReferenceResolver
public abstract class AbstractReentrantTypeReferenceProvider extends java.lang.Object implements IJvmTypeReferenceProvider
-
-
Constructor Summary
Constructors Constructor Description AbstractReentrantTypeReferenceProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.eclipse.xtext.common.types.JvmTypeReferencedoGetTypeReference(XComputedTypeReferenceImplCustom context)org.eclipse.xtext.common.types.JvmTypeReferencegetTypeReference(XComputedTypeReferenceImplCustom context)protected org.eclipse.xtext.common.types.JvmTypeReferencehandleReentrantInvocation(XComputedTypeReferenceImplCustom context)Allows to deal with reentrant invocation for the given context.booleanisComputing()protected voidmarkComputing()java.lang.StringtoString()protected voidunmarkComputing()
-
-
-
Method Detail
-
getTypeReference
public final org.eclipse.xtext.common.types.JvmTypeReference getTypeReference(XComputedTypeReferenceImplCustom context)
- Specified by:
getTypeReferencein interfaceIJvmTypeReferenceProvider
-
markComputing
protected void markComputing()
-
unmarkComputing
protected void unmarkComputing()
-
isComputing
public boolean isComputing()
-
handleReentrantInvocation
protected org.eclipse.xtext.common.types.JvmTypeReference handleReentrantInvocation(XComputedTypeReferenceImplCustom context)
Allows to deal with reentrant invocation for the given context.- Parameters:
context- the reference that is part of a recursive call graph..
-
doGetTypeReference
protected abstract org.eclipse.xtext.common.types.JvmTypeReference doGetTypeReference(XComputedTypeReferenceImplCustom context)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-