Class OpBuildTypeArgumentForNamed
java.lang.Object
com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpAbstract
com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpBuildTypeArgumentForNamed
- All Implemented Interfaces:
CBCGSerializerInstantiationOperationType,OpBuildTypeArgumentType,Comparable<CBCGSerializerInstantiationOperationType>
public final class OpBuildTypeArgumentForNamed
extends OpAbstract
implements OpBuildTypeArgumentType
An operation that builds a type argument for the given named type.
-
Constructor Summary
ConstructorsConstructorDescriptionOpBuildTypeArgumentForNamed(int order, CBQualifiedTypeName inTypeName, String inLocalName) An operation that builds a type argument for the given named type. -
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
-
OpBuildTypeArgumentForNamed
An operation that builds a type argument for the given named type.- Parameters:
order- The program orderinTypeName- The target type nameinLocalName- The local variable name
-
-
Method Details
-
javaLocalName
- Specified by:
javaLocalNamein interfaceOpBuildTypeArgumentType- 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
-
typeName
- Returns:
- The target type name
-