Enum AnnotationUseSiteTarget

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      accessors
      the property accessor methods, both get and set if applicable
      field
      the backing field for a property
      get
      the property get accessor
      param
      the property set method's parameter
      receiver
      the hidden "this" parameter in enhancement method
      set
      the property set accessor
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AnnotationUseSiteTarget​(Keyword keyword, boolean bAccessModifierOk, boolean bFinalModifierOk)  
    • Field Detail

      • _keyword

        private final Keyword _keyword
      • _bAccessModifierOk

        private final boolean _bAccessModifierOk
      • _bFinalModifierOk

        private final boolean _bFinalModifierOk
    • Constructor Detail

      • AnnotationUseSiteTarget

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

      • values

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

        public static AnnotationUseSiteTarget 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
      • getKeyword

        public Keyword getKeyword()
      • isAccessModifierOk

        public boolean isAccessModifierOk()
      • isFinalModifierOk

        public boolean isFinalModifierOk()