Class OpFetchSerializerForApplication
java.lang.Object
com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpAbstract
com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpFetchSerializerForApplication
- All Implemented Interfaces:
CBCGSerializerInstantiationOperationType,OpFetchSerializerType,Comparable<CBCGSerializerInstantiationOperationType>
public final class OpFetchSerializerForApplication
extends OpAbstract
implements OpFetchSerializerType
An operation that fetches a serializer for the given type application.
-
Constructor Summary
ConstructorsConstructorDescriptionOpFetchSerializerForApplication(int order, String inLocalName, com.io7m.jodist.ParameterizedTypeName inJavaTypeName, OpBuildTypeArgumentForApplication inTypeArgument) An operation that fetches a serializer for the given type application. -
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
-
OpFetchSerializerForApplication
public OpFetchSerializerForApplication(int order, String inLocalName, com.io7m.jodist.ParameterizedTypeName inJavaTypeName, OpBuildTypeArgumentForApplication inTypeArgument) An operation that fetches a serializer for the given type application.- Parameters:
order- The program orderinJavaTypeName- The target Java typeinTypeArgument- The operation that builds a type argumentinLocalName- 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
-