Enum TypeAnnotationTypes.ETargetInfo

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

    public static enum TypeAnnotationTypes.ETargetInfo
    extends java.lang.Enum<TypeAnnotationTypes.ETargetInfo>
    union { type_parameter_target; supertype_target; type_parameter_bound_target; empty_target; method_formal_parameter_target; throws_target; localvar_target; catch_target; offset_target; type_argument_target; } target_info;
    • Field Detail

      • parseKey

        private final java.lang.String parseKey
      • printValue

        private final java.lang.String printValue
    • Constructor Detail

      • ETargetInfo

        private ETargetInfo​(java.lang.String parse,
                            java.lang.String printValue)
    • Method Detail

      • values

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

        public static TypeAnnotationTypes.ETargetInfo 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
      • parseKey

        public java.lang.String parseKey()
      • printValue

        public java.lang.String printValue()