pub enum Error {
ClassFile,
Magic,
ConstantPool {
constant_pool_count: usize,
},
ConstantPoolEntry {
index: usize,
},
ConstantPoolInfo,
UnknownConstantPoolTag {
tag: u8,
},
ConstantPoolIndexOutOfBounds {
index: usize,
},
UnexpectedConstantPoolType {
index: usize,
expected: Tag,
actual: Tag,
},
IllegalModifiedUtf8 {
byte: u8,
},
ModifiedUtf8 {
length: usize,
},
UnknownConstantPoolMethodReferenceTag {
tag: u8,
},
Interfaces {
interfaces_count: usize,
},
Fields {
fields_count: usize,
},
FieldInfo,
FieldAttributes {
attributes_count: usize,
},
Methods {
methods_count: usize,
},
MethodInfo,
MethodAttributes {
attributes_count: usize,
},
ClassAttributes {
attributes_count: usize,
},
Attribute,
AttributeInfo {
attribute_name: String,
attribute_name_index: usize,
attribute_length: usize,
},
AttributeInfoNameIndexOutOfBounds {
attribute_name_index: usize,
},
CodeAttributes {
attributes_count: usize,
},
ExceptionTableEntry,
StackMapTable {
number_of_entries: usize,
},
StackMapFrame,
UnknownStackMapFrameTag {
tag: u8,
},
ReservedStackMapFrameTag {
tag: u8,
},
VerificationTypeInfo,
UnknownVerificationTypeInfoTag {
tag: u8,
},
InnerClasses {
number_of_classes: usize,
},
InnerClass,
Signature,
MethodParameters {
parameters_count: usize,
},
MethodParameter,
ElementValuePair,
ElementValuePairs {
num_element_value_pairs: usize,
},
ElementValue,
UnknownElementValueTag {
tag: u8,
},
ElementValueArray {
num_values: usize,
},
Annotations {
num_annotations: usize,
},
ParameterAnnotations {
num_parameters: usize,
},
TypeAnnotations {
num_annotations: usize,
},
UnknownTargetTypeTag {
tag: u8,
},
LocalVariableTarget {
table_length: usize,
},
TypePath {
path_length: usize,
},
SourceFile,
SourceDebugExtension,
LineNumberTable {
table_length: usize,
},
LineNumberInfo,
LocalVariableTable {
table_length: usize,
},
LocalVariableInfo,
LocalVariableTypeTable {
table_length: usize,
},
LocalVariableTypeInfo,
}
Variants
ClassFile | | |
Magic | | |
ConstantPool | Fields
| |
ConstantPoolEntry | Fields
| |
ConstantPoolInfo | | |
UnknownConstantPoolTag | Fields
| |
ConstantPoolIndexOutOfBounds | Fields
| |
UnexpectedConstantPoolType | Fields
| |
IllegalModifiedUtf8 | Fields
| |
ModifiedUtf8 | Fields
| |
UnknownConstantPoolMethodReferenceTag | Fields
| |
Interfaces | Fields
| |
Fields | Fields
| |
FieldInfo | | |
FieldAttributes | Fields
| |
Methods | Fields
| |
MethodInfo | | |
MethodAttributes | Fields
| |
ClassAttributes | Fields
| |
Attribute | | |
AttributeInfo | Fields
attribute_name | | attribute_name_index | | attribute_length | |
| |
AttributeInfoNameIndexOutOfBounds | Fields
| |
CodeAttributes | Fields
| |
ExceptionTableEntry | | |
StackMapTable | Fields
| |
StackMapFrame | | |
UnknownStackMapFrameTag | Fields
| |
ReservedStackMapFrameTag | Fields
| |
VerificationTypeInfo | | |
UnknownVerificationTypeInfoTag | Fields
| |
InnerClasses | Fields
| |
InnerClass | | |
Signature | | |
MethodParameters | Fields
| |
MethodParameter | | |
ElementValuePair | | |
ElementValuePairs | Fields
| |
ElementValue | | |
UnknownElementValueTag | Fields
| |
ElementValueArray | Fields
| |
Annotations | Fields
| |
ParameterAnnotations | Fields
| |
TypeAnnotations | Fields
| |
UnknownTargetTypeTag | Fields
| |
LocalVariableTarget | Fields
| |
TypePath | Fields
| |
SourceFile | | |
SourceDebugExtension | | |
LineNumberTable | Fields
| |
LineNumberInfo | | |
LocalVariableTable | Fields
| |
LocalVariableInfo | | |
LocalVariableTypeTable | Fields
| |
LocalVariableTypeInfo | | |
Trait Implementations
Derived Implementations