| java.lang.Object javassist.util.proxy.FactoryHelper
FactoryHelper | public class FactoryHelper (Code) | | A helper class for implementing ProxyFactory .
The users of ProxyFactory do not have to see this class.
See Also: ProxyFactory |
Field Summary | |
final public static int[] | dataSize The data size of primitive types. | final public static Class[] | primitiveTypes Class objects representing primitive types. | final public static String[] | unwarpMethods The names of methods for obtaining a primitive value
from a wrapper object. | final public static String[] | unwrapDesc The descriptors of the unwrapping methods contained
in unwrapMethods . | final public static String[] | wrapperDesc The descriptors of the constructors of wrapper classes. | final public static String[] | wrapperTypes The fully-qualified names of wrapper classes for primitive types. |
dataSize | final public static int[] dataSize(Code) | | The data size of primitive types. long
and double are 2; the others are 1.
|
primitiveTypes | final public static Class[] primitiveTypes(Code) | | Class objects representing primitive types.
|
unwarpMethods | final public static String[] unwarpMethods(Code) | | The names of methods for obtaining a primitive value
from a wrapper object. For example, intValue()
is such a method for obtaining an integer value from a
java.lang.Integer object.
|
unwrapDesc | final public static String[] unwrapDesc(Code) | | The descriptors of the unwrapping methods contained
in unwrapMethods .
|
wrapperDesc | final public static String[] wrapperDesc(Code) | | The descriptors of the constructors of wrapper classes.
|
wrapperTypes | final public static String[] wrapperTypes(Code) | | The fully-qualified names of wrapper classes for primitive types.
|
typeIndex | final public static int typeIndex(Class type)(Code) | | Returns an index for accessing arrays in this class.
throws: RuntimeException - if a given type is not a primitive type. |
|
|