This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 2a984aa3ef29ba9d6ed1af92b66e1773914323e8 Author: Gary Gregory <[email protected]> AuthorDate: Sat Jan 10 22:01:19 2026 -0500 Javadoc --- src/main/java/org/apache/bcel/Constants.java | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/main/java/org/apache/bcel/Constants.java b/src/main/java/org/apache/bcel/Constants.java index 8b01139a..bc31cd32 100644 --- a/src/main/java/org/apache/bcel/Constants.java +++ b/src/main/java/org/apache/bcel/Constants.java @@ -2399,28 +2399,48 @@ public interface Constants { /** * Attributes and their corresponding names. */ + /** Attribute constant: Unknown. */ byte ATTR_UNKNOWN = Const.ATTR_UNKNOWN; + /** Attribute constant: SourceFile. */ byte ATTR_SOURCE_FILE = Const.ATTR_SOURCE_FILE; + /** Attribute constant: ConstantValue. */ byte ATTR_CONSTANT_VALUE = Const.ATTR_CONSTANT_VALUE; + /** Attribute constant: Code. */ byte ATTR_CODE = Const.ATTR_CODE; + /** Attribute constant: Exceptions. */ byte ATTR_EXCEPTIONS = Const.ATTR_EXCEPTIONS; + /** Attribute constant: LineNumberTable. */ byte ATTR_LINE_NUMBER_TABLE = Const.ATTR_LINE_NUMBER_TABLE; + /** Attribute constant: LocalVariableTable. */ byte ATTR_LOCAL_VARIABLE_TABLE = Const.ATTR_LOCAL_VARIABLE_TABLE; + /** Attribute constant: InnerClasses. */ byte ATTR_INNER_CLASSES = Const.ATTR_INNER_CLASSES; + /** Attribute constant: Synthetic. */ byte ATTR_SYNTHETIC = Const.ATTR_SYNTHETIC; + /** Attribute constant: Deprecated. */ byte ATTR_DEPRECATED = Const.ATTR_DEPRECATED; + /** Attribute constant: PMG. */ byte ATTR_PMG = Const.ATTR_PMG; + /** Attribute constant: Signature. */ byte ATTR_SIGNATURE = Const.ATTR_SIGNATURE; + /** Attribute constant: StackMap. */ byte ATTR_STACK_MAP = Const.ATTR_STACK_MAP; + /** Attribute constant for runtime visible annotations. */ byte ATTR_RUNTIMEVISIBLE_ANNOTATIONS = 12; + /** Attribute constant for runtime invisible annotations. */ byte ATTR_RUNTIMEINVISIBLE_ANNOTATIONS = 13; + /** Attribute constant for runtime visible parameter annotations. */ byte ATTR_RUNTIMEVISIBLE_PARAMETER_ANNOTATIONS = 14; + /** Attribute constant for runtime invisible parameter annotations. */ byte ATTR_RUNTIMEINVISIBLE_PARAMETER_ANNOTATIONS = 15; + /** Attribute constant for annotation default. */ byte ATTR_ANNOTATION_DEFAULT = 16; + /** Count of known attributes. */ short KNOWN_ATTRIBUTES = 12; // should be 17 // TODO: mutable public array!! + /** Array of attribute names. */ String[] ATTRIBUTE_NAMES = {"SourceFile", "ConstantValue", "Code", "Exceptions", "LineNumberTable", "LocalVariableTable", "InnerClasses", "Synthetic", "Deprecated", "PMGClass", "Signature", "StackMap", "RuntimeVisibleAnnotations", "RuntimeInvisibleAnnotations", "RuntimeVisibleParameterAnnotations", "RuntimeInvisibleParameterAnnotations", "AnnotationDefault"}; @@ -2428,16 +2448,26 @@ public interface Constants { /** * Constants used in the StackMap attribute. */ + /** Item type: Bogus. */ byte ITEM_Bogus = Const.ITEM_Bogus; + /** Item type: Integer. */ byte ITEM_Integer = Const.ITEM_Integer; + /** Item type: Float. */ byte ITEM_Float = Const.ITEM_Float; + /** Item type: Double. */ byte ITEM_Double = Const.ITEM_Double; + /** Item type: Long. */ byte ITEM_Long = Const.ITEM_Long; + /** Item type: Null. */ byte ITEM_Null = Const.ITEM_Null; + /** Item type: InitObject. */ byte ITEM_InitObject = Const.ITEM_InitObject; + /** Item type: Object. */ byte ITEM_Object = Const.ITEM_Object; + /** Item type: NewObject. */ byte ITEM_NewObject = Const.ITEM_NewObject; + /** Array of item type names. */ String[] ITEM_NAMES = {"Bogus", "Integer", "Float", "Double", "Long", "Null", "InitObject", "Object", "NewObject"}; }
