Enum Class ParameterAccessor.BasedOn

java.lang.Object
java.lang.Enum<ParameterAccessor.BasedOn>
com.ibm.wala.core.util.ssa.ParameterAccessor.BasedOn
All Implemented Interfaces:
Serializable, Comparable<ParameterAccessor.BasedOn>, Constable
Enclosing class:
ParameterAccessor

public static enum ParameterAccessor.BasedOn extends Enum<ParameterAccessor.BasedOn>
The Constructor used to create ParameterAccessor influences the parameter-offset.

If this enum is extended many functions will throw if not also extended.

  • Enum Constant Details

    • IMETHOD

      public static final ParameterAccessor.BasedOn IMETHOD
      ParameterAccessor was constructed using an IMethod
    • METHOD_REFERENCE

      public static final ParameterAccessor.BasedOn METHOD_REFERENCE
      ParameterAccessor was constructed using a MethodReference
  • Method Details

    • values

      public static ParameterAccessor.BasedOn[] 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 ParameterAccessor.BasedOn 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