Class ArrayTypeID
java.lang.Object
org.openzen.zenscript.codemodel.type.ArrayTypeID
- All Implemented Interfaces:
TypeID
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArrayTypeIDfinal intfinal TypeIDstatic final ArrayTypeID -
Constructor Summary
Constructors -
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, getSuperType, inferTypeParameters, isDefinition, isEnum, isGeneric, isVariant, withoutOptional
-
Field Details
-
INT
-
CHAR
-
elementType
-
dimension
public final int dimension
-
-
Constructor Details
-
ArrayTypeID
-
-
Method Details
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceTypeID
-
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
-
instance
-
hasDefaultValue
public boolean hasDefaultValue()- Specified by:
hasDefaultValuein interfaceTypeID
-
extractTypeParameters
- Specified by:
extractTypeParametersin interfaceTypeID
-
hashCode
public int hashCode() -
equals
-
toString
-