anvil.script.compiler
Class DispatcherFactory

java.lang.Object
  |
  +--anvil.script.compiler.DispatcherFactory
All Implemented Interfaces:
CodecConstants

public class DispatcherFactory
extends java.lang.Object
implements CodecConstants


Field Summary
 
Fields inherited from interface anvil.codec.CodecConstants
ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_TRANSIENT, ACC_VOLATILE, ATTR_Code, ATTR_ConstantValue, ATTR_Deprecated, ATTR_Exceptions, ATTR_InnerClasses, ATTR_LineNumberTable, ATTR_LocalVariableTable, ATTR_SourceFile, ATTR_Synthetic, CLASS_MAGIC, CONSTANT_Class, CONSTANT_Double, CONSTANT_FieldRef, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodRef, CONSTANT_Long, CONSTANT_MethodRef, CONSTANT_NameAndType, CONSTANT_SourceFile, CONSTANT_String, CONSTANT_Utf8, MAJOR_VERSION, MINOR_VERSION, T_BOOLEAN, T_BYTE, T_CHAR, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_SHORT
 
Constructor Summary
DispatcherFactory()
           
 
Method Summary
static ClassDispatcher create(ClassType cls, ZoneClassLoader loader)
           
static FunctionDispatcher create(CompilableFunction function, boolean isstatic, ZoneClassLoader loader)
           
static GeneratorDispatcher createGenerator(CompilableFunction function, ZoneClassLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DispatcherFactory

public DispatcherFactory()
Method Detail

create

public static FunctionDispatcher create(CompilableFunction function,
                                        boolean isstatic,
                                        ZoneClassLoader loader)
                                 throws java.lang.Throwable
java.lang.Throwable

create

public static ClassDispatcher create(ClassType cls,
                                     ZoneClassLoader loader)
                              throws java.lang.Throwable
java.lang.Throwable

createGenerator

public static GeneratorDispatcher createGenerator(CompilableFunction function,
                                                  ZoneClassLoader loader)
                                           throws java.lang.Throwable
java.lang.Throwable