Documentation
¶
Index ¶
- type BootstrapMethodV8
- type BootstrapMethodsAttributeV8
- type ClassFileParserV8
- type ClassFileV8
- func (self *ClassFileV8) AccessFlags() uint16
- func (self *ClassFileV8) ClassName() (string, error)
- func (self *ClassFileV8) ConstantPool() java.ConstantPool
- func (self *ClassFileV8) Fields() []java.MemberInfo
- func (self *ClassFileV8) InterfaceNames() ([]string, error)
- func (self *ClassFileV8) MajorVersion() uint16
- func (self *ClassFileV8) Methods() []java.MemberInfo
- func (self *ClassFileV8) MinorVersion() uint16
- func (self *ClassFileV8) Read(reader *java.ClassReader) (err error)
- func (self *ClassFileV8) SourceFileAttribute() java.SourceFileAttribute
- func (self *ClassFileV8) SuperClassName() (string, error)
- type CodeAttributeV8
- func (self *CodeAttributeV8) Code() []byte
- func (self *CodeAttributeV8) ExceptionTable() []java.ExceptionTableEntry
- func (self *CodeAttributeV8) LineNumberTableAttribute() java.LineNumberTableAttribute
- func (self *CodeAttributeV8) MaxLocals() uint
- func (self *CodeAttributeV8) MaxStack() uint
- func (self *CodeAttributeV8) Read(reader *java.ClassReader) (err error)
- type ConstantClassInfoV8
- type ConstantDoubleInfoV8
- type ConstantFieldRefInfoV8
- type ConstantFloatInfoV8
- type ConstantIntegerInfoV8
- type ConstantInterfaceMethodRefInfoV8
- type ConstantInvokeDynamicInfoV8
- type ConstantLongInfoV8
- type ConstantMemberRefInfoV8
- type ConstantMethodHandleInfoV8
- type ConstantMethodRefInfoV8
- type ConstantMethodTypeInfoV8
- type ConstantNameAndTypeInfoV8
- type ConstantPoolV8
- func (self *ConstantPoolV8) GetClassName(index uint16) (cn string, err error)
- func (self *ConstantPoolV8) GetConstantInfo(index uint16) (java.ConstantInfo, error)
- func (self *ConstantPoolV8) GetNameAndType(index uint16) (name string, _type string, err error)
- func (self *ConstantPoolV8) GetUtf8(index uint16) (str string, err error)
- func (self *ConstantPoolV8) Read(reader *java.ClassReader) error
- type ConstantStringInfoV8
- type ConstantUtf8InfoV8
- type ConstantValueAttributeV8
- type DeprecatedAttributeV8
- type EnclosingMethodAttributeV8
- type ExceptionTableEntryV8
- type ExceptionsAttributeV8
- type InnerClassInfoV8
- type InnerClassesAttributeV8
- type LineNumberTableAttributeV8
- type LineNumberTableEntryV8
- type LocalVariableTableAttributeV8
- type LocalVariableTableEntryV8
- type LocalVariableTypeTableAttributeV8
- type LocalVariableTypeTableEntryV8
- type MarkerAttributeV8
- type MemberInfoV8
- func (self *MemberInfoV8) AccessFlags() uint16
- func (self *MemberInfoV8) AnnotationDefaultAttributeData() []byte
- func (self *MemberInfoV8) CodeAttribute() java.CodeAttribute
- func (self *MemberInfoV8) ConstantValueAttribute() java.ConstantValueAttribute
- func (self *MemberInfoV8) Descriptor() (string, error)
- func (self *MemberInfoV8) ExceptionsAttribute() java.ExceptionsAttribute
- func (self *MemberInfoV8) Name() (string, error)
- func (self *MemberInfoV8) Read(reader *java.ClassReader) (err error)
- func (self *MemberInfoV8) RuntimeVisibleAnnotationsAttributeData() []byte
- func (self *MemberInfoV8) RuntimeVisibleParameterAnnotationsAttributeData() []byte
- func (self *MemberInfoV8) UnParsedAttributeData(name string) []byte
- type SignatureAttributeV8
- type SourceFileAttributeV8
- type SyntheticAttributeV8
- type UnParsedAttributeV8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapMethodV8 ¶
type BootstrapMethodV8 struct {
// contains filtered or unexported fields
}
type BootstrapMethodsAttributeV8 ¶
type BootstrapMethodsAttributeV8 struct {
// contains filtered or unexported fields
}
BootstrapMethods_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 num_bootstrap_methods;
{ u2 bootstrap_method_ref;
u2 num_bootstrap_arguments;
u2 bootstrap_arguments[num_bootstrap_arguments];
} bootstrap_methods[num_bootstrap_methods];
}
func (*BootstrapMethodsAttributeV8) Read ¶
func (self *BootstrapMethodsAttributeV8) Read(reader *java.ClassReader) (err error)
type ClassFileParserV8 ¶
type ClassFileParserV8 struct {
}
func (ClassFileParserV8) ParseClassFile ¶
func (self ClassFileParserV8) ParseClassFile(data io.ReadCloser) (cf java.ClassFile, err error)
type ClassFileV8 ¶
type ClassFileV8 struct {
// contains filtered or unexported fields
}
func (*ClassFileV8) AccessFlags ¶
func (self *ClassFileV8) AccessFlags() uint16
func (*ClassFileV8) ClassName ¶
func (self *ClassFileV8) ClassName() (string, error)
func (*ClassFileV8) ConstantPool ¶
func (self *ClassFileV8) ConstantPool() java.ConstantPool
func (*ClassFileV8) Fields ¶
func (self *ClassFileV8) Fields() []java.MemberInfo
func (*ClassFileV8) InterfaceNames ¶
func (self *ClassFileV8) InterfaceNames() ([]string, error)
func (*ClassFileV8) MajorVersion ¶
func (self *ClassFileV8) MajorVersion() uint16
func (*ClassFileV8) Methods ¶
func (self *ClassFileV8) Methods() []java.MemberInfo
func (*ClassFileV8) MinorVersion ¶
func (self *ClassFileV8) MinorVersion() uint16
func (*ClassFileV8) Read ¶
func (self *ClassFileV8) Read(reader *java.ClassReader) (err error)
func (*ClassFileV8) SourceFileAttribute ¶
func (self *ClassFileV8) SourceFileAttribute() java.SourceFileAttribute
func (*ClassFileV8) SuperClassName ¶
func (self *ClassFileV8) SuperClassName() (string, error)
type CodeAttributeV8 ¶
type CodeAttributeV8 struct {
// contains filtered or unexported fields
}
Code_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 max_stack;
u2 max_locals;
u4 code_length;
u1 code[code_length];
u2 exception_table_length;
{ u2 start_pc;
u2 end_pc;
u2 handler_pc;
u2 catch_type;
} exception_table[exception_table_length];
u2 attributes_count;
attribute_info attributes[attributes_count];
}
func (*CodeAttributeV8) Code ¶
func (self *CodeAttributeV8) Code() []byte
func (*CodeAttributeV8) ExceptionTable ¶
func (self *CodeAttributeV8) ExceptionTable() []java.ExceptionTableEntry
func (*CodeAttributeV8) LineNumberTableAttribute ¶
func (self *CodeAttributeV8) LineNumberTableAttribute() java.LineNumberTableAttribute
func (*CodeAttributeV8) MaxLocals ¶
func (self *CodeAttributeV8) MaxLocals() uint
func (*CodeAttributeV8) MaxStack ¶
func (self *CodeAttributeV8) MaxStack() uint
func (*CodeAttributeV8) Read ¶
func (self *CodeAttributeV8) Read(reader *java.ClassReader) (err error)
type ConstantClassInfoV8 ¶
type ConstantClassInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_Class_info {
u1 tag;
u2 name_index;
}
func (*ConstantClassInfoV8) Name ¶
func (self *ConstantClassInfoV8) Name() (string, error)
func (*ConstantClassInfoV8) Read ¶
func (self *ConstantClassInfoV8) Read(reader *java.ClassReader) (err error)
type ConstantDoubleInfoV8 ¶
type ConstantDoubleInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_Double_info {
u1 tag;
u4 high_bytes;
u4 low_bytes;
}
func (*ConstantDoubleInfoV8) Read ¶
func (self *ConstantDoubleInfoV8) Read(reader *java.ClassReader) (err error)
func (*ConstantDoubleInfoV8) Value ¶
func (self *ConstantDoubleInfoV8) Value() float64
type ConstantFieldRefInfoV8 ¶
type ConstantFieldRefInfoV8 struct{ ConstantMemberRefInfoV8 }
CONSTANT_Fieldref_info {
u1 tag;
u2 class_index;
u2 name_and_type_index;
}
CONSTANT_Methodref_info {
u1 tag;
u2 class_index;
u2 name_and_type_index;
}
CONSTANT_InterfaceMethodref_info {
u1 tag;
u2 class_index;
u2 name_and_type_index;
}
type ConstantFloatInfoV8 ¶
type ConstantFloatInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_Float_info {
u1 tag;
u4 bytes;
}
func (*ConstantFloatInfoV8) Read ¶
func (self *ConstantFloatInfoV8) Read(reader *java.ClassReader) (err error)
func (*ConstantFloatInfoV8) Value ¶
func (self *ConstantFloatInfoV8) Value() float32
type ConstantIntegerInfoV8 ¶
type ConstantIntegerInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_Integer_info {
u1 tag;
u4 bytes;
}
func (*ConstantIntegerInfoV8) Read ¶
func (self *ConstantIntegerInfoV8) Read(reader *java.ClassReader) (err error)
func (*ConstantIntegerInfoV8) Value ¶
func (self *ConstantIntegerInfoV8) Value() int32
type ConstantInterfaceMethodRefInfoV8 ¶
type ConstantInterfaceMethodRefInfoV8 struct{ ConstantMemberRefInfoV8 }
type ConstantInvokeDynamicInfoV8 ¶
type ConstantInvokeDynamicInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_InvokeDynamic_info {
u1 tag;
u2 bootstrap_method_attr_index;
u2 name_and_type_index;
}
func (*ConstantInvokeDynamicInfoV8) Read ¶
func (self *ConstantInvokeDynamicInfoV8) Read(reader *java.ClassReader) (err error)
type ConstantLongInfoV8 ¶
type ConstantLongInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_Long_info {
u1 tag;
u4 high_bytes;
u4 low_bytes;
}
func (*ConstantLongInfoV8) Read ¶
func (self *ConstantLongInfoV8) Read(reader *java.ClassReader) (err error)
func (*ConstantLongInfoV8) Value ¶
func (self *ConstantLongInfoV8) Value() int64
type ConstantMemberRefInfoV8 ¶
type ConstantMemberRefInfoV8 struct {
// contains filtered or unexported fields
}
func (*ConstantMemberRefInfoV8) ClassName ¶
func (self *ConstantMemberRefInfoV8) ClassName() (string, error)
func (*ConstantMemberRefInfoV8) NameAndDescriptor ¶
func (self *ConstantMemberRefInfoV8) NameAndDescriptor() (string, string, error)
func (*ConstantMemberRefInfoV8) Read ¶
func (self *ConstantMemberRefInfoV8) Read(reader *java.ClassReader) (err error)
type ConstantMethodHandleInfoV8 ¶
type ConstantMethodHandleInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_MethodHandle_info {
u1 tag;
u1 reference_kind;
u2 reference_index;
}
func (*ConstantMethodHandleInfoV8) Read ¶
func (self *ConstantMethodHandleInfoV8) Read(reader *java.ClassReader) (err error)
type ConstantMethodRefInfoV8 ¶
type ConstantMethodRefInfoV8 struct{ ConstantMemberRefInfoV8 }
type ConstantMethodTypeInfoV8 ¶
type ConstantMethodTypeInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_MethodType_info {
u1 tag;
u2 descriptor_index;
}
func (*ConstantMethodTypeInfoV8) Read ¶
func (self *ConstantMethodTypeInfoV8) Read(reader *java.ClassReader) (err error)
type ConstantNameAndTypeInfoV8 ¶
type ConstantNameAndTypeInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_NameAndType_info {
u1 tag;
u2 name_index;
u2 descriptor_index;
}
func (*ConstantNameAndTypeInfoV8) Read ¶
func (self *ConstantNameAndTypeInfoV8) Read(reader *java.ClassReader) (err error)
type ConstantPoolV8 ¶
type ConstantPoolV8 struct {
// contains filtered or unexported fields
}
func (*ConstantPoolV8) GetClassName ¶
func (self *ConstantPoolV8) GetClassName(index uint16) (cn string, err error)
func (*ConstantPoolV8) GetConstantInfo ¶
func (self *ConstantPoolV8) GetConstantInfo(index uint16) (java.ConstantInfo, error)
func (*ConstantPoolV8) GetNameAndType ¶
func (self *ConstantPoolV8) GetNameAndType(index uint16) (name string, _type string, err error)
func (*ConstantPoolV8) GetUtf8 ¶
func (self *ConstantPoolV8) GetUtf8(index uint16) (str string, err error)
func (*ConstantPoolV8) Read ¶
func (self *ConstantPoolV8) Read(reader *java.ClassReader) error
type ConstantStringInfoV8 ¶
type ConstantStringInfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_String_info {
u1 tag;
u2 string_index;
}
func (*ConstantStringInfoV8) Read ¶
func (self *ConstantStringInfoV8) Read(reader *java.ClassReader) (err error)
func (*ConstantStringInfoV8) String ¶
func (self *ConstantStringInfoV8) String() (string, error)
type ConstantUtf8InfoV8 ¶
type ConstantUtf8InfoV8 struct {
// contains filtered or unexported fields
}
CONSTANT_Utf8_info {
u1 tag;
u2 length;
u1 bytes[length];
}
func (*ConstantUtf8InfoV8) Read ¶
func (self *ConstantUtf8InfoV8) Read(reader *java.ClassReader) error
func (*ConstantUtf8InfoV8) String ¶
func (self *ConstantUtf8InfoV8) String() string
type ConstantValueAttributeV8 ¶
type ConstantValueAttributeV8 struct {
// contains filtered or unexported fields
}
ConstantValue_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 constantvalue_index;
}
func (*ConstantValueAttributeV8) ConstantValueIndex ¶
func (self *ConstantValueAttributeV8) ConstantValueIndex() uint16
func (*ConstantValueAttributeV8) Read ¶
func (self *ConstantValueAttributeV8) Read(reader *java.ClassReader) (err error)
type DeprecatedAttributeV8 ¶
type DeprecatedAttributeV8 struct {
MarkerAttributeV8
}
Deprecated_attribute {
u2 attribute_name_index;
u4 attribute_length;
}
type EnclosingMethodAttributeV8 ¶
type EnclosingMethodAttributeV8 struct {
// contains filtered or unexported fields
}
EnclosingMethod_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 class_index;
u2 method_index;
}
func (*EnclosingMethodAttributeV8) ClassName ¶
func (self *EnclosingMethodAttributeV8) ClassName() (string, error)
func (*EnclosingMethodAttributeV8) MethodNameAndDescriptor ¶
func (self *EnclosingMethodAttributeV8) MethodNameAndDescriptor() (string, string, error)
func (*EnclosingMethodAttributeV8) Read ¶
func (self *EnclosingMethodAttributeV8) Read(reader *java.ClassReader) (err error)
type ExceptionTableEntryV8 ¶
type ExceptionTableEntryV8 struct {
// contains filtered or unexported fields
}
func (*ExceptionTableEntryV8) CatchType ¶
func (self *ExceptionTableEntryV8) CatchType() uint16
func (*ExceptionTableEntryV8) EndPc ¶
func (self *ExceptionTableEntryV8) EndPc() uint16
func (*ExceptionTableEntryV8) HandlerPc ¶
func (self *ExceptionTableEntryV8) HandlerPc() uint16
func (*ExceptionTableEntryV8) Read ¶
func (self *ExceptionTableEntryV8) Read(reader *java.ClassReader) (err error)
func (*ExceptionTableEntryV8) StartPc ¶
func (self *ExceptionTableEntryV8) StartPc() uint16
type ExceptionsAttributeV8 ¶
type ExceptionsAttributeV8 struct {
// contains filtered or unexported fields
}
Exceptions_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_exceptions;
u2 exception_index_table[number_of_exceptions];
}
func (*ExceptionsAttributeV8) ExceptionIndexTable ¶
func (self *ExceptionsAttributeV8) ExceptionIndexTable() []uint16
func (*ExceptionsAttributeV8) Read ¶
func (self *ExceptionsAttributeV8) Read(reader *java.ClassReader) (err error)
type InnerClassInfoV8 ¶
type InnerClassInfoV8 struct {
// contains filtered or unexported fields
}
type InnerClassesAttributeV8 ¶
type InnerClassesAttributeV8 struct {
// contains filtered or unexported fields
}
InnerClasses_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_classes;
{ u2 inner_class_info_index;
u2 outer_class_info_index;
u2 inner_name_index;
u2 inner_class_access_flags;
} classes[number_of_classes];
}
func (*InnerClassesAttributeV8) Read ¶
func (self *InnerClassesAttributeV8) Read(reader *java.ClassReader) (err error)
type LineNumberTableAttributeV8 ¶
type LineNumberTableAttributeV8 struct {
// contains filtered or unexported fields
}
LineNumberTable_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 line_number_table_length;
{ u2 start_pc;
u2 line_number;
} line_number_table[line_number_table_length];
}
func (*LineNumberTableAttributeV8) GetLineNumber ¶
func (self *LineNumberTableAttributeV8) GetLineNumber(pc int) int
func (*LineNumberTableAttributeV8) Read ¶
func (self *LineNumberTableAttributeV8) Read(reader *java.ClassReader) (err error)
type LineNumberTableEntryV8 ¶
type LineNumberTableEntryV8 struct {
// contains filtered or unexported fields
}
type LocalVariableTableAttributeV8 ¶
type LocalVariableTableAttributeV8 struct {
// contains filtered or unexported fields
}
LocalVariableTable_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 local_variable_table_length;
{ u2 start_pc;
u2 length;
u2 name_index;
u2 descriptor_index;
u2 index;
} local_variable_table[local_variable_table_length];
}
func (*LocalVariableTableAttributeV8) Read ¶
func (self *LocalVariableTableAttributeV8) Read(reader *java.ClassReader) (err error)
type LocalVariableTableEntryV8 ¶
type LocalVariableTableEntryV8 struct {
// contains filtered or unexported fields
}
type LocalVariableTypeTableAttributeV8 ¶
type LocalVariableTypeTableAttributeV8 struct {
// contains filtered or unexported fields
}
LocalVariableTypeTable_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 local_variable_type_table_length;
{ u2 start_pc;
u2 length;
u2 name_index;
u2 signature_index;
u2 index;
} local_variable_type_table[local_variable_type_table_length];
}
func (*LocalVariableTypeTableAttributeV8) Read ¶
func (self *LocalVariableTypeTableAttributeV8) Read(reader *java.ClassReader) (err error)
type LocalVariableTypeTableEntryV8 ¶
type LocalVariableTypeTableEntryV8 struct {
// contains filtered or unexported fields
}
type MarkerAttributeV8 ¶
type MarkerAttributeV8 struct{}
func (*MarkerAttributeV8) Read ¶
func (self *MarkerAttributeV8) Read(reader *java.ClassReader) (err error)
type MemberInfoV8 ¶
type MemberInfoV8 struct {
// contains filtered or unexported fields
}
func (*MemberInfoV8) AccessFlags ¶
func (self *MemberInfoV8) AccessFlags() uint16
func (*MemberInfoV8) AnnotationDefaultAttributeData ¶
func (self *MemberInfoV8) AnnotationDefaultAttributeData() []byte
func (*MemberInfoV8) CodeAttribute ¶
func (self *MemberInfoV8) CodeAttribute() java.CodeAttribute
func (*MemberInfoV8) ConstantValueAttribute ¶
func (self *MemberInfoV8) ConstantValueAttribute() java.ConstantValueAttribute
func (*MemberInfoV8) Descriptor ¶
func (self *MemberInfoV8) Descriptor() (string, error)
func (*MemberInfoV8) ExceptionsAttribute ¶
func (self *MemberInfoV8) ExceptionsAttribute() java.ExceptionsAttribute
func (*MemberInfoV8) Name ¶
func (self *MemberInfoV8) Name() (string, error)
func (*MemberInfoV8) Read ¶
func (self *MemberInfoV8) Read(reader *java.ClassReader) (err error)
func (*MemberInfoV8) RuntimeVisibleAnnotationsAttributeData ¶
func (self *MemberInfoV8) RuntimeVisibleAnnotationsAttributeData() []byte
func (*MemberInfoV8) RuntimeVisibleParameterAnnotationsAttributeData ¶
func (self *MemberInfoV8) RuntimeVisibleParameterAnnotationsAttributeData() []byte
func (*MemberInfoV8) UnParsedAttributeData ¶
func (self *MemberInfoV8) UnParsedAttributeData(name string) []byte
type SignatureAttributeV8 ¶
type SignatureAttributeV8 struct {
// contains filtered or unexported fields
}
Signature_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 signature_index;
}
func (*SignatureAttributeV8) Read ¶
func (self *SignatureAttributeV8) Read(reader *java.ClassReader) (err error)
func (*SignatureAttributeV8) Signature ¶
func (self *SignatureAttributeV8) Signature() (string, error)
type SourceFileAttributeV8 ¶
type SourceFileAttributeV8 struct {
// contains filtered or unexported fields
}
SourceFile_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 sourcefile_index;
}
func (*SourceFileAttributeV8) FileName ¶
func (self *SourceFileAttributeV8) FileName() (string, error)
func (*SourceFileAttributeV8) Read ¶
func (self *SourceFileAttributeV8) Read(reader *java.ClassReader) (err error)
type SyntheticAttributeV8 ¶
type SyntheticAttributeV8 struct {
MarkerAttributeV8
}
Synthetic_attribute {
u2 attribute_name_index;
u4 attribute_length;
}
type UnParsedAttributeV8 ¶
type UnParsedAttributeV8 struct {
// contains filtered or unexported fields
}
attribute_info {
u2 attribute_name_index;
u4 attribute_length;
u1 info[attribute_length];
}
func (*UnParsedAttributeV8) Info ¶
func (self *UnParsedAttributeV8) Info() []byte
func (*UnParsedAttributeV8) Name ¶
func (self *UnParsedAttributeV8) Name() string
func (*UnParsedAttributeV8) Read ¶
func (self *UnParsedAttributeV8) Read(reader *java.ClassReader) (err error)
Source Files
¶
- attr_bootstrap_methods.go
- attr_code.go
- attr_constant_value.go
- attr_enclosing_method.go
- attr_exceptions.go
- attr_inner_classes.go
- attr_line_number_table.go
- attr_local_variable_table.go
- attr_local_variable_type_table.go
- attr_markers.go
- attr_signature.go
- attr_source_file.go
- attr_unparsed.go
- attribute_info.go
- class_file.go
- class_file_parser.go
- constant_info.go
- constant_pool.go
- cp_class.go
- cp_invoke_dynamic.go
- cp_member_ref.go
- cp_name_and_type.go
- cp_numeric.go
- cp_string.go
- cp_utf8.go
- member_info.go
Click to show internal directories.
Click to hide internal directories.