public class AbstractTypeComputer
extends java.lang.Object
XbaseTypeComputer
or the CollectionLiteralsTypeComputer
.
Offers access to the common services along with a few useful methods that allow to obtain type references
for classes.Constructor and Description |
---|
AbstractTypeComputer() |
Modifier and Type | Method and Description |
---|---|
protected <Type extends JvmType> |
findDeclaredType(java.lang.Class<?> clazz,
ITypeComputationState state) |
protected <Type extends JvmType> |
findDeclaredType(java.lang.Class<?> clazz,
ITypeReferenceOwner owner) |
protected LightweightTypeReference |
getCommonSuperType(java.util.List<LightweightTypeReference> types,
ITypeComputationState state)
Computes the common super type for the given list of types.
|
protected LightweightTypeReference |
getCommonSuperType(java.util.List<LightweightTypeReference> types,
ITypeReferenceOwner owner)
Computes the common super type for the given list of types.
|
protected LightweightTypeReference |
getPrimitiveVoid(ITypeComputationState state) |
protected LightweightTypeReference |
getRawTypeForName(java.lang.Class<?> clazz,
ITypeReferenceOwner owner) |
protected LightweightTypeReference |
getTypeForName(java.lang.Class<?> clazz,
ITypeComputationState state) |
protected LightweightTypeReference getTypeForName(java.lang.Class<?> clazz, ITypeComputationState state)
protected LightweightTypeReference getRawTypeForName(java.lang.Class<?> clazz, ITypeReferenceOwner owner)
protected <Type extends JvmType> Type findDeclaredType(java.lang.Class<?> clazz, ITypeComputationState state)
protected <Type extends JvmType> Type findDeclaredType(java.lang.Class<?> clazz, ITypeReferenceOwner owner)
protected LightweightTypeReference getPrimitiveVoid(ITypeComputationState state)
protected LightweightTypeReference getCommonSuperType(java.util.List<LightweightTypeReference> types, ITypeComputationState state)
protected LightweightTypeReference getCommonSuperType(java.util.List<LightweightTypeReference> types, ITypeReferenceOwner owner)