Class GenericTypeID
java.lang.Object
org.openzen.zenscript.codemodel.type.GenericTypeID
- All Implemented Interfaces:
TypeID
-
Field Summary
Fields -
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) booleanbooleanbooleanbooleanmatches(LocalMemberCache cache, TypeID type) toString()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, isVariant, withoutOptional
-
Field Details
-
parameter
-
-
Constructor Details
-
GenericTypeID
-
-
Method Details
-
matches
-
getNormalized
- Specified by:
getNormalizedin interfaceTypeID
-
instance
-
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
-
isGeneric
public boolean isGeneric() -
hasDefaultValue
public boolean hasDefaultValue()- Specified by:
hasDefaultValuein interfaceTypeID
-
extractTypeParameters
- Specified by:
extractTypeParametersin interfaceTypeID
-
hashCode
public int hashCode() -
equals
-
toString
-