Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAttributeInfo ¶
func ReadAttributeInfo(r cpool.PoolReader) (ai interface{}, err error)
Types ¶
type CodeAttribute ¶
type CodeAttribute struct { MaxStack uint16 MaxLocals uint16 Code []*bytecode.ByteCode ExceptionTable []*CodeAttributeExceptionTable Attributes []interface{} // contains filtered or unexported fields }
func ReadCodeAttribute ¶
func ReadCodeAttribute(r cpool.PoolReader) (ca *CodeAttribute, err error)
type CodeAttributeExceptionTable ¶
type CodeAttributeExceptionTable struct { StartPc uint16 EndPc uint16 HandlerPc uint16 CatchType uint16 // contains filtered or unexported fields }
func ReadCodeAttributeExceptionTable ¶
func ReadCodeAttributeExceptionTable(r io.Reader) (et *CodeAttributeExceptionTable, err error)
func (*CodeAttributeExceptionTable) String ¶
func (c *CodeAttributeExceptionTable) String() string
type ConstantValueAttribute ¶
type ConstantValueAttribute struct { ConstantValueIndex uint16 // contains filtered or unexported fields }
func (*ConstantValueAttribute) String ¶
func (s *ConstantValueAttribute) String() string
type ExceptionsAttribute ¶
type ExceptionsAttribute struct { Exceptions []uint16 // contains filtered or unexported fields }
func ReadExceptionsAttribute ¶
func ReadExceptionsAttribute(r cpool.PoolReader) (ea *ExceptionsAttribute, err error)
func (*ExceptionsAttribute) String ¶
func (s *ExceptionsAttribute) String() string
type FieldInfo ¶
type FieldInfo struct { AccessFlags aflag.FieldAccessFlags NameIndex uint16 DescriptorIndex uint16 Attributes []interface{} // contains filtered or unexported fields }
FieldInfo describes a field on a java class See https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.5
func ReadFieldInfo ¶
func ReadFieldInfo(r cpool.PoolReader) (fi *FieldInfo, err error)
ReadFieldInfo creates new field_info from the provided reader
type MethodInfo ¶
type MethodInfo struct { AccessFlags aflag.MethodAccessFlags NameIndex uint16 DescriptorIndex uint16 Attributes []interface{} // contains filtered or unexported fields }
func ReadMethodInfo ¶
func ReadMethodInfo(r cpool.PoolReader) (mi *MethodInfo, err error)
func (*MethodInfo) String ¶
func (c *MethodInfo) String() string
type SourceFileAttribute ¶
type SourceFileAttribute struct { AttributeNameIndex uint16 AttributeLength uint64 SourceFileIndex uint16 // contains filtered or unexported fields }
SourceFileAttribute represents the original java source file name See https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.10
func (*SourceFileAttribute) String ¶
func (s *SourceFileAttribute) String() string
Click to show internal directories.
Click to hide internal directories.