railo.transformer.bytecode.util
Class Types

java.lang.Object
  extended by railo.transformer.bytecode.util.Types

public final class Types
extends Object


Field Summary
static int _BOOLEAN
           
static int _DOUBLE
           
static int _OBJECT
           
static int _STRING
           
static org.objectweb.asm.Type ABORT
           
static org.objectweb.asm.Type ARRAY
           
static org.objectweb.asm.Type ARRAY_UTIL
           
static org.objectweb.asm.Type BODY_CONTENT
           
static org.objectweb.asm.Type BODY_CONTENT_UTIL
           
static org.objectweb.asm.Type BOOLEAN
           
static org.objectweb.asm.Type BOOLEAN_VALUE
           
static org.objectweb.asm.Type BUFFERED_READER
           
static org.objectweb.asm.Type BYTE
           
static org.objectweb.asm.Type BYTE_ARRAY
           
static org.objectweb.asm.Type BYTE_VALUE
           
static org.objectweb.asm.Type BYTE_VALUE_ARRAY
           
static org.objectweb.asm.Type CASTER
           
static org.objectweb.asm.Type CHAR
           
static org.objectweb.asm.Type CHAR_ARRAY
           
static org.objectweb.asm.Type CHARACTER
           
static org.objectweb.asm.Type CLASS
           
static org.objectweb.asm.Type CLASS_ARRAY
           
static org.objectweb.asm.Type CLASS_LOADER
           
static org.objectweb.asm.Type CLOSURE
           
static org.objectweb.asm.Type COLLECTION
           
static org.objectweb.asm.Type COLLECTION_KEY
           
static org.objectweb.asm.Type COLLECTION_KEY_ARRAY
           
static org.objectweb.asm.Type COMPONENT
           
static org.objectweb.asm.Type COMPONENT_IMPL
           
static org.objectweb.asm.Type COMPONENT_PAGE
           
static org.objectweb.asm.Type CONFIG
           
static org.objectweb.asm.Type CONFIG_WEB
           
static org.objectweb.asm.Type DATE
           
static org.objectweb.asm.Type DATE_TIME
           
static org.objectweb.asm.Type DOUBLE
           
static org.objectweb.asm.Type DOUBLE_VALUE
           
static org.objectweb.asm.Type EXCEL
           
static org.objectweb.asm.Type EXCEL_UTIL
           
static org.objectweb.asm.Type EXCEPTION
           
static org.objectweb.asm.Type EXCEPTION_HANDLER
           
static org.objectweb.asm.Type FILE
           
static org.objectweb.asm.Type FLOAT
           
static org.objectweb.asm.Type FLOAT_VALUE
           
static org.objectweb.asm.Type FUNCTION_VALUE
           
static org.objectweb.asm.Type IMPORT_DEFINITIONS
           
static org.objectweb.asm.Type IMPORT_DEFINITIONS_ARRAY
           
static org.objectweb.asm.Type IMPORT_DEFINITIONS_IMPL
           
static org.objectweb.asm.Type INT_VALUE
           
static org.objectweb.asm.Type INTEGER
           
static org.objectweb.asm.Type INTERFACE_IMPL
           
static org.objectweb.asm.Type INTERFACE_PAGE
           
static org.objectweb.asm.Type IOUTIL
           
static org.objectweb.asm.Type ITERATOR
           
static org.objectweb.asm.Type ITERATORABLE
           
static org.objectweb.asm.Type JSP_WRITER
           
static org.objectweb.asm.Type LIST_UTIL
           
static org.objectweb.asm.Type LONG
           
static org.objectweb.asm.Type LONG_VALUE
           
static org.objectweb.asm.Type MAP
           
static org.objectweb.asm.Type MAP_ENTRY
           
static org.objectweb.asm.Type MEMBER
           
static org.objectweb.asm.Type NODE
           
static org.objectweb.asm.Type NUMBER_RANGE
           
static org.objectweb.asm.Type OBJECT
           
static org.objectweb.asm.Type OBJECT_ARRAY
           
static org.objectweb.asm.Type OPERATOR
           
static org.objectweb.asm.Type PAGE
           
static org.objectweb.asm.Type PAGE_CONTEXT
           
static org.objectweb.asm.Type PAGE_CONTEXT_IMPL
           
static org.objectweb.asm.Type PAGE_EXCEPTION
           
static org.objectweb.asm.Type PAGE_PLUS
           
static org.objectweb.asm.Type PAGE_SOURCE
           
static org.objectweb.asm.Type QUERY
           
static org.objectweb.asm.Type QUERY_COLUMN
           
static org.objectweb.asm.Type READER
           
static org.objectweb.asm.Type REFERENCE
           
static org.objectweb.asm.Type RESOURCE
           
static org.objectweb.asm.Type SCOPE
           
static org.objectweb.asm.Type SECURITY_MANAGER
           
static org.objectweb.asm.Type SHORT
           
static org.objectweb.asm.Type SHORT_VALUE
           
static org.objectweb.asm.Type STRING
           
static org.objectweb.asm.Type STRING_ARRAY
           
static org.objectweb.asm.Type STRING_BUFFER
           
static org.objectweb.asm.Type STRUCT
           
static org.objectweb.asm.Type TAG
           
static org.objectweb.asm.Type THROWABLE
           
static org.objectweb.asm.Type TIMESPAN
           
static org.objectweb.asm.Type TIMEZONE
           
static org.objectweb.asm.Type UDF
           
static org.objectweb.asm.Type UDF_IMPL
           
static org.objectweb.asm.Type UDF_IMPL_ARRAY
           
static org.objectweb.asm.Type UDF_PROPERTIES
           
static org.objectweb.asm.Type UDF_PROPERTIES_ARRAY
           
static org.objectweb.asm.Type UDF_PROPERTIES_IMPL
           
static org.objectweb.asm.Type UNDEFINED
           
static org.objectweb.asm.Type VARIABLE_INTERPRETER
           
static org.objectweb.asm.Type VARIABLE_REFERENCE
           
static org.objectweb.asm.Type VARIABLES
           
static org.objectweb.asm.Type VOID
           
 
Constructor Summary
Types()
           
 
Method Summary
static int getType(org.objectweb.asm.Type type)
           
static boolean isPrimitiveType(int type)
          returns if given type is a "primitve" type or in other words a value type (no reference type, no object)
static boolean isPrimitiveType(org.objectweb.asm.Type type)
          returns if given type is a "primitve" type or in other words a value type (no reference type, no object)
static org.objectweb.asm.Type toRefType(org.objectweb.asm.Type type)
           
static org.objectweb.asm.Type toType(String type)
          translate sString classname to a real type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_BOOLEAN

public static final int _BOOLEAN
See Also:
Constant Field Values

_DOUBLE

public static final int _DOUBLE
See Also:
Constant Field Values

_OBJECT

public static final int _OBJECT
See Also:
Constant Field Values

_STRING

public static final int _STRING
See Also:
Constant Field Values

ABORT

public static final org.objectweb.asm.Type ABORT

ARRAY

public static final org.objectweb.asm.Type ARRAY

BYTE

public static final org.objectweb.asm.Type BYTE

BYTE_VALUE

public static final org.objectweb.asm.Type BYTE_VALUE

BYTE_ARRAY

public static final org.objectweb.asm.Type BYTE_ARRAY

BYTE_VALUE_ARRAY

public static final org.objectweb.asm.Type BYTE_VALUE_ARRAY

BOOLEAN

public static final org.objectweb.asm.Type BOOLEAN

BOOLEAN_VALUE

public static final org.objectweb.asm.Type BOOLEAN_VALUE

CHAR

public static final org.objectweb.asm.Type CHAR

CHARACTER

public static final org.objectweb.asm.Type CHARACTER

DOUBLE

public static final org.objectweb.asm.Type DOUBLE

DOUBLE_VALUE

public static final org.objectweb.asm.Type DOUBLE_VALUE

FLOAT

public static final org.objectweb.asm.Type FLOAT

FLOAT_VALUE

public static final org.objectweb.asm.Type FLOAT_VALUE

INTEGER

public static final org.objectweb.asm.Type INTEGER

INT_VALUE

public static final org.objectweb.asm.Type INT_VALUE

LONG

public static final org.objectweb.asm.Type LONG

LONG_VALUE

public static final org.objectweb.asm.Type LONG_VALUE

SHORT

public static final org.objectweb.asm.Type SHORT

SHORT_VALUE

public static final org.objectweb.asm.Type SHORT_VALUE

COMPONENT

public static final org.objectweb.asm.Type COMPONENT

PAGE

public static final org.objectweb.asm.Type PAGE

PAGE_PLUS

public static final org.objectweb.asm.Type PAGE_PLUS

PAGE_SOURCE

public static final org.objectweb.asm.Type PAGE_SOURCE

COMPONENT_PAGE

public static final org.objectweb.asm.Type COMPONENT_PAGE

INTERFACE_PAGE

public static final org.objectweb.asm.Type INTERFACE_PAGE

COMPONENT_IMPL

public static final org.objectweb.asm.Type COMPONENT_IMPL

INTERFACE_IMPL

public static final org.objectweb.asm.Type INTERFACE_IMPL

DATE_TIME

public static final org.objectweb.asm.Type DATE_TIME

DATE

public static final org.objectweb.asm.Type DATE

FILE

public static final org.objectweb.asm.Type FILE

EXCEL

public static final org.objectweb.asm.Type EXCEL

EXCEL_UTIL

public static final org.objectweb.asm.Type EXCEL_UTIL

RESOURCE

public static final org.objectweb.asm.Type RESOURCE

FUNCTION_VALUE

public static final org.objectweb.asm.Type FUNCTION_VALUE

ITERATOR

public static final org.objectweb.asm.Type ITERATOR

ITERATORABLE

public static final org.objectweb.asm.Type ITERATORABLE

NODE

public static final org.objectweb.asm.Type NODE

OBJECT

public static final org.objectweb.asm.Type OBJECT

OBJECT_ARRAY

public static final org.objectweb.asm.Type OBJECT_ARRAY

PAGE_CONTEXT

public static final org.objectweb.asm.Type PAGE_CONTEXT

PAGE_CONTEXT_IMPL

public static final org.objectweb.asm.Type PAGE_CONTEXT_IMPL

QUERY

public static final org.objectweb.asm.Type QUERY

QUERY_COLUMN

public static final org.objectweb.asm.Type QUERY_COLUMN

PAGE_EXCEPTION

public static final org.objectweb.asm.Type PAGE_EXCEPTION

REFERENCE

public static final org.objectweb.asm.Type REFERENCE

CASTER

public static final org.objectweb.asm.Type CASTER

COLLECTION

public static final org.objectweb.asm.Type COLLECTION

STRING

public static final org.objectweb.asm.Type STRING

STRING_ARRAY

public static final org.objectweb.asm.Type STRING_ARRAY

STRUCT

public static final org.objectweb.asm.Type STRUCT

OPERATOR

public static final org.objectweb.asm.Type OPERATOR

CONFIG

public static final org.objectweb.asm.Type CONFIG

CONFIG_WEB

public static final org.objectweb.asm.Type CONFIG_WEB

SCOPE

public static final org.objectweb.asm.Type SCOPE

VARIABLES

public static final org.objectweb.asm.Type VARIABLES

TIMESPAN

public static final org.objectweb.asm.Type TIMESPAN

THROWABLE

public static final org.objectweb.asm.Type THROWABLE

EXCEPTION

public static final org.objectweb.asm.Type EXCEPTION

VOID

public static final org.objectweb.asm.Type VOID

LIST_UTIL

public static final org.objectweb.asm.Type LIST_UTIL

VARIABLE_INTERPRETER

public static final org.objectweb.asm.Type VARIABLE_INTERPRETER

VARIABLE_REFERENCE

public static final org.objectweb.asm.Type VARIABLE_REFERENCE

JSP_WRITER

public static final org.objectweb.asm.Type JSP_WRITER

TAG

public static final org.objectweb.asm.Type TAG

NUMBER_RANGE

public static final org.objectweb.asm.Type NUMBER_RANGE

SECURITY_MANAGER

public static final org.objectweb.asm.Type SECURITY_MANAGER

READER

public static final org.objectweb.asm.Type READER

BUFFERED_READER

public static final org.objectweb.asm.Type BUFFERED_READER

ARRAY_UTIL

public static final org.objectweb.asm.Type ARRAY_UTIL

EXCEPTION_HANDLER

public static final org.objectweb.asm.Type EXCEPTION_HANDLER

TIMEZONE

public static final org.objectweb.asm.Type TIMEZONE

STRING_BUFFER

public static final org.objectweb.asm.Type STRING_BUFFER

MEMBER

public static final org.objectweb.asm.Type MEMBER

UDF

public static final org.objectweb.asm.Type UDF

UDF_PROPERTIES

public static final org.objectweb.asm.Type UDF_PROPERTIES

UDF_PROPERTIES_IMPL

public static final org.objectweb.asm.Type UDF_PROPERTIES_IMPL

UDF_IMPL

public static final org.objectweb.asm.Type UDF_IMPL

CLOSURE

public static final org.objectweb.asm.Type CLOSURE

UDF_PROPERTIES_ARRAY

public static final org.objectweb.asm.Type UDF_PROPERTIES_ARRAY

UDF_IMPL_ARRAY

public static final org.objectweb.asm.Type UDF_IMPL_ARRAY

COLLECTION_KEY

public static final org.objectweb.asm.Type COLLECTION_KEY

COLLECTION_KEY_ARRAY

public static final org.objectweb.asm.Type COLLECTION_KEY_ARRAY

UNDEFINED

public static final org.objectweb.asm.Type UNDEFINED

MAP

public static final org.objectweb.asm.Type MAP

MAP_ENTRY

public static final org.objectweb.asm.Type MAP_ENTRY

CHAR_ARRAY

public static final org.objectweb.asm.Type CHAR_ARRAY

IOUTIL

public static final org.objectweb.asm.Type IOUTIL

BODY_CONTENT

public static final org.objectweb.asm.Type BODY_CONTENT

BODY_CONTENT_UTIL

public static final org.objectweb.asm.Type BODY_CONTENT_UTIL

IMPORT_DEFINITIONS

public static final org.objectweb.asm.Type IMPORT_DEFINITIONS

IMPORT_DEFINITIONS_IMPL

public static final org.objectweb.asm.Type IMPORT_DEFINITIONS_IMPL

IMPORT_DEFINITIONS_ARRAY

public static final org.objectweb.asm.Type IMPORT_DEFINITIONS_ARRAY

CLASS

public static final org.objectweb.asm.Type CLASS

CLASS_ARRAY

public static final org.objectweb.asm.Type CLASS_ARRAY

CLASS_LOADER

public static final org.objectweb.asm.Type CLASS_LOADER
Constructor Detail

Types

public Types()
Method Detail

toType

public static org.objectweb.asm.Type toType(String type)
                                     throws BytecodeException
translate sString classname to a real type

Parameters:
type -
Returns:
Throws:
railo.runtime.exp.TemplateExceptionption
BytecodeException

isPrimitiveType

public static boolean isPrimitiveType(int type)
returns if given type is a "primitve" type or in other words a value type (no reference type, no object)

Parameters:
type -
Returns:

isPrimitiveType

public static boolean isPrimitiveType(org.objectweb.asm.Type type)
returns if given type is a "primitve" type or in other words a value type (no reference type, no object)

Parameters:
type -
Returns:

getType

public static int getType(org.objectweb.asm.Type type)

toRefType

public static org.objectweb.asm.Type toRefType(org.objectweb.asm.Type type)


Copyright © 2012 Railo