Package com.nickrobison.tuple.codegen
Class TupleAllocatorGenerator
- java.lang.Object
-
- org.codehaus.commons.compiler.Cookable
-
- org.codehaus.janino.SimpleCompiler
-
- org.codehaus.janino.ClassBodyEvaluator
-
- com.nickrobison.tuple.codegen.TupleAllocatorGenerator
-
- All Implemented Interfaces:
org.codehaus.commons.compiler.IClassBodyEvaluator
,org.codehaus.commons.compiler.ICookable
,org.codehaus.commons.compiler.ISimpleCompiler
public class TupleAllocatorGenerator extends org.codehaus.janino.ClassBodyEvaluator
Created by cliff on 5/14/14.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TupleAllocatorGenerator.TupleAllocator
-
Constructor Summary
Constructors Constructor Description TupleAllocatorGenerator(java.lang.Class tupleClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleAllocatorGenerator.TupleAllocator
createAllocator()
-
Methods inherited from class org.codehaus.janino.ClassBodyEvaluator
addPackageMemberClassDeclaration, compileToClass, cook, createFastClassBodyEvaluator, createFastClassBodyEvaluator, createInstance, getClazz, makeCompilationUnit, setClassName, setDefaultImports, setExtendedClass, setExtendedType, setImplementedInterfaces, setImplementedTypes
-
Methods inherited from class org.codehaus.janino.SimpleCompiler
classesToTypes, classToType, compileToClassLoader, cook, cook, cook, cook, equals, getClassLoader, hashCode, main, optionalClassToType, options, options, setCompileErrorHandler, setDebuggingInformation, setNoPermissions, setParentClassLoader, setPermissions, setWarningHandler
-
Methods inherited from class org.codehaus.commons.compiler.Cookable
cook, cook, cook, cook, cook, cook, cook, cookFile, cookFile, cookFile, cookFile, readString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
createAllocator
public TupleAllocatorGenerator.TupleAllocator createAllocator() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-