Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Member Functions
OOModel::JavaTypeSystem Class Reference
Inheritance diagram for OOModel::JavaTypeSystem:
OOModel::TypeSystem

Public Member Functions

virtual TypeRelations relationFirstToSecond (const Type *first, const Type *second) override
 
- Public Member Functions inherited from OOModel::TypeSystem
virtual ~TypeSystem ()
 

Private Member Functions

bool isStandardJavaLangClass (const QString &className, Model::Node *target)
 
int primitiveTypeToSubtypingOrder (const PrimitiveType *primitive)
 
TypeRelations relationArrayToOther (const ArrayType *array, const Type *other)
 
TypeRelations relationClassToOther (const ClassType *classType, const Type *other)
 
TypeRelations relationNullToOther (const NullType *nullType, const Type *other)
 
TypeRelations relationPrimitiveToOther (const PrimitiveType *primitive, const Type *other)
 
TypeRelations relationStringToOther (const StringType *stringType, const Type *other)
 
TypeRelations relationSymbolProviderToOther (const SymbolProviderType *symbolProvider, const Type *other)
 

Additional Inherited Members

- Public Types inherited from OOModel::TypeSystem
enum  TypeRelation { None = 0x0 , Equal = 0x1 , IsSubtype = 0x2 , IsSupertype = 0x4 , IsConvertibleTo = 0x8 , IsConvertibleFrom = 0x10 }
 
using TypeRelations = QFlags< TypeRelation >
 
- Static Public Member Functions inherited from OOModel::TypeSystem
static TypeSysteminstance ()
 
static TypeRelations invert (TypeRelations relation)
 
- Static Public Attributes inherited from OOModel::TypeSystem
constexpr static auto EQUALTYPES = Equal | IsSubtype | IsSupertype | IsConvertibleTo | IsConvertibleFrom
 

Member Function Documentation

◆ isStandardJavaLangClass()

bool OOModel::JavaTypeSystem::isStandardJavaLangClass ( const QString &  className,
Model::Node target 
)
inlineprivate

◆ primitiveTypeToSubtypingOrder()

int OOModel::JavaTypeSystem::primitiveTypeToSubtypingOrder ( const PrimitiveType primitive)
private

◆ relationArrayToOther()

TypeSystem::TypeRelations OOModel::JavaTypeSystem::relationArrayToOther ( const ArrayType array,
const Type other 
)
private

◆ relationClassToOther()

TypeSystem::TypeRelations OOModel::JavaTypeSystem::relationClassToOther ( const ClassType classType,
const Type other 
)
private

◆ relationFirstToSecond()

TypeSystem::TypeRelations OOModel::JavaTypeSystem::relationFirstToSecond ( const Type first,
const Type second 
)
overridevirtual

Implements OOModel::TypeSystem.

◆ relationNullToOther()

TypeSystem::TypeRelations OOModel::JavaTypeSystem::relationNullToOther ( const NullType nullType,
const Type other 
)
private

◆ relationPrimitiveToOther()

TypeSystem::TypeRelations OOModel::JavaTypeSystem::relationPrimitiveToOther ( const PrimitiveType primitive,
const Type other 
)
private

◆ relationStringToOther()

TypeSystem::TypeRelations OOModel::JavaTypeSystem::relationStringToOther ( const StringType stringType,
const Type other 
)
private

◆ relationSymbolProviderToOther()

TypeSystem::TypeRelations OOModel::JavaTypeSystem::relationSymbolProviderToOther ( const SymbolProviderType symbolProvider,
const Type other 
)
private