Enum Module.Modifier

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Module.Modifier>
    Enclosing class:
    Module

    public static enum Module.Modifier
    extends java.lang.Enum<Module.Modifier>
    Modules flags
    • Method Detail

      • values

        public static Module.Modifier[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Module.Modifier c : Module.Modifier.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Module.Modifier valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • asInt

        public int asInt()
      • getModuleModifiers

        public static java.lang.String getModuleModifiers​(int flag)
      • getModuleFlags

        public static java.lang.String getModuleFlags​(int flag)
      • getStatementModifiers

        public static java.lang.String getStatementModifiers​(int flag)
      • getStatementFlags

        public static java.lang.String getStatementFlags​(int flag)