pub enum Attribute {
ConstantValue {
constvalue_index: u16,
},
Code {
max_stack: u16,
max_locals: u16,
code: Vec<(u32, Instruction)>,
exception_table: Vec<Exception>,
attributes: Vec<Attribute>,
},
StackMapTable(Vec<StackMapFrame>),
Exceptions {
exception_index_table: Vec<u16>,
},
InnerClasses {
classes: Vec<InnerClass>,
},
EnclosingMethod {
class_index: u16,
method_index: u16,
},
Synthetic,
Signature {
signature_index: u16,
},
SourceFile {
sourcefile_index: u16,
},
SourceDebugExtension(Vec<u8>),
LineNumberTable(Vec<LineNumber>),
LocalVariableTable(Vec<LocalVariable>),
LocalVariableTypeTable(Vec<LocalVariable>),
Deprecated,
RuntimeVisibleAnnotations(Vec<Annotation>),
RuntimeInvisibleAnnotations(Vec<Annotation>),
RuntimeVisibleParameterAnnotations(Vec<Vec<Annotation>>),
RuntimeInvisibleParameterAnnotations(Vec<Vec<Annotation>>),
RuntimeVisibleTypeAnnotations(Vec<TypeAnnotation>),
RuntimeInvisibleTypeAnnotations(Vec<TypeAnnotation>),
AnnotationDefault {
element_value: ElementValue,
},
BootstrapMethods(Vec<BootstrapMethod>),
MethodParameters(Vec<MethodParameter>),
Unknown(Vec<u8>),
}
Variants
ConstantValue
Fields of ConstantValue
Code
Fields of Code
StackMapTable(Vec<StackMapFrame>)
Exceptions
Fields of Exceptions
exception_index_table: Vec<u16> | |
InnerClasses
Fields of InnerClasses
EnclosingMethod
Fields of EnclosingMethod
class_index: u16 | |
method_index: u16 | |
Synthetic
Signature
Fields of Signature
SourceFile
Fields of SourceFile
SourceDebugExtension(Vec<u8>)
LineNumberTable(Vec<LineNumber>)
LocalVariableTable(Vec<LocalVariable>)
LocalVariableTypeTable(Vec<LocalVariable>)
Deprecated
RuntimeVisibleAnnotations(Vec<Annotation>)
RuntimeInvisibleAnnotations(Vec<Annotation>)
RuntimeVisibleParameterAnnotations(Vec<Vec<Annotation>>)
RuntimeInvisibleParameterAnnotations(Vec<Vec<Annotation>>)
RuntimeVisibleTypeAnnotations(Vec<TypeAnnotation>)
RuntimeInvisibleTypeAnnotations(Vec<TypeAnnotation>)
AnnotationDefault
Fields of AnnotationDefault
BootstrapMethods(Vec<BootstrapMethod>)
MethodParameters(Vec<MethodParameter>)
Unknown(Vec<u8>)
Trait Implementations
Formats the value using the given formatter.