Enum AnnotationUseSiteTarget

java.lang.Object
java.lang.Enum<AnnotationUseSiteTarget>
gw.lang.parser.AnnotationUseSiteTarget
All Implemented Interfaces:
Serializable, Comparable<AnnotationUseSiteTarget>, java.lang.constant.Constable

public enum AnnotationUseSiteTarget extends Enum<AnnotationUseSiteTarget>
  • Enum Constant Details

  • Field Details

    • _keyword

      private final Keyword _keyword
    • _bAccessModifierOk

      private final boolean _bAccessModifierOk
    • _bFinalModifierOk

      private final boolean _bFinalModifierOk
  • Constructor Details

    • AnnotationUseSiteTarget

      private AnnotationUseSiteTarget(Keyword keyword, boolean bAccessModifierOk, boolean bFinalModifierOk)
  • Method Details

    • values

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

      public static AnnotationUseSiteTarget valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getKeyword

      public Keyword getKeyword()
    • isAccessModifierOk

      public boolean isAccessModifierOk()
    • isFinalModifierOk

      public boolean isFinalModifierOk()