class

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 2 Imported by: 0

README

Go Java Class File Parser

The jclass (package name class) parser support class files (those ending in .class) as specified in Chapter 4 of the Oracle JVM specification. With the exception of the Runtime[In]Visible[Paramterer]Annotations, AnnotationDefault & StackMapTable attributes. Otherwise all defined attributes & constants are supported and parsed correctly.

Documentation

You can find the documentation on GoDoc. Additionally there are some examples provided in the repository.

Use cases

First idea that comes to mind, is of course a JVM, but jclass can also be used for validating class files, obfuscating them or compressing them. This would be accomplished by, for example removing unnecessary LineNumberTable(s) and other attributes that don't affect the sematics of the class file, when executed.

License

MIT License

Changes after fork
go get github.com/jcla1/jclass
/Users/i321172/go/pkg/mod/github.com/jcla1/jclass@v0.0.0-20140603161227-b5cf858c0316/attributes.go:375:26: duplicate argument a

To fix above issue, folk the repo and do the changes. The repo is a bit old and last update in 2014...

Documentation

Index

Constants

View Source
const (
	CONSTANT_UTF8               ConstantType = 1
	CONSTANT_Integer                         = 3
	CONSTANT_Float                           = 4
	CONSTANT_Long                            = 5
	CONSTANT_Double                          = 6
	CONSTANT_Class                           = 7
	CONSTANT_String                          = 8
	CONSTANT_FieldRef                        = 9
	CONSTANT_MethodRef                       = 10
	CONSTANT_InterfaceMethodRef              = 11
	CONSTANT_NameAndType                     = 12
	CONSTANT_MethodHandle                    = 15
	CONSTANT_MethodType                      = 16
	CONSTANT_InvokeDynamic                   = 18
)

These constants represent the possible (valid) values for the tag attribute in a constant pool entry. Based on this tag, the structure of the following bytes can be determined. http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.4-140

View Source
const (
	CLASS_ACC_PUBLIC     AccessFlags = 0x0001 // Declared public; may be accessed from outside its package.
	CLASS_ACC_FINAL                  = 0x0010 // Declared final; no subclasses allowed.
	CLASS_ACC_SUPER                  = 0x0020 // Treat superclass methods specially when invoked by the invokespecial instruction.
	CLASS_ACC_INTERFACE              = 0x0200 // Is an interface, not a class.
	CLASS_ACC_ABSTRACT               = 0x0400 // Declared abstract; must not be instantiated.
	CLASS_ACC_SYNTHETIC              = 0x1000 // Declared synthetic; not present in the source code.
	CLASS_ACC_ANNOTATION             = 0x2000 // Declared as an annotation type.
	CLASS_ACC_ENUM                   = 0x4000 // Declared as an enum type.
)

These constants describe access flags that can be applied to a whole class or interface. http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.1-200-E.1

View Source
const (
	FIELD_ACC_PUBLIC    AccessFlags = 0x0001 // Declared public; may be accessed from outside its package.
	FIELD_ACC_PRIVATE               = 0x0002 // Declared private; usable only within the defining class.
	FIELD_ACC_PROTECTED             = 0x0004 // Declared protected; may be accessed within subclasses.
	FIELD_ACC_STATIC                = 0x0008 // Declared static.
	FIELD_ACC_FINAL                 = 0x0010 // Declared final; never directly assigned to after object construction (JLS §17.5).
	FIELD_ACC_VOLATILE              = 0x0040 // Declared volatile; cannot be cached.
	FIELD_ACC_TRANSIENT             = 0x0080 // Declared transient; not written or read by a persistent object manager.
	FIELD_ACC_SYNTHETIC             = 0x1000 // Declared synthetic; not present in the source code.
	FIELD_ACC_ENUM                  = 0x4000 // Declared as an element of an enum.
)

These constant define access flags and attributes of a field in a class or interface. http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.5-200-A.1

View Source
const (
	METHOD_ACC_PUBLIC       AccessFlags = 0x0001 // Declared public; may be accessed from outside its package.
	METHOD_ACC_PRIVATE                  = 0x0002 // Declared private; accessible only within the defining class.
	METHOD_ACC_PROTECTED                = 0x0004 // Declared protected; may be accessed within subclasses.
	METHOD_ACC_STATIC                   = 0x0008 // Declared static.
	METHOD_ACC_FINAL                    = 0x0010 // Declared final; must not be overridden (§5.4.5).
	METHOD_ACC_SYNCHRONIZED             = 0x0020 // Declared synchronized; invocation is wrapped by a monitor use.
	METHOD_ACC_BRIDGE                   = 0x0040 // A bridge method, generated by the compiler.
	METHOD_ACC_VARARGS                  = 0x0080 // Declared with variable number of arguments.
	METHOD_ACC_NATIVE                   = 0x0100 // Declared native; implemented in a language other than Java.
	METHOD_ACC_ABSTRACT                 = 0x0400 // Declared abstract; no implementation is provided.
	METHOD_ACC_STRICT                   = 0x0800 // Declared strictfp; floating-point mode is FP-strict.
	METHOD_ACC_SYNTHETIC                = 0x1000 // Declared synthetic; not present in the source code.
)

These constants describe access flags and properties of methods in a class or interface. http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.6-200-A.1

View Source
const (
	NESTED_CLASS_ACC_PUBLIC     AccessFlags = 0x0001 // Marked or implicitly public in source.
	NESTED_CLASS_ACC_PRIVATE                = 0x0002 // Marked private in source.
	NESTED_CLASS_ACC_PROTECTED              = 0x0004 // Marked protected in source.
	NESTED_CLASS_ACC_STATIC                 = 0x0008 // Marked or implicitly static in source.
	NESTED_CLASS_ACC_FINAL                  = 0x0010 // Marked final in source.
	NESTED_CLASS_ACC_INTERFACE              = 0x0200 // Was an interface in source.
	NESTED_CLASS_ACC_ABSTRACT               = 0x0400 // Marked or implicitly abstract in source.
	NESTED_CLASS_ACC_SYNTHETIC              = 0x1000 // Declared synthetic; not present in the source code.
	NESTED_CLASS_ACC_ANNOTATION             = 0x2000 // Declared as an annotation type.
	NESTED_CLASS_ACC_ENUM                   = 0x4000 // Declared as an enum type.
)

These constants define valid access flags and properties for inner classes of a class or interface. http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7.6-300-D.2-5

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessFlags

type AccessFlags uint16

AccessFlags are a mask of flags that can determine things like access privileges, cache options or implementation details. There is no separate type for each access flag (i.e. for nested classes, methods, fields, etc.), but each of those separate types there are different constants describing those access flags. See METHOD_ACC_*, FIELD_ACC_* CLASS_ACC_*, and NESTED_CLASS_ACC_*.

type AnnotationDefault

type AnnotationDefault struct {
	// contains filtered or unexported fields
}

func (*AnnotationDefault) AnnotationDefault

func (a *AnnotationDefault) AnnotationDefault() *AnnotationDefault

func (AnnotationDefault) BootstrapMethods

func (a AnnotationDefault) BootstrapMethods() *BootstrapMethods

func (AnnotationDefault) Code

func (a AnnotationDefault) Code() *Code

func (AnnotationDefault) ConstantValue

func (a AnnotationDefault) ConstantValue() *ConstantValue

func (AnnotationDefault) Deprecated

func (a AnnotationDefault) Deprecated() *Deprecated

func (AnnotationDefault) EnclosingMethod

func (a AnnotationDefault) EnclosingMethod() *EnclosingMethod

func (AnnotationDefault) Exceptions

func (a AnnotationDefault) Exceptions() *Exceptions

func (*AnnotationDefault) GetTag

func (a *AnnotationDefault) GetTag() AttributeType

func (AnnotationDefault) InnerClasses

func (a AnnotationDefault) InnerClasses() *InnerClasses

func (AnnotationDefault) LineNumberTable

func (a AnnotationDefault) LineNumberTable() *LineNumberTable

func (AnnotationDefault) LocalVariableTable

func (a AnnotationDefault) LocalVariableTable() *LocalVariableTable

func (AnnotationDefault) LocalVariableTypeTable

func (a AnnotationDefault) LocalVariableTypeTable() *LocalVariableTypeTable

func (AnnotationDefault) RuntimeInvisibleAnnotations

func (a AnnotationDefault) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (AnnotationDefault) RuntimeInvisibleParameterAnnotations

func (a AnnotationDefault) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (AnnotationDefault) RuntimeVisibleAnnotations

func (a AnnotationDefault) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (AnnotationDefault) RuntimeVisibleParameterAnnotations

func (a AnnotationDefault) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (AnnotationDefault) Signature

func (a AnnotationDefault) Signature() *Signature

func (AnnotationDefault) SourceDebugExtension

func (a AnnotationDefault) SourceDebugExtension() *SourceDebugExtension

func (AnnotationDefault) SourceFile

func (a AnnotationDefault) SourceFile() *SourceFile

func (AnnotationDefault) StackMapTable

func (a AnnotationDefault) StackMapTable() *StackMapTable

func (AnnotationDefault) Synthetic

func (a AnnotationDefault) Synthetic() *Synthetic

func (AnnotationDefault) UnknownAttr

func (a AnnotationDefault) UnknownAttr() *UnknownAttr

type Attribute

type Attribute interface {
	Dumper

	Read(io.Reader, ConstantPool) error

	// GetTag Think of an Attribute value as a discriminated union.
	GetTag() AttributeType

	// UnknownAttr In order to actually access the fields of an attribute
	// you would need a type assertion in your code. But since
	// the Java spec is quite precise on when you can expect
	// what type of attribute (in a valid class file), we can
	// provide "safe" implementations of methods for casting
	// the values, that do not require type assertions.
	// You shouldn't call any of the following functions if you
	// aren't sure about what type an Attribute actually has,
	// since if you are wrong, the function will panic.
	UnknownAttr() *UnknownAttr
	ConstantValue() *ConstantValue
	Code() *Code
	// Exceptions StackMapTable() *StackMapTable
	Exceptions() *Exceptions
	InnerClasses() *InnerClasses
	EnclosingMethod() *EnclosingMethod
	Synthetic() *Synthetic
	Signature() *Signature
	SourceFile() *SourceFile
	SourceDebugExtension() *SourceDebugExtension
	LineNumberTable() *LineNumberTable
	LocalVariableTable() *LocalVariableTable
	LocalVariableTypeTable() *LocalVariableTypeTable
	Deprecated() *Deprecated
	// BootstrapMethods : RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations
	// RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations
	// RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations
	// RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations
	// AnnotationDefault() *AnnotationDefault
	BootstrapMethods() *BootstrapMethods
}

Attribute Attributes add extra/meta info to ClassFile, Field, Method and Code structs. Any JVM implementation or Java compiler, may create its own/new attribute(s). Though these should not effect the sematics of the program. http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7

type AttributeType

type AttributeType uint8
const (
	UnknownTag AttributeType = iota
	ConstantValueTag
	CodeTag
	StackMapTableTag
	ExceptionsTag
	InnerClassesTag
	EnclosingMethodTag
	SyntheticTag
	SignatureTag
	SourceFileTag
	SourceDebugExtensionTag
	LineNumberTableTag
	LocalVariableTableTag
	LocalVariableTypeTableTag
	DeprecatedTag
	RuntimeVisibleAnnotationsTag
	RuntimeInvisibleAnnotationsTag
	RuntimeVisibleParameterAnnotationsTag
	RuntimeInvisibleParameterAnnotationsTag
	AnnotationDefaultTag
	BootstrapMethodsTag
)

These tags describe types of attributes, and can be used to determine what type to cast a generic Attribute to. They have the same use case as the ConstantType tags. http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7-300

type Attributes

type Attributes []Attribute

Attributes Describes a set of attributes as you would find them in a ClassFile, Method, Field or Code struct.

type BootstrapMethod

type BootstrapMethod struct {
	MethodRef ConstPoolIndex
	Args      []ConstPoolIndex
}

type BootstrapMethods

type BootstrapMethods struct {
	Methods []BootstrapMethod
	// contains filtered or unexported fields
}

BootstrapMethods ClassFile, may single if constant pool contains CONSTANT_InvokeDynamic_info

func (BootstrapMethods) AnnotationDefault

func (a BootstrapMethods) AnnotationDefault() *AnnotationDefault

func (*BootstrapMethods) BootstrapMethods

func (a *BootstrapMethods) BootstrapMethods() *BootstrapMethods

func (BootstrapMethods) Code

func (a BootstrapMethods) Code() *Code

func (BootstrapMethods) ConstantValue

func (a BootstrapMethods) ConstantValue() *ConstantValue

func (BootstrapMethods) Deprecated

func (a BootstrapMethods) Deprecated() *Deprecated

func (*BootstrapMethods) Dump

func (a *BootstrapMethods) Dump(w io.Writer) error

func (BootstrapMethods) EnclosingMethod

func (a BootstrapMethods) EnclosingMethod() *EnclosingMethod

func (BootstrapMethods) Exceptions

func (a BootstrapMethods) Exceptions() *Exceptions

func (*BootstrapMethods) GetTag

func (a *BootstrapMethods) GetTag() AttributeType

func (BootstrapMethods) InnerClasses

func (a BootstrapMethods) InnerClasses() *InnerClasses

func (BootstrapMethods) LineNumberTable

func (a BootstrapMethods) LineNumberTable() *LineNumberTable

func (BootstrapMethods) LocalVariableTable

func (a BootstrapMethods) LocalVariableTable() *LocalVariableTable

func (BootstrapMethods) LocalVariableTypeTable

func (a BootstrapMethods) LocalVariableTypeTable() *LocalVariableTypeTable

func (*BootstrapMethods) Read

func (BootstrapMethods) RuntimeInvisibleAnnotations

func (a BootstrapMethods) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (BootstrapMethods) RuntimeInvisibleParameterAnnotations

func (a BootstrapMethods) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (BootstrapMethods) RuntimeVisibleAnnotations

func (a BootstrapMethods) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (BootstrapMethods) RuntimeVisibleParameterAnnotations

func (a BootstrapMethods) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (BootstrapMethods) Signature

func (a BootstrapMethods) Signature() *Signature

func (BootstrapMethods) SourceDebugExtension

func (a BootstrapMethods) SourceDebugExtension() *SourceDebugExtension

func (BootstrapMethods) SourceFile

func (a BootstrapMethods) SourceFile() *SourceFile

func (BootstrapMethods) StackMapTable

func (a BootstrapMethods) StackMapTable() *StackMapTable

func (BootstrapMethods) Synthetic

func (a BootstrapMethods) Synthetic() *Synthetic

func (BootstrapMethods) UnknownAttr

func (a BootstrapMethods) UnknownAttr() *UnknownAttr

type ClassFile

type ClassFile struct {
	// Magic number found in all valid Java class files.
	// This will always equal 0xCAFEBABE
	Magic uint32

	// Major.Minor denotes the class file version, that
	// has to be supported by the executing JVM.
	MinorVersion uint16
	MajorVersion uint16

	// The constant pool is a table of structures
	// representing various string constants, class,
	// interface & field names and other constants that
	// are referred to in the class file structure.
	// The reason we keep the ConstPoolSize instead of
	// just discarding it like with Fields and Methods,
	// is one of the most annoying bugs I've come across:
	// In the Java class file format, 64-bit constants
	// use up two spaces everywhere. So finding the size
	// of the constant pool is not just len(ConstantPool).
	ConstPoolSize uint16
	ConstantPool

	// AccessFlags is a mask of flags used to denote
	// access permissions and properties of this class
	// or interface.
	AccessFlags

	// Index into the constant pool, where you should
	// find a CONSTANT_Class_info struct that describes
	// this class.
	ThisClass ConstPoolIndex

	// Index into the constant pool or zero, where you
	// should find a CONSTANT_Class_info struct that
	// describes this class' super class.
	// If SuperClass is zero, then this class must
	// represent the Object class.
	// For an interface, the corresponding value in the
	// constant pool, must represent the Object class.
	SuperClass ConstPoolIndex

	// Interfaces contains indexes into the constant pool,
	// where every referenced entry describes a
	// CONSTANT_Class_info struct representing a direct
	// super-interface of this class or interface.
	Interfaces []ConstPoolIndex

	// Fields contains indexes into the constant pool,
	// referencing field_info structs, giving a complete
	// description of a field in this class or interface.
	// The Fields table only contains fields declared in
	// this class or interface, not any inherited ones.
	Fields []*Field

	// Methods contains method_info structs describing
	// a method of this class or interface.
	// If neither METHOD_ACC_NATIVE or METHOD_ACC_ABSTRACT
	// flags are set, the corresponding code for the method
	// will also be supplied.
	Methods []*Method

	// Attributes describes properties of this class or
	// interface through attribute_info structs.
	Attributes
}

ClassFile represents a single class file as specified in: http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html

func Parse

func Parse(r io.Reader) (*ClassFile, error)

Parse reads a Java class file from r and, on success, returns the parsed struct. Otherwise nil and the error.

func (*ClassFile) Dump

func (c *ClassFile) Dump(w io.Writer) error

Dump writes the binary representation of the ClassFile struct to the provided io.Writer When a class file is parsed and then dumped (unmodified), both (files) should be exactly the same.

type ClassRef

type ClassRef struct {
	NameIndex ConstPoolIndex
	// contains filtered or unexported fields
}

func (*ClassRef) Class

func (c *ClassRef) Class() *ClassRef

func (ClassRef) Double

func (b ClassRef) Double() *DoubleRef

func (*ClassRef) Dump

func (c *ClassRef) Dump(w io.Writer) error

func (ClassRef) Field

func (b ClassRef) Field() *FieldRef

func (ClassRef) Float

func (b ClassRef) Float() *FloatRef

func (ClassRef) GetTag

func (b ClassRef) GetTag() ConstantType

func (ClassRef) Integer

func (b ClassRef) Integer() *IntegerRef

func (ClassRef) InterfaceMethod

func (b ClassRef) InterfaceMethod() *InterfaceMethodRef

func (ClassRef) InvokeDynamic

func (b ClassRef) InvokeDynamic() *InvokeDynamicRef

func (ClassRef) Long

func (b ClassRef) Long() *LongRef

func (ClassRef) Method

func (b ClassRef) Method() *MethodRef

func (ClassRef) MethodHandle

func (b ClassRef) MethodHandle() *MethodHandleRef

func (ClassRef) MethodType

func (b ClassRef) MethodType() *MethodTypeRef

func (ClassRef) NameAndType

func (b ClassRef) NameAndType() *NameAndTypeRef

func (*ClassRef) Read

func (c *ClassRef) Read(r io.Reader) error

func (ClassRef) StringRef

func (b ClassRef) StringRef() *StringRef

func (ClassRef) UTF8

func (b ClassRef) UTF8() *UTF8Ref

type Code

type Code struct {
	MaxStackSize   uint16
	MaxLocalsCount uint16

	ByteCode        []uint8
	ExceptionsTable []CodeException

	// only LineNumberTable, LocalVariableTable,
	// LocalVariableTypeTable, StackMapTable
	Attributes
	// contains filtered or unexported fields
}

Code method_info, single not if native or abstract

func (Code) AnnotationDefault

func (a Code) AnnotationDefault() *AnnotationDefault

func (Code) BootstrapMethods

func (a Code) BootstrapMethods() *BootstrapMethods

func (*Code) Code

func (a *Code) Code() *Code

func (Code) ConstantValue

func (a Code) ConstantValue() *ConstantValue

func (Code) Deprecated

func (a Code) Deprecated() *Deprecated

func (*Code) Dump

func (a *Code) Dump(w io.Writer) error

func (Code) EnclosingMethod

func (a Code) EnclosingMethod() *EnclosingMethod

func (Code) Exceptions

func (a Code) Exceptions() *Exceptions

func (*Code) GetTag

func (a *Code) GetTag() AttributeType

func (Code) InnerClasses

func (a Code) InnerClasses() *InnerClasses

func (Code) LineNumberTable

func (a Code) LineNumberTable() *LineNumberTable

func (Code) LocalVariableTable

func (a Code) LocalVariableTable() *LocalVariableTable

func (Code) LocalVariableTypeTable

func (a Code) LocalVariableTypeTable() *LocalVariableTypeTable

func (*Code) Read

func (a *Code) Read(r io.Reader, constPool ConstantPool) error

func (Code) RuntimeInvisibleAnnotations

func (a Code) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (Code) RuntimeInvisibleParameterAnnotations

func (a Code) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (Code) RuntimeVisibleAnnotations

func (a Code) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (Code) RuntimeVisibleParameterAnnotations

func (a Code) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (Code) Signature

func (a Code) Signature() *Signature

func (Code) SourceDebugExtension

func (a Code) SourceDebugExtension() *SourceDebugExtension

func (Code) SourceFile

func (a Code) SourceFile() *SourceFile

func (Code) StackMapTable

func (a Code) StackMapTable() *StackMapTable

func (Code) Synthetic

func (a Code) Synthetic() *Synthetic

func (Code) UnknownAttr

func (a Code) UnknownAttr() *UnknownAttr

type CodeException

type CodeException struct {
	StartPC   uint16
	EndPC     uint16
	HandlerPC uint16
	// may be zero, then used for finally
	CatchType ConstPoolIndex
}

type ConstPoolIndex

type ConstPoolIndex uint16

ConstPoolIndex Index into the/a constant pool. This type is used so that you know, when a uint16 is actually an index.

type Constant

type Constant interface {
	Dumper

	Read(io.Reader) error

	GetTag() ConstantType

	// Class In order to actually access the fields of a constant
	// you would need a type assertion in your code. But since
	// the Java spec is quite precise on when you can expect
	// what type of constant (in a valid class file), we can
	// provide "safe" implementations of methods for casting
	// the values, that do not require type assertions.
	// You shouldn't call any of the following functions if you
	// aren't sure about what type a Constant actually has,
	// since if you are wrong, the function will panic.
	Class() *ClassRef
	Field() *FieldRef
	Method() *MethodRef
	InterfaceMethod() *InterfaceMethodRef
	StringRef() *StringRef
	Integer() *IntegerRef
	Float() *FloatRef
	Long() *LongRef
	Double() *DoubleRef
	NameAndType() *NameAndTypeRef
	UTF8() *UTF8Ref
	MethodHandle() *MethodHandleRef
	MethodType() *MethodTypeRef
	InvokeDynamic() *InvokeDynamicRef
}

Constant Constants reside in a class files constant pool and are used in various places in a class file. They can describe variable or method type signatures names of variables or other classes. The pool also contains all integer and string constants that can be found in the code (besides when the instruction lconst_1 or the like is used).

type ConstantPool

type ConstantPool []Constant

ConstantPool Every (valid) class will have a constant pool in which it stores constants referenced in the rest of the class file.

func (ConstantPool) GetClass

func (constPool ConstantPool) GetClass(index ConstPoolIndex) *ClassRef

func (ConstantPool) GetDouble

func (constPool ConstantPool) GetDouble(index ConstPoolIndex) float64

func (ConstantPool) GetField

func (constPool ConstantPool) GetField(index ConstPoolIndex) *FieldRef

func (ConstantPool) GetFloat

func (constPool ConstantPool) GetFloat(index ConstPoolIndex) float32

func (ConstantPool) GetInteger

func (constPool ConstantPool) GetInteger(index ConstPoolIndex) int32

func (ConstantPool) GetInterfaceMethod

func (constPool ConstantPool) GetInterfaceMethod(index ConstPoolIndex) *InterfaceMethodRef

func (ConstantPool) GetInvokeDynamic

func (constPool ConstantPool) GetInvokeDynamic(index ConstPoolIndex) *InvokeDynamicRef

func (ConstantPool) GetLong

func (constPool ConstantPool) GetLong(index ConstPoolIndex) int64

func (ConstantPool) GetMethod

func (constPool ConstantPool) GetMethod(index ConstPoolIndex) *MethodRef

func (ConstantPool) GetMethodHandle

func (constPool ConstantPool) GetMethodHandle(index ConstPoolIndex) *MethodHandleRef

func (ConstantPool) GetMethodType

func (constPool ConstantPool) GetMethodType(index ConstPoolIndex) *MethodTypeRef

func (ConstantPool) GetNameAndType

func (constPool ConstantPool) GetNameAndType(index ConstPoolIndex) *NameAndTypeRef

func (ConstantPool) GetString

func (constPool ConstantPool) GetString(index ConstPoolIndex) *StringRef

func (ConstantPool) GetUTF8

func (constPool ConstantPool) GetUTF8(index ConstPoolIndex) string

type ConstantType

type ConstantType uint8

type ConstantValue

type ConstantValue struct {
	Index ConstPoolIndex
	// contains filtered or unexported fields
}

ConstantValue field_info, may single ACC_STATIC only

func (ConstantValue) AnnotationDefault

func (a ConstantValue) AnnotationDefault() *AnnotationDefault

func (ConstantValue) BootstrapMethods

func (a ConstantValue) BootstrapMethods() *BootstrapMethods

func (ConstantValue) Code

func (a ConstantValue) Code() *Code

func (*ConstantValue) ConstantValue

func (a *ConstantValue) ConstantValue() *ConstantValue

func (ConstantValue) Deprecated

func (a ConstantValue) Deprecated() *Deprecated

func (*ConstantValue) Dump

func (a *ConstantValue) Dump(w io.Writer) error

func (ConstantValue) EnclosingMethod

func (a ConstantValue) EnclosingMethod() *EnclosingMethod

func (ConstantValue) Exceptions

func (a ConstantValue) Exceptions() *Exceptions

func (*ConstantValue) GetTag

func (a *ConstantValue) GetTag() AttributeType

func (ConstantValue) InnerClasses

func (a ConstantValue) InnerClasses() *InnerClasses

func (ConstantValue) LineNumberTable

func (a ConstantValue) LineNumberTable() *LineNumberTable

func (ConstantValue) LocalVariableTable

func (a ConstantValue) LocalVariableTable() *LocalVariableTable

func (ConstantValue) LocalVariableTypeTable

func (a ConstantValue) LocalVariableTypeTable() *LocalVariableTypeTable

func (*ConstantValue) Read

func (a *ConstantValue) Read(r io.Reader, _ ConstantPool) error

func (ConstantValue) RuntimeInvisibleAnnotations

func (a ConstantValue) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (ConstantValue) RuntimeInvisibleParameterAnnotations

func (a ConstantValue) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (ConstantValue) RuntimeVisibleAnnotations

func (a ConstantValue) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (ConstantValue) RuntimeVisibleParameterAnnotations

func (a ConstantValue) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (ConstantValue) Signature

func (a ConstantValue) Signature() *Signature

func (ConstantValue) SourceDebugExtension

func (a ConstantValue) SourceDebugExtension() *SourceDebugExtension

func (ConstantValue) SourceFile

func (a ConstantValue) SourceFile() *SourceFile

func (ConstantValue) StackMapTable

func (a ConstantValue) StackMapTable() *StackMapTable

func (ConstantValue) Synthetic

func (a ConstantValue) Synthetic() *Synthetic

func (ConstantValue) UnknownAttr

func (a ConstantValue) UnknownAttr() *UnknownAttr

type Deprecated

type Deprecated struct {
	// contains filtered or unexported fields
}

Deprecated ClassFile, field_info, or method_info, may single

func (Deprecated) AnnotationDefault

func (a Deprecated) AnnotationDefault() *AnnotationDefault

func (Deprecated) BootstrapMethods

func (a Deprecated) BootstrapMethods() *BootstrapMethods

func (Deprecated) Code

func (a Deprecated) Code() *Code

func (Deprecated) ConstantValue

func (a Deprecated) ConstantValue() *ConstantValue

func (*Deprecated) Deprecated

func (a *Deprecated) Deprecated() *Deprecated

func (*Deprecated) Dump

func (a *Deprecated) Dump(w io.Writer) error

func (Deprecated) EnclosingMethod

func (a Deprecated) EnclosingMethod() *EnclosingMethod

func (Deprecated) Exceptions

func (a Deprecated) Exceptions() *Exceptions

func (*Deprecated) GetTag

func (a *Deprecated) GetTag() AttributeType

func (Deprecated) InnerClasses

func (a Deprecated) InnerClasses() *InnerClasses

func (Deprecated) LineNumberTable

func (a Deprecated) LineNumberTable() *LineNumberTable

func (Deprecated) LocalVariableTable

func (a Deprecated) LocalVariableTable() *LocalVariableTable

func (Deprecated) LocalVariableTypeTable

func (a Deprecated) LocalVariableTypeTable() *LocalVariableTypeTable

func (*Deprecated) Read

func (a *Deprecated) Read(r io.Reader, _ ConstantPool) error

func (Deprecated) RuntimeInvisibleAnnotations

func (a Deprecated) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (Deprecated) RuntimeInvisibleParameterAnnotations

func (a Deprecated) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (Deprecated) RuntimeVisibleAnnotations

func (a Deprecated) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (Deprecated) RuntimeVisibleParameterAnnotations

func (a Deprecated) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (Deprecated) Signature

func (a Deprecated) Signature() *Signature

func (Deprecated) SourceDebugExtension

func (a Deprecated) SourceDebugExtension() *SourceDebugExtension

func (Deprecated) SourceFile

func (a Deprecated) SourceFile() *SourceFile

func (Deprecated) StackMapTable

func (a Deprecated) StackMapTable() *StackMapTable

func (Deprecated) Synthetic

func (a Deprecated) Synthetic() *Synthetic

func (Deprecated) UnknownAttr

func (a Deprecated) UnknownAttr() *UnknownAttr

type DoubleRef

type DoubleRef struct {
	Value float64
	// contains filtered or unexported fields
}

func (DoubleRef) Class

func (b DoubleRef) Class() *ClassRef

func (*DoubleRef) Double

func (c *DoubleRef) Double() *DoubleRef

func (*DoubleRef) Dump

func (c *DoubleRef) Dump(w io.Writer) error

func (DoubleRef) Field

func (b DoubleRef) Field() *FieldRef

func (DoubleRef) Float

func (b DoubleRef) Float() *FloatRef

func (DoubleRef) GetTag

func (b DoubleRef) GetTag() ConstantType

func (DoubleRef) Integer

func (b DoubleRef) Integer() *IntegerRef

func (DoubleRef) InterfaceMethod

func (b DoubleRef) InterfaceMethod() *InterfaceMethodRef

func (DoubleRef) InvokeDynamic

func (b DoubleRef) InvokeDynamic() *InvokeDynamicRef

func (DoubleRef) Long

func (b DoubleRef) Long() *LongRef

func (DoubleRef) Method

func (b DoubleRef) Method() *MethodRef

func (DoubleRef) MethodHandle

func (b DoubleRef) MethodHandle() *MethodHandleRef

func (DoubleRef) MethodType

func (b DoubleRef) MethodType() *MethodTypeRef

func (DoubleRef) NameAndType

func (b DoubleRef) NameAndType() *NameAndTypeRef

func (*DoubleRef) Read

func (c *DoubleRef) Read(r io.Reader) error

func (DoubleRef) StringRef

func (b DoubleRef) StringRef() *StringRef

func (DoubleRef) UTF8

func (b DoubleRef) UTF8() *UTF8Ref

type Dumper

type Dumper interface {
	Dump(io.Writer) error
}

Dumper All Attributes and Constants, plus the actual class file have to fulfill this interface. As you can guess, it's used when writing the class file back to its original (binary) format.

type EnclosingMethod

type EnclosingMethod struct {
	ClassIndex  ConstPoolIndex
	MethodIndex ConstPoolIndex
	// contains filtered or unexported fields
}

EnclosingMethod ClassFile, may single iff local class or anonymous class

func (EnclosingMethod) AnnotationDefault

func (a EnclosingMethod) AnnotationDefault() *AnnotationDefault

func (EnclosingMethod) BootstrapMethods

func (a EnclosingMethod) BootstrapMethods() *BootstrapMethods

func (EnclosingMethod) Code

func (a EnclosingMethod) Code() *Code

func (EnclosingMethod) ConstantValue

func (a EnclosingMethod) ConstantValue() *ConstantValue

func (EnclosingMethod) Deprecated

func (a EnclosingMethod) Deprecated() *Deprecated

func (*EnclosingMethod) Dump

func (a *EnclosingMethod) Dump(w io.Writer) error

func (*EnclosingMethod) EnclosingMethod

func (a *EnclosingMethod) EnclosingMethod() *EnclosingMethod

func (EnclosingMethod) Exceptions

func (a EnclosingMethod) Exceptions() *Exceptions

func (*EnclosingMethod) GetTag

func (a *EnclosingMethod) GetTag() AttributeType

func (EnclosingMethod) InnerClasses

func (a EnclosingMethod) InnerClasses() *InnerClasses

func (EnclosingMethod) LineNumberTable

func (a EnclosingMethod) LineNumberTable() *LineNumberTable

func (EnclosingMethod) LocalVariableTable

func (a EnclosingMethod) LocalVariableTable() *LocalVariableTable

func (EnclosingMethod) LocalVariableTypeTable

func (a EnclosingMethod) LocalVariableTypeTable() *LocalVariableTypeTable

func (*EnclosingMethod) Read

func (a *EnclosingMethod) Read(r io.Reader, _ ConstantPool) error

func (EnclosingMethod) RuntimeInvisibleAnnotations

func (a EnclosingMethod) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (EnclosingMethod) RuntimeInvisibleParameterAnnotations

func (a EnclosingMethod) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (EnclosingMethod) RuntimeVisibleAnnotations

func (a EnclosingMethod) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (EnclosingMethod) RuntimeVisibleParameterAnnotations

func (a EnclosingMethod) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (EnclosingMethod) Signature

func (a EnclosingMethod) Signature() *Signature

func (EnclosingMethod) SourceDebugExtension

func (a EnclosingMethod) SourceDebugExtension() *SourceDebugExtension

func (EnclosingMethod) SourceFile

func (a EnclosingMethod) SourceFile() *SourceFile

func (EnclosingMethod) StackMapTable

func (a EnclosingMethod) StackMapTable() *StackMapTable

func (EnclosingMethod) Synthetic

func (a EnclosingMethod) Synthetic() *Synthetic

func (EnclosingMethod) UnknownAttr

func (a EnclosingMethod) UnknownAttr() *UnknownAttr

type Exceptions

type Exceptions struct {
	ExceptionsTable []ConstPoolIndex
	// contains filtered or unexported fields
}

Exceptions method_info, may single

func (Exceptions) AnnotationDefault

func (a Exceptions) AnnotationDefault() *AnnotationDefault

func (Exceptions) BootstrapMethods

func (a Exceptions) BootstrapMethods() *BootstrapMethods

func (Exceptions) Code

func (a Exceptions) Code() *Code

func (Exceptions) ConstantValue

func (a Exceptions) ConstantValue() *ConstantValue

func (Exceptions) Deprecated

func (a Exceptions) Deprecated() *Deprecated

func (*Exceptions) Dump

func (a *Exceptions) Dump(w io.Writer) error

func (Exceptions) EnclosingMethod

func (a Exceptions) EnclosingMethod() *EnclosingMethod

func (*Exceptions) Exceptions

func (a *Exceptions) Exceptions() *Exceptions

func (*Exceptions) GetTag

func (a *Exceptions) GetTag() AttributeType

func (Exceptions) InnerClasses

func (a Exceptions) InnerClasses() *InnerClasses

func (Exceptions) LineNumberTable

func (a Exceptions) LineNumberTable() *LineNumberTable

func (Exceptions) LocalVariableTable

func (a Exceptions) LocalVariableTable() *LocalVariableTable

func (Exceptions) LocalVariableTypeTable

func (a Exceptions) LocalVariableTypeTable() *LocalVariableTypeTable

func (*Exceptions) Read

func (a *Exceptions) Read(r io.Reader, _ ConstantPool) error

func (Exceptions) RuntimeInvisibleAnnotations

func (a Exceptions) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (Exceptions) RuntimeInvisibleParameterAnnotations

func (a Exceptions) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (Exceptions) RuntimeVisibleAnnotations

func (a Exceptions) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (Exceptions) RuntimeVisibleParameterAnnotations

func (a Exceptions) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (Exceptions) Signature

func (a Exceptions) Signature() *Signature

func (Exceptions) SourceDebugExtension

func (a Exceptions) SourceDebugExtension() *SourceDebugExtension

func (Exceptions) SourceFile

func (a Exceptions) SourceFile() *SourceFile

func (Exceptions) StackMapTable

func (a Exceptions) StackMapTable() *StackMapTable

func (Exceptions) Synthetic

func (a Exceptions) Synthetic() *Synthetic

func (Exceptions) UnknownAttr

func (a Exceptions) UnknownAttr() *UnknownAttr

type Field

type Field struct {
	// contains filtered or unexported fields
}

func (Field) Dump

func (fom Field) Dump(w io.Writer) error

type FieldRef

type FieldRef struct {
	// contains filtered or unexported fields
}

func (*FieldRef) Dump

func (c *FieldRef) Dump(w io.Writer) error

func (*FieldRef) Field

func (c *FieldRef) Field() *FieldRef

func (*FieldRef) Read

func (c *FieldRef) Read(r io.Reader) error

type FloatRef

type FloatRef struct {
	Value float32
	// contains filtered or unexported fields
}

func (FloatRef) Class

func (b FloatRef) Class() *ClassRef

func (FloatRef) Double

func (b FloatRef) Double() *DoubleRef

func (*FloatRef) Dump

func (c *FloatRef) Dump(w io.Writer) error

func (FloatRef) Field

func (b FloatRef) Field() *FieldRef

func (*FloatRef) Float

func (c *FloatRef) Float() *FloatRef

func (FloatRef) GetTag

func (b FloatRef) GetTag() ConstantType

func (FloatRef) Integer

func (b FloatRef) Integer() *IntegerRef

func (FloatRef) InterfaceMethod

func (b FloatRef) InterfaceMethod() *InterfaceMethodRef

func (FloatRef) InvokeDynamic

func (b FloatRef) InvokeDynamic() *InvokeDynamicRef

func (FloatRef) Long

func (b FloatRef) Long() *LongRef

func (FloatRef) Method

func (b FloatRef) Method() *MethodRef

func (FloatRef) MethodHandle

func (b FloatRef) MethodHandle() *MethodHandleRef

func (FloatRef) MethodType

func (b FloatRef) MethodType() *MethodTypeRef

func (FloatRef) NameAndType

func (b FloatRef) NameAndType() *NameAndTypeRef

func (*FloatRef) Read

func (c *FloatRef) Read(r io.Reader) error

func (FloatRef) StringRef

func (b FloatRef) StringRef() *StringRef

func (FloatRef) UTF8

func (b FloatRef) UTF8() *UTF8Ref

type InnerClass

type InnerClass struct {
	InnerClassIndex  ConstPoolIndex
	OuterClassIndex  ConstPoolIndex
	InnerName        ConstPoolIndex
	InnerAccessFlags AccessFlags
}

type InnerClasses

type InnerClasses struct {
	Classes []InnerClass
	// contains filtered or unexported fields
}

InnerClasses ClassFile, may single

func (InnerClasses) AnnotationDefault

func (a InnerClasses) AnnotationDefault() *AnnotationDefault

func (InnerClasses) BootstrapMethods

func (a InnerClasses) BootstrapMethods() *BootstrapMethods

func (InnerClasses) Code

func (a InnerClasses) Code() *Code

func (InnerClasses) ConstantValue

func (a InnerClasses) ConstantValue() *ConstantValue

func (InnerClasses) Deprecated

func (a InnerClasses) Deprecated() *Deprecated

func (*InnerClasses) Dump

func (a *InnerClasses) Dump(w io.Writer) error

func (InnerClasses) EnclosingMethod

func (a InnerClasses) EnclosingMethod() *EnclosingMethod

func (InnerClasses) Exceptions

func (a InnerClasses) Exceptions() *Exceptions

func (*InnerClasses) GetTag

func (a *InnerClasses) GetTag() AttributeType

func (*InnerClasses) InnerClasses

func (a *InnerClasses) InnerClasses() *InnerClasses

func (InnerClasses) LineNumberTable

func (a InnerClasses) LineNumberTable() *LineNumberTable

func (InnerClasses) LocalVariableTable

func (a InnerClasses) LocalVariableTable() *LocalVariableTable

func (InnerClasses) LocalVariableTypeTable

func (a InnerClasses) LocalVariableTypeTable() *LocalVariableTypeTable

func (*InnerClasses) Read

func (a *InnerClasses) Read(r io.Reader, _ ConstantPool) error

func (InnerClasses) RuntimeInvisibleAnnotations

func (a InnerClasses) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (InnerClasses) RuntimeInvisibleParameterAnnotations

func (a InnerClasses) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (InnerClasses) RuntimeVisibleAnnotations

func (a InnerClasses) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (InnerClasses) RuntimeVisibleParameterAnnotations

func (a InnerClasses) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (InnerClasses) Signature

func (a InnerClasses) Signature() *Signature

func (InnerClasses) SourceDebugExtension

func (a InnerClasses) SourceDebugExtension() *SourceDebugExtension

func (InnerClasses) SourceFile

func (a InnerClasses) SourceFile() *SourceFile

func (InnerClasses) StackMapTable

func (a InnerClasses) StackMapTable() *StackMapTable

func (InnerClasses) Synthetic

func (a InnerClasses) Synthetic() *Synthetic

func (InnerClasses) UnknownAttr

func (a InnerClasses) UnknownAttr() *UnknownAttr

type IntegerRef

type IntegerRef struct {
	Value int32
	// contains filtered or unexported fields
}

func (IntegerRef) Class

func (b IntegerRef) Class() *ClassRef

func (IntegerRef) Double

func (b IntegerRef) Double() *DoubleRef

func (*IntegerRef) Dump

func (c *IntegerRef) Dump(w io.Writer) error

func (IntegerRef) Field

func (b IntegerRef) Field() *FieldRef

func (IntegerRef) Float

func (b IntegerRef) Float() *FloatRef

func (IntegerRef) GetTag

func (b IntegerRef) GetTag() ConstantType

func (*IntegerRef) Integer

func (c *IntegerRef) Integer() *IntegerRef

func (IntegerRef) InterfaceMethod

func (b IntegerRef) InterfaceMethod() *InterfaceMethodRef

func (IntegerRef) InvokeDynamic

func (b IntegerRef) InvokeDynamic() *InvokeDynamicRef

func (IntegerRef) Long

func (b IntegerRef) Long() *LongRef

func (IntegerRef) Method

func (b IntegerRef) Method() *MethodRef

func (IntegerRef) MethodHandle

func (b IntegerRef) MethodHandle() *MethodHandleRef

func (IntegerRef) MethodType

func (b IntegerRef) MethodType() *MethodTypeRef

func (IntegerRef) NameAndType

func (b IntegerRef) NameAndType() *NameAndTypeRef

func (*IntegerRef) Read

func (c *IntegerRef) Read(r io.Reader) error

func (IntegerRef) StringRef

func (b IntegerRef) StringRef() *StringRef

func (IntegerRef) UTF8

func (b IntegerRef) UTF8() *UTF8Ref

type InterfaceMethodRef

type InterfaceMethodRef struct {
	// contains filtered or unexported fields
}

func (*InterfaceMethodRef) Dump

func (c *InterfaceMethodRef) Dump(w io.Writer) error

func (*InterfaceMethodRef) InterfaceMethod

func (c *InterfaceMethodRef) InterfaceMethod() *InterfaceMethodRef

func (*InterfaceMethodRef) Read

func (c *InterfaceMethodRef) Read(r io.Reader) error

type InvokeDynamicRef

type InvokeDynamicRef struct {
	BootstrapMethodAttrIndex ConstPoolIndex
	NameAndTypeIndex         ConstPoolIndex
	// contains filtered or unexported fields
}

func (InvokeDynamicRef) Class

func (b InvokeDynamicRef) Class() *ClassRef

func (InvokeDynamicRef) Double

func (b InvokeDynamicRef) Double() *DoubleRef

func (*InvokeDynamicRef) Dump

func (c *InvokeDynamicRef) Dump(w io.Writer) error

func (InvokeDynamicRef) Field

func (b InvokeDynamicRef) Field() *FieldRef

func (InvokeDynamicRef) Float

func (b InvokeDynamicRef) Float() *FloatRef

func (InvokeDynamicRef) GetTag

func (b InvokeDynamicRef) GetTag() ConstantType

func (InvokeDynamicRef) Integer

func (b InvokeDynamicRef) Integer() *IntegerRef

func (InvokeDynamicRef) InterfaceMethod

func (b InvokeDynamicRef) InterfaceMethod() *InterfaceMethodRef

func (*InvokeDynamicRef) InvokeDynamic

func (c *InvokeDynamicRef) InvokeDynamic() *InvokeDynamicRef

func (InvokeDynamicRef) Long

func (b InvokeDynamicRef) Long() *LongRef

func (InvokeDynamicRef) Method

func (b InvokeDynamicRef) Method() *MethodRef

func (InvokeDynamicRef) MethodHandle

func (b InvokeDynamicRef) MethodHandle() *MethodHandleRef

func (InvokeDynamicRef) MethodType

func (b InvokeDynamicRef) MethodType() *MethodTypeRef

func (InvokeDynamicRef) NameAndType

func (b InvokeDynamicRef) NameAndType() *NameAndTypeRef

func (*InvokeDynamicRef) Read

func (c *InvokeDynamicRef) Read(r io.Reader) error

func (InvokeDynamicRef) StringRef

func (b InvokeDynamicRef) StringRef() *StringRef

func (InvokeDynamicRef) UTF8

func (b InvokeDynamicRef) UTF8() *UTF8Ref

type LineNumber

type LineNumber struct {
	StartPC    uint16
	LineNumber uint16
}

type LineNumberTable

type LineNumberTable struct {
	Table []LineNumber
	// contains filtered or unexported fields
}

LineNumberTable Code, may multiple

func (LineNumberTable) AnnotationDefault

func (a LineNumberTable) AnnotationDefault() *AnnotationDefault

func (LineNumberTable) BootstrapMethods

func (a LineNumberTable) BootstrapMethods() *BootstrapMethods

func (LineNumberTable) Code

func (a LineNumberTable) Code() *Code

func (LineNumberTable) ConstantValue

func (a LineNumberTable) ConstantValue() *ConstantValue

func (LineNumberTable) Deprecated

func (a LineNumberTable) Deprecated() *Deprecated

func (*LineNumberTable) Dump

func (a *LineNumberTable) Dump(w io.Writer) error

func (LineNumberTable) EnclosingMethod

func (a LineNumberTable) EnclosingMethod() *EnclosingMethod

func (LineNumberTable) Exceptions

func (a LineNumberTable) Exceptions() *Exceptions

func (*LineNumberTable) GetTag

func (a *LineNumberTable) GetTag() AttributeType

func (LineNumberTable) InnerClasses

func (a LineNumberTable) InnerClasses() *InnerClasses

func (*LineNumberTable) LineNumberTable

func (a *LineNumberTable) LineNumberTable() *LineNumberTable

func (LineNumberTable) LocalVariableTable

func (a LineNumberTable) LocalVariableTable() *LocalVariableTable

func (LineNumberTable) LocalVariableTypeTable

func (a LineNumberTable) LocalVariableTypeTable() *LocalVariableTypeTable

func (*LineNumberTable) Read

func (a *LineNumberTable) Read(r io.Reader, _ ConstantPool) error

func (LineNumberTable) RuntimeInvisibleAnnotations

func (a LineNumberTable) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (LineNumberTable) RuntimeInvisibleParameterAnnotations

func (a LineNumberTable) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (LineNumberTable) RuntimeVisibleAnnotations

func (a LineNumberTable) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (LineNumberTable) RuntimeVisibleParameterAnnotations

func (a LineNumberTable) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (LineNumberTable) Signature

func (a LineNumberTable) Signature() *Signature

func (LineNumberTable) SourceDebugExtension

func (a LineNumberTable) SourceDebugExtension() *SourceDebugExtension

func (LineNumberTable) SourceFile

func (a LineNumberTable) SourceFile() *SourceFile

func (LineNumberTable) StackMapTable

func (a LineNumberTable) StackMapTable() *StackMapTable

func (LineNumberTable) Synthetic

func (a LineNumberTable) Synthetic() *Synthetic

func (LineNumberTable) UnknownAttr

func (a LineNumberTable) UnknownAttr() *UnknownAttr

type LocalVariable

type LocalVariable struct {
	StartPC         uint16
	Length          uint16
	NameIndex       ConstPoolIndex
	DescriptorIndex ConstPoolIndex
	// index into local variable array of current frame
	Index uint16
}

type LocalVariableTable

type LocalVariableTable struct {
	Table []LocalVariable
	// contains filtered or unexported fields
}

LocalVariableTable Code, may multiple

func (LocalVariableTable) AnnotationDefault

func (a LocalVariableTable) AnnotationDefault() *AnnotationDefault

func (LocalVariableTable) BootstrapMethods

func (a LocalVariableTable) BootstrapMethods() *BootstrapMethods

func (LocalVariableTable) Code

func (a LocalVariableTable) Code() *Code

func (LocalVariableTable) ConstantValue

func (a LocalVariableTable) ConstantValue() *ConstantValue

func (LocalVariableTable) Deprecated

func (a LocalVariableTable) Deprecated() *Deprecated

func (*LocalVariableTable) Dump

func (a *LocalVariableTable) Dump(w io.Writer) error

func (LocalVariableTable) EnclosingMethod

func (a LocalVariableTable) EnclosingMethod() *EnclosingMethod

func (LocalVariableTable) Exceptions

func (a LocalVariableTable) Exceptions() *Exceptions

func (*LocalVariableTable) GetTag

func (a *LocalVariableTable) GetTag() AttributeType

func (LocalVariableTable) InnerClasses

func (a LocalVariableTable) InnerClasses() *InnerClasses

func (LocalVariableTable) LineNumberTable

func (a LocalVariableTable) LineNumberTable() *LineNumberTable

func (*LocalVariableTable) LocalVariableTable

func (a *LocalVariableTable) LocalVariableTable() *LocalVariableTable

func (LocalVariableTable) LocalVariableTypeTable

func (a LocalVariableTable) LocalVariableTypeTable() *LocalVariableTypeTable

func (*LocalVariableTable) Read

func (LocalVariableTable) RuntimeInvisibleAnnotations

func (a LocalVariableTable) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (LocalVariableTable) RuntimeInvisibleParameterAnnotations

func (a LocalVariableTable) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (LocalVariableTable) RuntimeVisibleAnnotations

func (a LocalVariableTable) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (LocalVariableTable) RuntimeVisibleParameterAnnotations

func (a LocalVariableTable) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (LocalVariableTable) Signature

func (a LocalVariableTable) Signature() *Signature

func (LocalVariableTable) SourceDebugExtension

func (a LocalVariableTable) SourceDebugExtension() *SourceDebugExtension

func (LocalVariableTable) SourceFile

func (a LocalVariableTable) SourceFile() *SourceFile

func (LocalVariableTable) StackMapTable

func (a LocalVariableTable) StackMapTable() *StackMapTable

func (LocalVariableTable) Synthetic

func (a LocalVariableTable) Synthetic() *Synthetic

func (LocalVariableTable) UnknownAttr

func (a LocalVariableTable) UnknownAttr() *UnknownAttr

type LocalVariableType

type LocalVariableType struct {
	StartPC        uint16
	Length         uint16
	NameIndex      ConstPoolIndex
	SignatureIndex ConstPoolIndex
	// index into local variable array of current frame
	Index uint16
}

type LocalVariableTypeTable

type LocalVariableTypeTable struct {
	Table []LocalVariableType
	// contains filtered or unexported fields
}

LocalVariableTypeTable Code, may multiple

func (LocalVariableTypeTable) AnnotationDefault

func (a LocalVariableTypeTable) AnnotationDefault() *AnnotationDefault

func (LocalVariableTypeTable) BootstrapMethods

func (a LocalVariableTypeTable) BootstrapMethods() *BootstrapMethods

func (LocalVariableTypeTable) Code

func (a LocalVariableTypeTable) Code() *Code

func (LocalVariableTypeTable) ConstantValue

func (a LocalVariableTypeTable) ConstantValue() *ConstantValue

func (LocalVariableTypeTable) Deprecated

func (a LocalVariableTypeTable) Deprecated() *Deprecated

func (*LocalVariableTypeTable) Dump

func (LocalVariableTypeTable) EnclosingMethod

func (a LocalVariableTypeTable) EnclosingMethod() *EnclosingMethod

func (LocalVariableTypeTable) Exceptions

func (a LocalVariableTypeTable) Exceptions() *Exceptions

func (*LocalVariableTypeTable) GetTag

func (LocalVariableTypeTable) InnerClasses

func (a LocalVariableTypeTable) InnerClasses() *InnerClasses

func (LocalVariableTypeTable) LineNumberTable

func (a LocalVariableTypeTable) LineNumberTable() *LineNumberTable

func (LocalVariableTypeTable) LocalVariableTable

func (a LocalVariableTypeTable) LocalVariableTable() *LocalVariableTable

func (*LocalVariableTypeTable) LocalVariableTypeTable

func (a *LocalVariableTypeTable) LocalVariableTypeTable() *LocalVariableTypeTable

func (*LocalVariableTypeTable) Read

func (LocalVariableTypeTable) RuntimeInvisibleAnnotations

func (a LocalVariableTypeTable) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (LocalVariableTypeTable) RuntimeInvisibleParameterAnnotations

func (a LocalVariableTypeTable) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (LocalVariableTypeTable) RuntimeVisibleAnnotations

func (a LocalVariableTypeTable) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (LocalVariableTypeTable) RuntimeVisibleParameterAnnotations

func (a LocalVariableTypeTable) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (LocalVariableTypeTable) Signature

func (a LocalVariableTypeTable) Signature() *Signature

func (LocalVariableTypeTable) SourceDebugExtension

func (a LocalVariableTypeTable) SourceDebugExtension() *SourceDebugExtension

func (LocalVariableTypeTable) SourceFile

func (a LocalVariableTypeTable) SourceFile() *SourceFile

func (LocalVariableTypeTable) StackMapTable

func (a LocalVariableTypeTable) StackMapTable() *StackMapTable

func (LocalVariableTypeTable) Synthetic

func (a LocalVariableTypeTable) Synthetic() *Synthetic

func (LocalVariableTypeTable) UnknownAttr

func (a LocalVariableTypeTable) UnknownAttr() *UnknownAttr

type LongRef

type LongRef struct {
	Value int64
	// contains filtered or unexported fields
}

func (LongRef) Class

func (b LongRef) Class() *ClassRef

func (LongRef) Double

func (b LongRef) Double() *DoubleRef

func (*LongRef) Dump

func (c *LongRef) Dump(w io.Writer) error

func (LongRef) Field

func (b LongRef) Field() *FieldRef

func (LongRef) Float

func (b LongRef) Float() *FloatRef

func (LongRef) GetTag

func (b LongRef) GetTag() ConstantType

func (LongRef) Integer

func (b LongRef) Integer() *IntegerRef

func (LongRef) InterfaceMethod

func (b LongRef) InterfaceMethod() *InterfaceMethodRef

func (LongRef) InvokeDynamic

func (b LongRef) InvokeDynamic() *InvokeDynamicRef

func (*LongRef) Long

func (c *LongRef) Long() *LongRef

func (LongRef) Method

func (b LongRef) Method() *MethodRef

func (LongRef) MethodHandle

func (b LongRef) MethodHandle() *MethodHandleRef

func (LongRef) MethodType

func (b LongRef) MethodType() *MethodTypeRef

func (LongRef) NameAndType

func (b LongRef) NameAndType() *NameAndTypeRef

func (*LongRef) Read

func (c *LongRef) Read(r io.Reader) error

func (LongRef) StringRef

func (b LongRef) StringRef() *StringRef

func (LongRef) UTF8

func (b LongRef) UTF8() *UTF8Ref

type Method

type Method struct {
	// contains filtered or unexported fields
}

func (Method) Dump

func (fom Method) Dump(w io.Writer) error

type MethodHandleRef

type MethodHandleRef struct {
	ReferenceKind  uint8
	ReferenceIndex ConstPoolIndex
	// contains filtered or unexported fields
}

func (MethodHandleRef) Class

func (b MethodHandleRef) Class() *ClassRef

func (MethodHandleRef) Double

func (b MethodHandleRef) Double() *DoubleRef

func (*MethodHandleRef) Dump

func (c *MethodHandleRef) Dump(w io.Writer) error

func (MethodHandleRef) Field

func (b MethodHandleRef) Field() *FieldRef

func (MethodHandleRef) Float

func (b MethodHandleRef) Float() *FloatRef

func (MethodHandleRef) GetTag

func (b MethodHandleRef) GetTag() ConstantType

func (MethodHandleRef) Integer

func (b MethodHandleRef) Integer() *IntegerRef

func (MethodHandleRef) InterfaceMethod

func (b MethodHandleRef) InterfaceMethod() *InterfaceMethodRef

func (MethodHandleRef) InvokeDynamic

func (b MethodHandleRef) InvokeDynamic() *InvokeDynamicRef

func (MethodHandleRef) Long

func (b MethodHandleRef) Long() *LongRef

func (MethodHandleRef) Method

func (b MethodHandleRef) Method() *MethodRef

func (*MethodHandleRef) MethodHandle

func (c *MethodHandleRef) MethodHandle() *MethodHandleRef

func (MethodHandleRef) MethodType

func (b MethodHandleRef) MethodType() *MethodTypeRef

func (MethodHandleRef) NameAndType

func (b MethodHandleRef) NameAndType() *NameAndTypeRef

func (*MethodHandleRef) Read

func (c *MethodHandleRef) Read(r io.Reader) error

func (MethodHandleRef) StringRef

func (b MethodHandleRef) StringRef() *StringRef

func (MethodHandleRef) UTF8

func (b MethodHandleRef) UTF8() *UTF8Ref

type MethodRef

type MethodRef struct {
	// contains filtered or unexported fields
}

func (*MethodRef) Dump

func (c *MethodRef) Dump(w io.Writer) error

func (*MethodRef) Method

func (c *MethodRef) Method() *MethodRef

func (*MethodRef) Read

func (c *MethodRef) Read(r io.Reader) error

type MethodTypeRef

type MethodTypeRef struct {
	DescriptorIndex ConstPoolIndex
	// contains filtered or unexported fields
}

func (MethodTypeRef) Class

func (b MethodTypeRef) Class() *ClassRef

func (MethodTypeRef) Double

func (b MethodTypeRef) Double() *DoubleRef

func (*MethodTypeRef) Dump

func (c *MethodTypeRef) Dump(w io.Writer) error

func (MethodTypeRef) Field

func (b MethodTypeRef) Field() *FieldRef

func (MethodTypeRef) Float

func (b MethodTypeRef) Float() *FloatRef

func (MethodTypeRef) GetTag

func (b MethodTypeRef) GetTag() ConstantType

func (MethodTypeRef) Integer

func (b MethodTypeRef) Integer() *IntegerRef

func (MethodTypeRef) InterfaceMethod

func (b MethodTypeRef) InterfaceMethod() *InterfaceMethodRef

func (MethodTypeRef) InvokeDynamic

func (b MethodTypeRef) InvokeDynamic() *InvokeDynamicRef

func (MethodTypeRef) Long

func (b MethodTypeRef) Long() *LongRef

func (MethodTypeRef) Method

func (b MethodTypeRef) Method() *MethodRef

func (MethodTypeRef) MethodHandle

func (b MethodTypeRef) MethodHandle() *MethodHandleRef

func (*MethodTypeRef) MethodType

func (c *MethodTypeRef) MethodType() *MethodTypeRef

func (MethodTypeRef) NameAndType

func (b MethodTypeRef) NameAndType() *NameAndTypeRef

func (*MethodTypeRef) Read

func (c *MethodTypeRef) Read(r io.Reader) error

func (MethodTypeRef) StringRef

func (b MethodTypeRef) StringRef() *StringRef

func (MethodTypeRef) UTF8

func (b MethodTypeRef) UTF8() *UTF8Ref

type NameAndTypeRef

type NameAndTypeRef struct {
	NameIndex       ConstPoolIndex
	DescriptorIndex ConstPoolIndex
	// contains filtered or unexported fields
}

func (NameAndTypeRef) Class

func (b NameAndTypeRef) Class() *ClassRef

func (NameAndTypeRef) Double

func (b NameAndTypeRef) Double() *DoubleRef

func (*NameAndTypeRef) Dump

func (c *NameAndTypeRef) Dump(w io.Writer) error

func (NameAndTypeRef) Field

func (b NameAndTypeRef) Field() *FieldRef

func (NameAndTypeRef) Float

func (b NameAndTypeRef) Float() *FloatRef

func (NameAndTypeRef) GetTag

func (b NameAndTypeRef) GetTag() ConstantType

func (NameAndTypeRef) Integer

func (b NameAndTypeRef) Integer() *IntegerRef

func (NameAndTypeRef) InterfaceMethod

func (b NameAndTypeRef) InterfaceMethod() *InterfaceMethodRef

func (NameAndTypeRef) InvokeDynamic

func (b NameAndTypeRef) InvokeDynamic() *InvokeDynamicRef

func (NameAndTypeRef) Long

func (b NameAndTypeRef) Long() *LongRef

func (NameAndTypeRef) Method

func (b NameAndTypeRef) Method() *MethodRef

func (NameAndTypeRef) MethodHandle

func (b NameAndTypeRef) MethodHandle() *MethodHandleRef

func (NameAndTypeRef) MethodType

func (b NameAndTypeRef) MethodType() *MethodTypeRef

func (*NameAndTypeRef) NameAndType

func (c *NameAndTypeRef) NameAndType() *NameAndTypeRef

func (*NameAndTypeRef) Read

func (c *NameAndTypeRef) Read(r io.Reader) error

func (NameAndTypeRef) StringRef

func (b NameAndTypeRef) StringRef() *StringRef

func (NameAndTypeRef) UTF8

func (b NameAndTypeRef) UTF8() *UTF8Ref

type RuntimeInvisibleAnnotations

type RuntimeInvisibleAnnotations struct {
	// contains filtered or unexported fields
}

func (RuntimeInvisibleAnnotations) AnnotationDefault

func (a RuntimeInvisibleAnnotations) AnnotationDefault() *AnnotationDefault

func (RuntimeInvisibleAnnotations) BootstrapMethods

func (a RuntimeInvisibleAnnotations) BootstrapMethods() *BootstrapMethods

func (RuntimeInvisibleAnnotations) Code

func (a RuntimeInvisibleAnnotations) Code() *Code

func (RuntimeInvisibleAnnotations) ConstantValue

func (a RuntimeInvisibleAnnotations) ConstantValue() *ConstantValue

func (RuntimeInvisibleAnnotations) Deprecated

func (a RuntimeInvisibleAnnotations) Deprecated() *Deprecated

func (RuntimeInvisibleAnnotations) EnclosingMethod

func (a RuntimeInvisibleAnnotations) EnclosingMethod() *EnclosingMethod

func (RuntimeInvisibleAnnotations) Exceptions

func (a RuntimeInvisibleAnnotations) Exceptions() *Exceptions

func (*RuntimeInvisibleAnnotations) GetTag

func (RuntimeInvisibleAnnotations) InnerClasses

func (a RuntimeInvisibleAnnotations) InnerClasses() *InnerClasses

func (RuntimeInvisibleAnnotations) LineNumberTable

func (a RuntimeInvisibleAnnotations) LineNumberTable() *LineNumberTable

func (RuntimeInvisibleAnnotations) LocalVariableTable

func (a RuntimeInvisibleAnnotations) LocalVariableTable() *LocalVariableTable

func (RuntimeInvisibleAnnotations) LocalVariableTypeTable

func (a RuntimeInvisibleAnnotations) LocalVariableTypeTable() *LocalVariableTypeTable

func (*RuntimeInvisibleAnnotations) RuntimeInvisibleAnnotations

func (a *RuntimeInvisibleAnnotations) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (RuntimeInvisibleAnnotations) RuntimeInvisibleParameterAnnotations

func (a RuntimeInvisibleAnnotations) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (RuntimeInvisibleAnnotations) RuntimeVisibleAnnotations

func (a RuntimeInvisibleAnnotations) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (RuntimeInvisibleAnnotations) RuntimeVisibleParameterAnnotations

func (a RuntimeInvisibleAnnotations) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (RuntimeInvisibleAnnotations) Signature

func (a RuntimeInvisibleAnnotations) Signature() *Signature

func (RuntimeInvisibleAnnotations) SourceDebugExtension

func (a RuntimeInvisibleAnnotations) SourceDebugExtension() *SourceDebugExtension

func (RuntimeInvisibleAnnotations) SourceFile

func (a RuntimeInvisibleAnnotations) SourceFile() *SourceFile

func (RuntimeInvisibleAnnotations) StackMapTable

func (a RuntimeInvisibleAnnotations) StackMapTable() *StackMapTable

func (RuntimeInvisibleAnnotations) Synthetic

func (a RuntimeInvisibleAnnotations) Synthetic() *Synthetic

func (RuntimeInvisibleAnnotations) UnknownAttr

func (a RuntimeInvisibleAnnotations) UnknownAttr() *UnknownAttr

type RuntimeInvisibleParameterAnnotations

type RuntimeInvisibleParameterAnnotations struct {
	// contains filtered or unexported fields
}

func (RuntimeInvisibleParameterAnnotations) AnnotationDefault

func (a RuntimeInvisibleParameterAnnotations) AnnotationDefault() *AnnotationDefault

func (RuntimeInvisibleParameterAnnotations) BootstrapMethods

func (a RuntimeInvisibleParameterAnnotations) BootstrapMethods() *BootstrapMethods

func (RuntimeInvisibleParameterAnnotations) Code

func (a RuntimeInvisibleParameterAnnotations) Code() *Code

func (RuntimeInvisibleParameterAnnotations) ConstantValue

func (a RuntimeInvisibleParameterAnnotations) ConstantValue() *ConstantValue

func (RuntimeInvisibleParameterAnnotations) Deprecated

func (a RuntimeInvisibleParameterAnnotations) Deprecated() *Deprecated

func (RuntimeInvisibleParameterAnnotations) EnclosingMethod

func (a RuntimeInvisibleParameterAnnotations) EnclosingMethod() *EnclosingMethod

func (RuntimeInvisibleParameterAnnotations) Exceptions

func (a RuntimeInvisibleParameterAnnotations) Exceptions() *Exceptions

func (*RuntimeInvisibleParameterAnnotations) GetTag

func (RuntimeInvisibleParameterAnnotations) InnerClasses

func (a RuntimeInvisibleParameterAnnotations) InnerClasses() *InnerClasses

func (RuntimeInvisibleParameterAnnotations) LineNumberTable

func (a RuntimeInvisibleParameterAnnotations) LineNumberTable() *LineNumberTable

func (RuntimeInvisibleParameterAnnotations) LocalVariableTable

func (a RuntimeInvisibleParameterAnnotations) LocalVariableTable() *LocalVariableTable

func (RuntimeInvisibleParameterAnnotations) LocalVariableTypeTable

func (a RuntimeInvisibleParameterAnnotations) LocalVariableTypeTable() *LocalVariableTypeTable

func (RuntimeInvisibleParameterAnnotations) RuntimeInvisibleAnnotations

func (a RuntimeInvisibleParameterAnnotations) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (*RuntimeInvisibleParameterAnnotations) RuntimeInvisibleParameterAnnotations

func (a *RuntimeInvisibleParameterAnnotations) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (RuntimeInvisibleParameterAnnotations) RuntimeVisibleAnnotations

func (a RuntimeInvisibleParameterAnnotations) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (RuntimeInvisibleParameterAnnotations) RuntimeVisibleParameterAnnotations

func (a RuntimeInvisibleParameterAnnotations) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (RuntimeInvisibleParameterAnnotations) Signature

func (a RuntimeInvisibleParameterAnnotations) Signature() *Signature

func (RuntimeInvisibleParameterAnnotations) SourceDebugExtension

func (a RuntimeInvisibleParameterAnnotations) SourceDebugExtension() *SourceDebugExtension

func (RuntimeInvisibleParameterAnnotations) SourceFile

func (a RuntimeInvisibleParameterAnnotations) SourceFile() *SourceFile

func (RuntimeInvisibleParameterAnnotations) StackMapTable

func (a RuntimeInvisibleParameterAnnotations) StackMapTable() *StackMapTable

func (RuntimeInvisibleParameterAnnotations) Synthetic

func (a RuntimeInvisibleParameterAnnotations) Synthetic() *Synthetic

func (RuntimeInvisibleParameterAnnotations) UnknownAttr

func (a RuntimeInvisibleParameterAnnotations) UnknownAttr() *UnknownAttr

type RuntimeVisibleAnnotations

type RuntimeVisibleAnnotations struct {
	// contains filtered or unexported fields
}

func (RuntimeVisibleAnnotations) AnnotationDefault

func (a RuntimeVisibleAnnotations) AnnotationDefault() *AnnotationDefault

func (RuntimeVisibleAnnotations) BootstrapMethods

func (a RuntimeVisibleAnnotations) BootstrapMethods() *BootstrapMethods

func (RuntimeVisibleAnnotations) Code

func (a RuntimeVisibleAnnotations) Code() *Code

func (RuntimeVisibleAnnotations) ConstantValue

func (a RuntimeVisibleAnnotations) ConstantValue() *ConstantValue

func (RuntimeVisibleAnnotations) Deprecated

func (a RuntimeVisibleAnnotations) Deprecated() *Deprecated

func (RuntimeVisibleAnnotations) EnclosingMethod

func (a RuntimeVisibleAnnotations) EnclosingMethod() *EnclosingMethod

func (RuntimeVisibleAnnotations) Exceptions

func (a RuntimeVisibleAnnotations) Exceptions() *Exceptions

func (*RuntimeVisibleAnnotations) GetTag

func (RuntimeVisibleAnnotations) InnerClasses

func (a RuntimeVisibleAnnotations) InnerClasses() *InnerClasses

func (RuntimeVisibleAnnotations) LineNumberTable

func (a RuntimeVisibleAnnotations) LineNumberTable() *LineNumberTable

func (RuntimeVisibleAnnotations) LocalVariableTable

func (a RuntimeVisibleAnnotations) LocalVariableTable() *LocalVariableTable

func (RuntimeVisibleAnnotations) LocalVariableTypeTable

func (a RuntimeVisibleAnnotations) LocalVariableTypeTable() *LocalVariableTypeTable

func (RuntimeVisibleAnnotations) RuntimeInvisibleAnnotations

func (a RuntimeVisibleAnnotations) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (RuntimeVisibleAnnotations) RuntimeInvisibleParameterAnnotations

func (a RuntimeVisibleAnnotations) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (*RuntimeVisibleAnnotations) RuntimeVisibleAnnotations

func (a *RuntimeVisibleAnnotations) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (RuntimeVisibleAnnotations) RuntimeVisibleParameterAnnotations

func (a RuntimeVisibleAnnotations) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (RuntimeVisibleAnnotations) Signature

func (a RuntimeVisibleAnnotations) Signature() *Signature

func (RuntimeVisibleAnnotations) SourceDebugExtension

func (a RuntimeVisibleAnnotations) SourceDebugExtension() *SourceDebugExtension

func (RuntimeVisibleAnnotations) SourceFile

func (a RuntimeVisibleAnnotations) SourceFile() *SourceFile

func (RuntimeVisibleAnnotations) StackMapTable

func (a RuntimeVisibleAnnotations) StackMapTable() *StackMapTable

func (RuntimeVisibleAnnotations) Synthetic

func (a RuntimeVisibleAnnotations) Synthetic() *Synthetic

func (RuntimeVisibleAnnotations) UnknownAttr

func (a RuntimeVisibleAnnotations) UnknownAttr() *UnknownAttr

type RuntimeVisibleParameterAnnotations

type RuntimeVisibleParameterAnnotations struct {
	// contains filtered or unexported fields
}

func (RuntimeVisibleParameterAnnotations) AnnotationDefault

func (a RuntimeVisibleParameterAnnotations) AnnotationDefault() *AnnotationDefault

func (RuntimeVisibleParameterAnnotations) BootstrapMethods

func (a RuntimeVisibleParameterAnnotations) BootstrapMethods() *BootstrapMethods

func (RuntimeVisibleParameterAnnotations) Code

func (a RuntimeVisibleParameterAnnotations) Code() *Code

func (RuntimeVisibleParameterAnnotations) ConstantValue

func (a RuntimeVisibleParameterAnnotations) ConstantValue() *ConstantValue

func (RuntimeVisibleParameterAnnotations) Deprecated

func (a RuntimeVisibleParameterAnnotations) Deprecated() *Deprecated

func (RuntimeVisibleParameterAnnotations) EnclosingMethod

func (a RuntimeVisibleParameterAnnotations) EnclosingMethod() *EnclosingMethod

func (RuntimeVisibleParameterAnnotations) Exceptions

func (a RuntimeVisibleParameterAnnotations) Exceptions() *Exceptions

func (*RuntimeVisibleParameterAnnotations) GetTag

func (RuntimeVisibleParameterAnnotations) InnerClasses

func (a RuntimeVisibleParameterAnnotations) InnerClasses() *InnerClasses

func (RuntimeVisibleParameterAnnotations) LineNumberTable

func (a RuntimeVisibleParameterAnnotations) LineNumberTable() *LineNumberTable

func (RuntimeVisibleParameterAnnotations) LocalVariableTable

func (a RuntimeVisibleParameterAnnotations) LocalVariableTable() *LocalVariableTable

func (RuntimeVisibleParameterAnnotations) LocalVariableTypeTable

func (a RuntimeVisibleParameterAnnotations) LocalVariableTypeTable() *LocalVariableTypeTable

func (RuntimeVisibleParameterAnnotations) RuntimeInvisibleAnnotations

func (a RuntimeVisibleParameterAnnotations) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (RuntimeVisibleParameterAnnotations) RuntimeInvisibleParameterAnnotations

func (a RuntimeVisibleParameterAnnotations) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (RuntimeVisibleParameterAnnotations) RuntimeVisibleAnnotations

func (a RuntimeVisibleParameterAnnotations) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (*RuntimeVisibleParameterAnnotations) RuntimeVisibleParameterAnnotations

func (a *RuntimeVisibleParameterAnnotations) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (RuntimeVisibleParameterAnnotations) Signature

func (a RuntimeVisibleParameterAnnotations) Signature() *Signature

func (RuntimeVisibleParameterAnnotations) SourceDebugExtension

func (a RuntimeVisibleParameterAnnotations) SourceDebugExtension() *SourceDebugExtension

func (RuntimeVisibleParameterAnnotations) SourceFile

func (a RuntimeVisibleParameterAnnotations) SourceFile() *SourceFile

func (RuntimeVisibleParameterAnnotations) StackMapTable

func (a RuntimeVisibleParameterAnnotations) StackMapTable() *StackMapTable

func (RuntimeVisibleParameterAnnotations) Synthetic

func (a RuntimeVisibleParameterAnnotations) Synthetic() *Synthetic

func (RuntimeVisibleParameterAnnotations) UnknownAttr

func (a RuntimeVisibleParameterAnnotations) UnknownAttr() *UnknownAttr

type Signature

type Signature struct {
	SignatureIndex ConstPoolIndex
	// contains filtered or unexported fields
}

Signature ClassFile, field_info, or method_info, may single

func (Signature) AnnotationDefault

func (a Signature) AnnotationDefault() *AnnotationDefault

func (Signature) BootstrapMethods

func (a Signature) BootstrapMethods() *BootstrapMethods

func (Signature) Code

func (a Signature) Code() *Code

func (Signature) ConstantValue

func (a Signature) ConstantValue() *ConstantValue

func (Signature) Deprecated

func (a Signature) Deprecated() *Deprecated

func (*Signature) Dump

func (a *Signature) Dump(w io.Writer) error

func (Signature) EnclosingMethod

func (a Signature) EnclosingMethod() *EnclosingMethod

func (Signature) Exceptions

func (a Signature) Exceptions() *Exceptions

func (*Signature) GetTag

func (a *Signature) GetTag() AttributeType

func (Signature) InnerClasses

func (a Signature) InnerClasses() *InnerClasses

func (Signature) LineNumberTable

func (a Signature) LineNumberTable() *LineNumberTable

func (Signature) LocalVariableTable

func (a Signature) LocalVariableTable() *LocalVariableTable

func (Signature) LocalVariableTypeTable

func (a Signature) LocalVariableTypeTable() *LocalVariableTypeTable

func (*Signature) Read

func (a *Signature) Read(r io.Reader, _ ConstantPool) error

func (Signature) RuntimeInvisibleAnnotations

func (a Signature) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (Signature) RuntimeInvisibleParameterAnnotations

func (a Signature) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (Signature) RuntimeVisibleAnnotations

func (a Signature) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (Signature) RuntimeVisibleParameterAnnotations

func (a Signature) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (*Signature) Signature

func (a *Signature) Signature() *Signature

func (Signature) SourceDebugExtension

func (a Signature) SourceDebugExtension() *SourceDebugExtension

func (Signature) SourceFile

func (a Signature) SourceFile() *SourceFile

func (Signature) StackMapTable

func (a Signature) StackMapTable() *StackMapTable

func (Signature) Synthetic

func (a Signature) Synthetic() *Synthetic

func (Signature) UnknownAttr

func (a Signature) UnknownAttr() *UnknownAttr

type SourceDebugExtension

type SourceDebugExtension struct {
	DebugExtension string
	// contains filtered or unexported fields
}

SourceDebugExtension ClassFile, may single

func (SourceDebugExtension) AnnotationDefault

func (a SourceDebugExtension) AnnotationDefault() *AnnotationDefault

func (SourceDebugExtension) BootstrapMethods

func (a SourceDebugExtension) BootstrapMethods() *BootstrapMethods

func (SourceDebugExtension) Code

func (a SourceDebugExtension) Code() *Code

func (SourceDebugExtension) ConstantValue

func (a SourceDebugExtension) ConstantValue() *ConstantValue

func (SourceDebugExtension) Deprecated

func (a SourceDebugExtension) Deprecated() *Deprecated

func (*SourceDebugExtension) Dump

func (a *SourceDebugExtension) Dump(w io.Writer) error

func (SourceDebugExtension) EnclosingMethod

func (a SourceDebugExtension) EnclosingMethod() *EnclosingMethod

func (SourceDebugExtension) Exceptions

func (a SourceDebugExtension) Exceptions() *Exceptions

func (*SourceDebugExtension) GetTag

func (a *SourceDebugExtension) GetTag() AttributeType

func (SourceDebugExtension) InnerClasses

func (a SourceDebugExtension) InnerClasses() *InnerClasses

func (SourceDebugExtension) LineNumberTable

func (a SourceDebugExtension) LineNumberTable() *LineNumberTable

func (SourceDebugExtension) LocalVariableTable

func (a SourceDebugExtension) LocalVariableTable() *LocalVariableTable

func (SourceDebugExtension) LocalVariableTypeTable

func (a SourceDebugExtension) LocalVariableTypeTable() *LocalVariableTypeTable

func (*SourceDebugExtension) Read

func (SourceDebugExtension) RuntimeInvisibleAnnotations

func (a SourceDebugExtension) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (SourceDebugExtension) RuntimeInvisibleParameterAnnotations

func (a SourceDebugExtension) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (SourceDebugExtension) RuntimeVisibleAnnotations

func (a SourceDebugExtension) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (SourceDebugExtension) RuntimeVisibleParameterAnnotations

func (a SourceDebugExtension) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (SourceDebugExtension) Signature

func (a SourceDebugExtension) Signature() *Signature

func (*SourceDebugExtension) SourceDebugExtension

func (a *SourceDebugExtension) SourceDebugExtension() *SourceDebugExtension

func (SourceDebugExtension) SourceFile

func (a SourceDebugExtension) SourceFile() *SourceFile

func (SourceDebugExtension) StackMapTable

func (a SourceDebugExtension) StackMapTable() *StackMapTable

func (SourceDebugExtension) Synthetic

func (a SourceDebugExtension) Synthetic() *Synthetic

func (SourceDebugExtension) UnknownAttr

func (a SourceDebugExtension) UnknownAttr() *UnknownAttr

type SourceFile

type SourceFile struct {
	SourceFileIndex ConstPoolIndex
	// contains filtered or unexported fields
}

SourceFile ClassFile, may single

func (SourceFile) AnnotationDefault

func (a SourceFile) AnnotationDefault() *AnnotationDefault

func (SourceFile) BootstrapMethods

func (a SourceFile) BootstrapMethods() *BootstrapMethods

func (SourceFile) Code

func (a SourceFile) Code() *Code

func (SourceFile) ConstantValue

func (a SourceFile) ConstantValue() *ConstantValue

func (SourceFile) Deprecated

func (a SourceFile) Deprecated() *Deprecated

func (*SourceFile) Dump

func (a *SourceFile) Dump(w io.Writer) error

func (SourceFile) EnclosingMethod

func (a SourceFile) EnclosingMethod() *EnclosingMethod

func (SourceFile) Exceptions

func (a SourceFile) Exceptions() *Exceptions

func (*SourceFile) GetTag

func (a *SourceFile) GetTag() AttributeType

func (SourceFile) InnerClasses

func (a SourceFile) InnerClasses() *InnerClasses

func (SourceFile) LineNumberTable

func (a SourceFile) LineNumberTable() *LineNumberTable

func (SourceFile) LocalVariableTable

func (a SourceFile) LocalVariableTable() *LocalVariableTable

func (SourceFile) LocalVariableTypeTable

func (a SourceFile) LocalVariableTypeTable() *LocalVariableTypeTable

func (*SourceFile) Read

func (a *SourceFile) Read(r io.Reader, _ ConstantPool) error

func (SourceFile) RuntimeInvisibleAnnotations

func (a SourceFile) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (SourceFile) RuntimeInvisibleParameterAnnotations

func (a SourceFile) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (SourceFile) RuntimeVisibleAnnotations

func (a SourceFile) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (SourceFile) RuntimeVisibleParameterAnnotations

func (a SourceFile) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (SourceFile) Signature

func (a SourceFile) Signature() *Signature

func (SourceFile) SourceDebugExtension

func (a SourceFile) SourceDebugExtension() *SourceDebugExtension

func (*SourceFile) SourceFile

func (a *SourceFile) SourceFile() *SourceFile

func (SourceFile) StackMapTable

func (a SourceFile) StackMapTable() *StackMapTable

func (SourceFile) Synthetic

func (a SourceFile) Synthetic() *Synthetic

func (SourceFile) UnknownAttr

func (a SourceFile) UnknownAttr() *UnknownAttr

type StackMapTable

type StackMapTable struct {
	// contains filtered or unexported fields
}

func (StackMapTable) AnnotationDefault

func (a StackMapTable) AnnotationDefault() *AnnotationDefault

func (StackMapTable) BootstrapMethods

func (a StackMapTable) BootstrapMethods() *BootstrapMethods

func (StackMapTable) Code

func (a StackMapTable) Code() *Code

func (StackMapTable) ConstantValue

func (a StackMapTable) ConstantValue() *ConstantValue

func (StackMapTable) Deprecated

func (a StackMapTable) Deprecated() *Deprecated

func (StackMapTable) EnclosingMethod

func (a StackMapTable) EnclosingMethod() *EnclosingMethod

func (StackMapTable) Exceptions

func (a StackMapTable) Exceptions() *Exceptions

func (StackMapTable) InnerClasses

func (a StackMapTable) InnerClasses() *InnerClasses

func (StackMapTable) LineNumberTable

func (a StackMapTable) LineNumberTable() *LineNumberTable

func (StackMapTable) LocalVariableTable

func (a StackMapTable) LocalVariableTable() *LocalVariableTable

func (StackMapTable) LocalVariableTypeTable

func (a StackMapTable) LocalVariableTypeTable() *LocalVariableTypeTable

func (StackMapTable) RuntimeInvisibleAnnotations

func (a StackMapTable) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (StackMapTable) RuntimeInvisibleParameterAnnotations

func (a StackMapTable) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (StackMapTable) RuntimeVisibleAnnotations

func (a StackMapTable) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (StackMapTable) RuntimeVisibleParameterAnnotations

func (a StackMapTable) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (StackMapTable) Signature

func (a StackMapTable) Signature() *Signature

func (StackMapTable) SourceDebugExtension

func (a StackMapTable) SourceDebugExtension() *SourceDebugExtension

func (StackMapTable) SourceFile

func (a StackMapTable) SourceFile() *SourceFile

func (*StackMapTable) StackMapTable

func (a *StackMapTable) StackMapTable() *StackMapTable

func (StackMapTable) Synthetic

func (a StackMapTable) Synthetic() *Synthetic

func (StackMapTable) UnknownAttr

func (a StackMapTable) UnknownAttr() *UnknownAttr

type StringRef

type StringRef struct {
	Index ConstPoolIndex
	// contains filtered or unexported fields
}

func (StringRef) Class

func (b StringRef) Class() *ClassRef

func (StringRef) Double

func (b StringRef) Double() *DoubleRef

func (*StringRef) Dump

func (c *StringRef) Dump(w io.Writer) error

func (StringRef) Field

func (b StringRef) Field() *FieldRef

func (StringRef) Float

func (b StringRef) Float() *FloatRef

func (StringRef) GetTag

func (b StringRef) GetTag() ConstantType

func (StringRef) Integer

func (b StringRef) Integer() *IntegerRef

func (StringRef) InterfaceMethod

func (b StringRef) InterfaceMethod() *InterfaceMethodRef

func (StringRef) InvokeDynamic

func (b StringRef) InvokeDynamic() *InvokeDynamicRef

func (StringRef) Long

func (b StringRef) Long() *LongRef

func (StringRef) Method

func (b StringRef) Method() *MethodRef

func (StringRef) MethodHandle

func (b StringRef) MethodHandle() *MethodHandleRef

func (StringRef) MethodType

func (b StringRef) MethodType() *MethodTypeRef

func (StringRef) NameAndType

func (b StringRef) NameAndType() *NameAndTypeRef

func (*StringRef) Read

func (c *StringRef) Read(r io.Reader) error

func (*StringRef) StringRef

func (c *StringRef) StringRef() *StringRef

func (StringRef) UTF8

func (b StringRef) UTF8() *UTF8Ref

type Synthetic

type Synthetic struct {
	// contains filtered or unexported fields
}

Synthetic ClassFile, method_info or field_info, may single if compiler generated instead maybe: ACC_SYNTHETIC

func (Synthetic) AnnotationDefault

func (a Synthetic) AnnotationDefault() *AnnotationDefault

func (Synthetic) BootstrapMethods

func (a Synthetic) BootstrapMethods() *BootstrapMethods

func (Synthetic) Code

func (a Synthetic) Code() *Code

func (Synthetic) ConstantValue

func (a Synthetic) ConstantValue() *ConstantValue

func (Synthetic) Deprecated

func (a Synthetic) Deprecated() *Deprecated

func (*Synthetic) Dump

func (a *Synthetic) Dump(w io.Writer) error

func (Synthetic) EnclosingMethod

func (a Synthetic) EnclosingMethod() *EnclosingMethod

func (Synthetic) Exceptions

func (a Synthetic) Exceptions() *Exceptions

func (*Synthetic) GetTag

func (a *Synthetic) GetTag() AttributeType

func (Synthetic) InnerClasses

func (a Synthetic) InnerClasses() *InnerClasses

func (Synthetic) LineNumberTable

func (a Synthetic) LineNumberTable() *LineNumberTable

func (Synthetic) LocalVariableTable

func (a Synthetic) LocalVariableTable() *LocalVariableTable

func (Synthetic) LocalVariableTypeTable

func (a Synthetic) LocalVariableTypeTable() *LocalVariableTypeTable

func (*Synthetic) Read

func (a *Synthetic) Read(r io.Reader, _ ConstantPool) error

func (Synthetic) RuntimeInvisibleAnnotations

func (a Synthetic) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (Synthetic) RuntimeInvisibleParameterAnnotations

func (a Synthetic) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (Synthetic) RuntimeVisibleAnnotations

func (a Synthetic) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (Synthetic) RuntimeVisibleParameterAnnotations

func (a Synthetic) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (Synthetic) Signature

func (a Synthetic) Signature() *Signature

func (Synthetic) SourceDebugExtension

func (a Synthetic) SourceDebugExtension() *SourceDebugExtension

func (Synthetic) SourceFile

func (a Synthetic) SourceFile() *SourceFile

func (Synthetic) StackMapTable

func (a Synthetic) StackMapTable() *StackMapTable

func (*Synthetic) Synthetic

func (a *Synthetic) Synthetic() *Synthetic

func (Synthetic) UnknownAttr

func (a Synthetic) UnknownAttr() *UnknownAttr

type UTF8Ref

type UTF8Ref struct {
	Value string
	// contains filtered or unexported fields
}

func (UTF8Ref) Class

func (b UTF8Ref) Class() *ClassRef

func (UTF8Ref) Double

func (b UTF8Ref) Double() *DoubleRef

func (*UTF8Ref) Dump

func (c *UTF8Ref) Dump(w io.Writer) error

func (UTF8Ref) Field

func (b UTF8Ref) Field() *FieldRef

func (UTF8Ref) Float

func (b UTF8Ref) Float() *FloatRef

func (UTF8Ref) GetTag

func (b UTF8Ref) GetTag() ConstantType

func (UTF8Ref) Integer

func (b UTF8Ref) Integer() *IntegerRef

func (UTF8Ref) InterfaceMethod

func (b UTF8Ref) InterfaceMethod() *InterfaceMethodRef

func (UTF8Ref) InvokeDynamic

func (b UTF8Ref) InvokeDynamic() *InvokeDynamicRef

func (UTF8Ref) Long

func (b UTF8Ref) Long() *LongRef

func (UTF8Ref) Method

func (b UTF8Ref) Method() *MethodRef

func (UTF8Ref) MethodHandle

func (b UTF8Ref) MethodHandle() *MethodHandleRef

func (UTF8Ref) MethodType

func (b UTF8Ref) MethodType() *MethodTypeRef

func (UTF8Ref) NameAndType

func (b UTF8Ref) NameAndType() *NameAndTypeRef

func (*UTF8Ref) Read

func (c *UTF8Ref) Read(r io.Reader) error

TODO: check if the string is handled correctly

func (UTF8Ref) StringRef

func (b UTF8Ref) StringRef() *StringRef

func (*UTF8Ref) UTF8

func (c *UTF8Ref) UTF8() *UTF8Ref

type UnknownAttr

type UnknownAttr struct {
	Data []uint8
	// contains filtered or unexported fields
}

func (UnknownAttr) AnnotationDefault

func (a UnknownAttr) AnnotationDefault() *AnnotationDefault

func (UnknownAttr) BootstrapMethods

func (a UnknownAttr) BootstrapMethods() *BootstrapMethods

func (UnknownAttr) Code

func (a UnknownAttr) Code() *Code

func (UnknownAttr) ConstantValue

func (a UnknownAttr) ConstantValue() *ConstantValue

func (UnknownAttr) Deprecated

func (a UnknownAttr) Deprecated() *Deprecated

func (*UnknownAttr) Dump

func (a *UnknownAttr) Dump(w io.Writer) error

func (UnknownAttr) EnclosingMethod

func (a UnknownAttr) EnclosingMethod() *EnclosingMethod

func (UnknownAttr) Exceptions

func (a UnknownAttr) Exceptions() *Exceptions

func (*UnknownAttr) GetTag

func (a *UnknownAttr) GetTag() AttributeType

func (UnknownAttr) InnerClasses

func (a UnknownAttr) InnerClasses() *InnerClasses

func (UnknownAttr) LineNumberTable

func (a UnknownAttr) LineNumberTable() *LineNumberTable

func (UnknownAttr) LocalVariableTable

func (a UnknownAttr) LocalVariableTable() *LocalVariableTable

func (UnknownAttr) LocalVariableTypeTable

func (a UnknownAttr) LocalVariableTypeTable() *LocalVariableTypeTable

func (*UnknownAttr) Read

func (a *UnknownAttr) Read(r io.Reader, _ ConstantPool) error

func (UnknownAttr) RuntimeInvisibleAnnotations

func (a UnknownAttr) RuntimeInvisibleAnnotations() *RuntimeInvisibleAnnotations

func (UnknownAttr) RuntimeInvisibleParameterAnnotations

func (a UnknownAttr) RuntimeInvisibleParameterAnnotations() *RuntimeInvisibleParameterAnnotations

func (UnknownAttr) RuntimeVisibleAnnotations

func (a UnknownAttr) RuntimeVisibleAnnotations() *RuntimeVisibleAnnotations

func (UnknownAttr) RuntimeVisibleParameterAnnotations

func (a UnknownAttr) RuntimeVisibleParameterAnnotations() *RuntimeVisibleParameterAnnotations

func (UnknownAttr) Signature

func (a UnknownAttr) Signature() *Signature

func (UnknownAttr) SourceDebugExtension

func (a UnknownAttr) SourceDebugExtension() *SourceDebugExtension

func (UnknownAttr) SourceFile

func (a UnknownAttr) SourceFile() *SourceFile

func (UnknownAttr) StackMapTable

func (a UnknownAttr) StackMapTable() *StackMapTable

func (UnknownAttr) Synthetic

func (a UnknownAttr) Synthetic() *Synthetic

func (*UnknownAttr) UnknownAttr

func (a *UnknownAttr) UnknownAttr() *UnknownAttr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL