Enum CompilerHints.BlackholeMode

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BlackholeMode​(boolean shouldBlackhole, boolean shouldNotInline, java.lang.String desc)  
    • Field Detail

      • shouldBlackhole

        private final boolean shouldBlackhole
      • shouldNotInline

        private final boolean shouldNotInline
      • desc

        private final java.lang.String desc
    • Constructor Detail

      • BlackholeMode

        private BlackholeMode​(boolean shouldBlackhole,
                              boolean shouldNotInline,
                              java.lang.String desc)
    • Method Detail

      • values

        public static CompilerHints.BlackholeMode[] 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 (CompilerHints.BlackholeMode c : CompilerHints.BlackholeMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CompilerHints.BlackholeMode 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
      • shouldBlackhole

        public boolean shouldBlackhole()
      • shouldNotInline

        public boolean shouldNotInline()
      • desc

        public java.lang.String desc()