Package de.monticore.types.check
Class SymTypeOfIntersection
java.lang.Object
de.monticore.types.check.SymTypeExpression
de.monticore.types.check.SymTypeOfIntersection
- All Implemented Interfaces:
Comparable<SymTypeExpression>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<SymTypeExpression> Set of types within the intersectionFields inherited from class de.monticore.types.check.SymTypeExpression
functionList, LOG_NAME, sourceInfo, typeSymbol -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ISymTypeVisitor visitor) booleanaddAllIntersectedTypes(Collection<? extends SymTypeExpression> collection) booleanaddIntersectedType(SymTypeExpression element) voidbooleancontainsAllIntersectedTypes(Collection<?> collection) booleancontainsIntersectedType(Object element) booleanbooleanvoidforEachIntersectedTypes(Consumer<? super SymTypeExpression> action) intbooleanbooleanAm I an intersection type (e.g.booleanremoveAllIntersectedTypes(Collection<?> collection) booleanremoveIfIntersectedType(Predicate<? super SymTypeExpression> filter) booleanremoveIntersectedType(Object element) booleanretainAllIntersectedTypes(Collection<?> collection) voidsetIntersectedTypeSet(Set<SymTypeExpression> intersectedTypes) intObject[]toArrayIntersectedTypes(SymTypeExpression[] array) Methods inherited from class de.monticore.types.check.SymTypeExpression
_internal_setSourceInfo, asArrayType, asFunctionType, asGenericType, asInferenceVariable, asNullType, asNumericWithSIUnitType, asObjectType, asObscureType, asPrimitive, asRegExType, asSIUnitType, asTupleType, asTypeVariable, asUnionType, asVoidType, asWildcard, compareTo, deepClone, getCorrectFields, getCorrectFields, getCorrectMethods, getCorrectMethods, getFieldList, getFieldList, getFieldList, getFieldList, getMethodList, getMethodList, getMethodList, getMethodList, getSourceInfo, getTypeInfo, hasTypeInfo, isArrayType, isFunctionType, isGenericType, isInferenceVariable, isNullType, isNumericWithSIUnitType, isObjectType, isObscureType, isPrimitive, isRegExType, isSIUnitType, isTupleType, isTypeVariable, isUnionType, isValidType, isVoidType, isWildcard, print, printAsJson, printFullName, replaceTypeVariables, transformFieldList, transformMethodList
-
Field Details
-
intersectedTypes
Set of types within the intersection
-
-
Constructor Details
-
SymTypeOfIntersection
-
-
Method Details
-
isIntersectionType
public boolean isIntersectionType()Description copied from class:SymTypeExpressionAm I an intersection type (e.g."(A&B)")- Overrides:
isIntersectionTypein classSymTypeExpression
-
asIntersectionType
- Overrides:
asIntersectionTypein classSymTypeExpression
-
deepEquals
- Specified by:
deepEqualsin classSymTypeExpression
-
accept
- Overrides:
acceptin classSymTypeExpression
-
containsIntersectedType
-
containsAllIntersectedTypes
-
isEmptyIntersectedTypes
public boolean isEmptyIntersectedTypes() -
iteratorIntersectedTypes
-
sizeIntersectedTypes
public int sizeIntersectedTypes() -
toArrayIntersectedTypes
-
toArrayIntersectedTypes
-
spliteratorIntersectedTypes
-
streamIntersectedTypes
-
parallelStreamIntersectedTypes
-
equalsIntersectedTypeTypes
-
hashCodeIntersectedTypes
public int hashCodeIntersectedTypes() -
getIntersectedTypeSet
-
clearIntersectedTypes
public void clearIntersectedTypes() -
addIntersectedType
-
addAllIntersectedTypes
-
removeIntersectedType
-
removeAllIntersectedTypes
-
retainAllIntersectedTypes
-
removeIfIntersectedType
-
forEachIntersectedTypes
-
setIntersectedTypeSet
-