org.eclipse.xtext.common.types.util
Class TypeArgumentContext
java.lang.Object
org.eclipse.xtext.common.types.util.TypeArgumentContext
- All Implemented Interfaces:
- ITypeArgumentContext
public class TypeArgumentContext
- extends java.lang.Object
- implements ITypeArgumentContext
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TypeArgumentContext
public TypeArgumentContext(java.util.Map<JvmTypeParameter,JvmTypeReference> boundParameters,
TypeReferences typeReferences,
TypesFactory typesFactory,
IRawTypeHelper rawTypeHelper,
Primitives primitives)
getBoundArgument
public JvmTypeReference getBoundArgument(JvmTypeParameter parameter)
- Specified by:
getBoundArgument
in interface ITypeArgumentContext
getBoundParameters
protected java.util.Collection<JvmTypeParameter> getBoundParameters()
internalGetBoundArgument
protected JvmTypeReference internalGetBoundArgument(JvmTypeParameter parameter)
getLowerBound
public JvmTypeReference getLowerBound(JvmTypeReference element)
- Specified by:
getLowerBound
in interface ITypeArgumentContext
getUpperBound
public JvmTypeReference getUpperBound(JvmTypeReference element,
org.eclipse.emf.common.notify.Notifier context)
- Specified by:
getUpperBound
in interface ITypeArgumentContext
resolve
public JvmTypeReference resolve(JvmTypeReference element)
- Specified by:
resolve
in interface ITypeArgumentContext
isRawTypeContext
public boolean isRawTypeContext()
- Specified by:
isRawTypeContext
in interface ITypeArgumentContext
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object