Interface IRawTypeHelper
-
- All Known Implementing Classes:
RawTypeHelper
public interface IRawTypeHelperTheIRawTypeHelperallows to compute the raw types for a given reference. Semantically the raw type for a reference is considered to be- The primary type for a parameterized type, e.g.
List<String>producesList - The constraints in case the type is a type paramater, e.g.
CharSequenceis the raw type of a type parameterT extends CharSequence - Wildcard references determine the raw type from their upper bound
- Multi-types return all the raw types of all of their components.
- Synonyms return the raw type of the synonym since the primary type is only used to track the origin. That
means, a type
int | Integerhas the raw typeInteger.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<org.eclipse.xtext.common.types.JvmType>getAllRawTypes(LightweightTypeReference reference, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)LightweightTypeReferencegetRawTypeReference(LightweightTypeReference reference, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
-
-
-
Method Detail
-
getAllRawTypes
java.util.List<org.eclipse.xtext.common.types.JvmType> getAllRawTypes(LightweightTypeReference reference, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
-
getRawTypeReference
LightweightTypeReference getRawTypeReference(LightweightTypeReference reference, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
-
-