Class FactoryHelper

java.lang.Object
javassist.util.proxy.FactoryHelper

public class FactoryHelper extends Object
A helper class for implementing ProxyFactory. The users of ProxyFactory do not have to see this class.
See Also:
  • Field Details

    • primitiveTypes

      public static final Class<?>[] primitiveTypes
      Class objects representing primitive types.
    • wrapperTypes

      public static final String[] wrapperTypes
      The fully-qualified names of wrapper classes for primitive types.
    • wrapperDesc

      public static final String[] wrapperDesc
      The descriptors of the constructors of wrapper classes.
    • unwarpMethods

      public static final String[] unwarpMethods
      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

      public static final String[] unwrapDesc
      The descriptors of the unwrapping methods contained in unwrapMethods.
    • dataSize

      public static final int[] dataSize
      The data size of primitive types. long and double are 2; the others are 1.
  • Constructor Details

    • FactoryHelper

      public FactoryHelper()
  • Method Details