Enum PrimitiveBoxing

java.lang.Object
java.lang.Enum<PrimitiveBoxing>
org.powermock.core.bytebuddy.PrimitiveBoxing
All Implemented Interfaces:
Serializable, Comparable<PrimitiveBoxing>, java.lang.constant.Constable, net.bytebuddy.implementation.bytecode.StackManipulation

public enum PrimitiveBoxing extends Enum<PrimitiveBoxing> implements net.bytebuddy.implementation.bytecode.StackManipulation
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>

    Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation

    net.bytebuddy.implementation.bytecode.StackManipulation.AbstractBase, net.bytebuddy.implementation.bytecode.StackManipulation.Compound, net.bytebuddy.implementation.bytecode.StackManipulation.Illegal, net.bytebuddy.implementation.bytecode.StackManipulation.Simple, net.bytebuddy.implementation.bytecode.StackManipulation.Size, net.bytebuddy.implementation.bytecode.StackManipulation.Trivial
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
     
     
     
     
     
     
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final String
     
    private final net.bytebuddy.implementation.bytecode.StackManipulation.Size
     
    private final net.bytebuddy.description.type.TypeDescription.ForLoadedType
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    PrimitiveBoxing(Class<?> wrapperType, net.bytebuddy.implementation.bytecode.StackSize sizeDifference, String boxingMethodName, String boxingMethodDescriptor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.bytebuddy.implementation.bytecode.StackManipulation.Size
    apply(org.objectweb.asm.MethodVisitor methodVisitor, net.bytebuddy.implementation.Implementation.Context implementationContext)
     
    forPrimitive(net.bytebuddy.description.type.TypeDefinition typeDefinition)
     
    boolean
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Field Details

    • wrapperType

      private final net.bytebuddy.description.type.TypeDescription.ForLoadedType wrapperType
    • size

      private final net.bytebuddy.implementation.bytecode.StackManipulation.Size size
    • boxingMethodName

      private final String boxingMethodName
    • boxingMethodDescriptor

      private final String boxingMethodDescriptor
  • Constructor Details

    • PrimitiveBoxing

      private PrimitiveBoxing(Class<?> wrapperType, net.bytebuddy.implementation.bytecode.StackSize sizeDifference, String boxingMethodName, String boxingMethodDescriptor)
  • Method Details

    • values

      public static PrimitiveBoxing[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PrimitiveBoxing valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forPrimitive

      public static PrimitiveBoxing forPrimitive(net.bytebuddy.description.type.TypeDefinition typeDefinition)
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface net.bytebuddy.implementation.bytecode.StackManipulation
    • apply

      public net.bytebuddy.implementation.bytecode.StackManipulation.Size apply(org.objectweb.asm.MethodVisitor methodVisitor, net.bytebuddy.implementation.Implementation.Context implementationContext)
      Specified by:
      apply in interface net.bytebuddy.implementation.bytecode.StackManipulation