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.JvmTypeReference
doGetTypeReference(XComputedTypeReferenceImplCustom context)
org.eclipse.xtext.common.types.JvmTypeReference
getTypeReference(XComputedTypeReferenceImplCustom context)
protected org.eclipse.xtext.common.types.JvmTypeReference
handleReentrantInvocation(XComputedTypeReferenceImplCustom context)
Allows to deal with reentrant invocation for the given context.boolean
isComputing()
protected void
markComputing()
java.lang.String
toString()
protected void
unmarkComputing()
-
-
-
Method Detail
-
getTypeReference
public final org.eclipse.xtext.common.types.JvmTypeReference getTypeReference(XComputedTypeReferenceImplCustom context)
- Specified by:
getTypeReference
in 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:
toString
in classjava.lang.Object
-
-