Class JavaFunctionalInterfaceTypeID
java.lang.Object
org.openzen.zenscript.codemodel.type.FunctionTypeID
org.openzen.zenscript.javashared.types.JavaFunctionalInterfaceTypeID
- All Implemented Interfaces:
TypeID
-
Field Summary
FieldsFields inherited from class org.openzen.zenscript.codemodel.type.FunctionTypeID
header -
Constructor Summary
ConstructorsConstructorDescriptionJavaFunctionalInterfaceTypeID(GlobalTypeRegistry registry, FunctionHeader header, Method functionalInterfaceMethod, JavaMethod method) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanCastImplicitFrom(TypeID other) booleancanCastImplicitTo(TypeID other) castImplicitFrom(CodePosition position, Expression value) castImplicitTo(CodePosition position, Expression value, TypeID other) instance(GenericMapper mapper) Methods inherited from class org.openzen.zenscript.codemodel.type.FunctionTypeID
accept, accept, equals, extractTypeParameters, hasDefaultValue, hashCode, isOptional, isValueType, toStringMethods 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, castExplicitFrom, castExplicitTo, getDefaultValue, getSuperType, inferTypeParameters, isDefinition, isEnum, isGeneric, isVariant, withoutOptional
-
Field Details
-
functionalInterfaceMethod
-
method
-
-
Constructor Details
-
Method Details
-
getNormalized
- Specified by:
getNormalizedin interfaceTypeID- Overrides:
getNormalizedin classFunctionTypeID
-
instance
- Specified by:
instancein interfaceTypeID- Overrides:
instancein classFunctionTypeID
-
canCastImplicitTo
-
canCastImplicitFrom
-