Class OpBuildTypeArgumentForTypeVariable
java.lang.Object
com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpAbstract
com.io7m.cedarbridge.codegen.java.internal.serializer_instantiation.OpBuildTypeArgumentForTypeVariable
- All Implemented Interfaces:
CBCGSerializerInstantiationOperationType,OpBuildTypeArgumentType,Comparable<CBCGSerializerInstantiationOperationType>
public final class OpBuildTypeArgumentForTypeVariable
extends OpAbstract
implements OpBuildTypeArgumentType
An operation that builds a type argument for the given type parameter.
-
Constructor Summary
ConstructorsConstructorDescriptionOpBuildTypeArgumentForTypeVariable(int order, CBTypeParameterType inParameter, String inLocalName) An operation that builds a type argument for the given type parameter. -
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
-
OpBuildTypeArgumentForTypeVariable
public OpBuildTypeArgumentForTypeVariable(int order, CBTypeParameterType inParameter, String inLocalName) An operation that builds a type argument for the given type parameter.- Parameters:
order- The program orderinParameter- The target type parameterinLocalName- 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
-