@Deprecated public class LazyTypeArgumentContext extends java.lang.Object implements TypeArgumentContextProvider.IInitializableTypeArgumentContext
ITypeArgumentContext
that encapsulates how the available
information of an TypeArgumentContextProvider.Request
will be used to resolve
type parameters. It maintains a chain of delegate contexts and knows which delegate has to
was already produced and which will be created next on demand.
Prior to using the class, clients have to
initialize
it.Modifier and Type | Class and Description |
---|---|
protected class |
LazyTypeArgumentContext.IsResolvedVisitor
Deprecated.
|
Constructor and Description |
---|
LazyTypeArgumentContext()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ITypeArgumentContext |
computeNext()
Deprecated.
|
protected ITypeArgumentContext |
doComputeNext()
Deprecated.
|
JvmTypeReference |
getBoundArgument(JvmTypeParameter parameter)
Deprecated.
|
JvmTypeReference |
getLowerBound(JvmTypeReference reference)
Deprecated.
|
JvmTypeReference |
getUpperBound(JvmTypeReference reference,
org.eclipse.emf.common.notify.Notifier context)
Deprecated.
|
protected boolean |
hasNextLevel()
Deprecated.
|
void |
initialize(TypeArgumentContextProvider.Request request,
TypeArgumentContextProvider contextProvider)
Deprecated.
|
boolean |
isRawTypeContext()
Deprecated.
|
protected boolean |
isResolved(JvmTypeReference reference,
boolean rawType)
Deprecated.
|
protected boolean |
isResolved(JvmTypeReference reference,
boolean rawType,
boolean firstWildcardUnresolved)
Deprecated.
|
JvmTypeReference |
resolve(JvmTypeReference reference)
Deprecated.
|
public void initialize(TypeArgumentContextProvider.Request request, TypeArgumentContextProvider contextProvider)
initialize
in interface TypeArgumentContextProvider.IInitializableTypeArgumentContext
public boolean isRawTypeContext()
isRawTypeContext
in interface ITypeArgumentContext
public JvmTypeReference getBoundArgument(JvmTypeParameter parameter)
getBoundArgument
in interface ITypeArgumentContext
public JvmTypeReference getLowerBound(JvmTypeReference reference)
getLowerBound
in interface ITypeArgumentContext
public JvmTypeReference getUpperBound(JvmTypeReference reference, org.eclipse.emf.common.notify.Notifier context)
getUpperBound
in interface ITypeArgumentContext
public JvmTypeReference resolve(JvmTypeReference reference)
resolve
in interface ITypeArgumentContext
protected boolean hasNextLevel()
protected ITypeArgumentContext computeNext()
protected ITypeArgumentContext doComputeNext()
protected boolean isResolved(JvmTypeReference reference, boolean rawType)
protected boolean isResolved(JvmTypeReference reference, boolean rawType, boolean firstWildcardUnresolved)