Class OpFetchSerializerForTypeVariable
java.lang.Object
com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpAbstract
com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpFetchSerializerForTypeVariable
- All Implemented Interfaces:
CBCGSerializerInstantiationOperationType,OpFetchSerializerType,Comparable<CBCGSerializerInstantiationOperationType>
public final class OpFetchSerializerForTypeVariable
extends OpAbstract
implements OpFetchSerializerType
An operation that fetches a serializer for the given type variable.
-
Constructor Summary
ConstructorsConstructorDescriptionOpFetchSerializerForTypeVariable(int order, com.io7m.jodist.TypeVariableName inJavaTypeVariableName, OpBuildTypeArgumentForTypeVariable inRuntimeTypeFetch, String inLocalName) An operation that fetches a serializer for the given type variable. -
Method Summary
Methods inherited from class com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpAbstract
programOrderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.CBCGSerializerInstantiationOperationType
compareTo, programOrder
-
Constructor Details
-
OpFetchSerializerForTypeVariable
public OpFetchSerializerForTypeVariable(int order, com.io7m.jodist.TypeVariableName inJavaTypeVariableName, OpBuildTypeArgumentForTypeVariable inRuntimeTypeFetch, String inLocalName) An operation that fetches a serializer for the given type variable.- Parameters:
order- The program orderinJavaTypeVariableName- The type variableinRuntimeTypeFetch- The operation that builds a type variableinLocalName- The local variable name
-
-
Method Details
-
javaLocalName
- Specified by:
javaLocalNamein interfaceOpFetchSerializerType- Returns:
- The java class to which this operation belongs
-
serialize
public com.io7m.jodist.CodeBlock serialize()- Specified by:
serializein interfaceCBCGSerializerInstantiationOperationType- Returns:
- The code block to execute
-