Enum Class MethodRebaseResolver.Disabled

java.lang.Object
java.lang.Enum<MethodRebaseResolver.Disabled>
net.bytebuddy.dynamic.scaffold.inline.MethodRebaseResolver.Disabled
All Implemented Interfaces:
Serializable, Comparable<MethodRebaseResolver.Disabled>, Constable, MethodRebaseResolver
Enclosing interface:
MethodRebaseResolver

public static enum MethodRebaseResolver.Disabled extends Enum<MethodRebaseResolver.Disabled> implements MethodRebaseResolver
A method rebase resolver that preserves any method in its original form.
  • Enum Constant Details

  • Constructor Details

    • Disabled

      private Disabled()
  • Method Details

    • values

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

      public static MethodRebaseResolver.Disabled valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • resolve

      Checks if a method is eligible for rebasing and resolves this possibly rebased method.
      Specified by:
      resolve in interface MethodRebaseResolver
      Parameters:
      methodDescription - A description of the method to resolve.
      Returns:
      A resolution for the given method.
    • getAuxiliaryTypes

      public List<DynamicType> getAuxiliaryTypes()
      Returns a (potentially empty) list of auxiliary types that are required by this method rebase resolver.
      Specified by:
      getAuxiliaryTypes in interface MethodRebaseResolver
      Returns:
      A list of auxiliary types that are required by this method rebase resolver.
    • asTokenMap

      Returns a map of all rebasable methods' signature tokens to their resolution.
      Specified by:
      asTokenMap in interface MethodRebaseResolver
      Returns:
      A map of all rebasable methods' signature tokens to their resolution.