Class AssocTypeID
java.lang.Object
org.openzen.zenscript.codemodel.type.AssocTypeID
- All Implemented Interfaces:
TypeID
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssocTypeID(GlobalTypeRegistry typeRegistry, TypeID keyType, TypeID valueType) -
Method Summary
Modifier and TypeMethodDescription<C,R, E extends Exception>
Raccept(C context, TypeVisitorWithContext<C, R, E> visitor) <R> Raccept(TypeVisitor<R> visitor) booleanvoidextractTypeParameters(List<TypeParameter> typeParameters) booleaninthashCode()instance(GenericMapper mapper) booleanbooleantoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openzen.zenscript.codemodel.type.TypeID
canCastExplicitFrom, canCastExplicitTo, canCastImplicitFrom, canCastImplicitTo, castExplicitFrom, castExplicitTo, castImplicitFrom, castImplicitTo, getDefaultValue, getSuperType, inferTypeParameters, isDefinition, isEnum, isGeneric, isVariant, withoutOptional
-
Field Details
-
keyType
-
valueType
-
-
Constructor Details
-
AssocTypeID
-
-
Method Details
-
instance
-
getNormalized
- Specified by:
getNormalizedin interfaceTypeID
-
accept
-
accept
public <C,R, R acceptE extends Exception> (C context, TypeVisitorWithContext<C, R, throws EE> visitor) -
isOptional
public boolean isOptional()- Specified by:
isOptionalin interfaceTypeID
-
isValueType
public boolean isValueType()- Specified by:
isValueTypein interfaceTypeID
-
hasDefaultValue
public boolean hasDefaultValue()- Specified by:
hasDefaultValuein interfaceTypeID
-
extractTypeParameters
- Specified by:
extractTypeParametersin interfaceTypeID
-
hashCode
public int hashCode() -
equals
-
toString
-