Enum Class Module.Modifier

java.lang.Object
java.lang.Enum<Module.Modifier>
org.openjdk.asmtools.common.Module.Modifier
All Implemented Interfaces:
Serializable, Comparable<Module.Modifier>, Constable
Enclosing class:
Module

public static enum Module.Modifier extends Enum<Module.Modifier>
Modules flags
  • Enum Constant Details

  • Field Details

    • value

      private final int value
    • keyword

      private final String keyword
    • flag

      private final String flag
  • Constructor Details

    • Modifier

      private Modifier(int value, String keyword, String flagName)
  • Method Details

    • values

      public static Module.Modifier[] 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 Module.Modifier 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
    • asInt

      public int asInt()
    • getModuleModifiers

      public static String getModuleModifiers(int flag)
    • getModuleFlags

      public static String getModuleFlags(int flag)
    • getStatementModifiers

      public static String getStatementModifiers(int flag)
    • getStatementFlags

      public static String getStatementFlags(int flag)
    • asString

      private static String asString(int value, boolean flagFormat, Module.Modifier skipped)