Package | Description |
---|---|
serp.bytecode |
Bytecode Manipuation
|
serp.bytecode.lowlevel |
Lowlevel Bytecode Manipuation
|
serp.bytecode.visitor |
Bytecode Visitor
|
Modifier and Type | Method and Description |
---|---|
Entry[] |
BootstrapMethodElement.getBootstrapArguments() |
Modifier and Type | Method and Description |
---|---|
void |
BootstrapMethodElement.setBootstrapArguments(Entry[] bsArgs) |
Modifier and Type | Class and Description |
---|---|
class |
ClassEntry
A constant pool entry describing a class.
|
class |
ComplexEntry
Base class for field, method, and interface method constant pool
entries.
|
class |
DoubleEntry
A constant double value in the constant pool.
|
class |
FieldEntry
A reference to a class field.
|
class |
FloatEntry
A constant float value in the constant pool.
|
class |
IntEntry
A constant int value in the constant pool.
|
class |
InterfaceMethodEntry
A reference to an interface method.
|
class |
InvokeDynamicEntry
InvokeDynamic
u1 tag
u2 bootstrap_method_attr_index // References entry in Bootstrap Methods table
u2 name_and_type_index // References NameAndTypeEntry representing method name and descriptor
|
class |
LongEntry
A long constant in the constant pool.
|
class |
MethodEntry
A reference to a class method.
|
class |
MethodHandleEntry
MethodHandle
u1 tag
u1 reference_kind
u2 reference_index
|
class |
MethodTypeEntry
MethodType
u1 tag
u2 descriptor_index
|
class |
NameAndTypeEntry
Entry containing indexes referencing a name and a descriptor.
|
class |
StringEntry
A String constant in the constant pool.
|
class |
UTF8Entry
A unicode string value in the constant pool.
|
Modifier and Type | Method and Description |
---|---|
static Entry |
Entry.create(int type)
Create an entry based on its type code.
|
Entry[] |
ConstantPool.getEntries()
Return all the entries in the pool.
|
Entry |
ConstantPool.getEntry(int index)
Retrieve the entry at the specified 1-based index.
|
Entry |
MethodHandleEntry.getReference()
The Entry Type depends on both the reference kind and the Class Version (CV).
|
static Entry |
Entry.read(DataInput in)
Read a single entry from the given bytecode stream and returns it.
|
Modifier and Type | Method and Description |
---|---|
int |
ConstantPool.addEntry(Entry entry)
Add an entry to the pool.
|
int |
ConstantPool.indexOf(Entry entry)
Return the index of the given entry, or 0 if it is not in the pool.
|
boolean |
ConstantPool.removeEntry(Entry entry)
Remove the given entry from the pool.
|
static void |
Entry.write(Entry entry,
DataOutput out)
Write the given entry to the given bytecode stream.
|
Modifier and Type | Method and Description |
---|---|
void |
BCVisitor.enterEntry(Entry obj) |
void |
PrettyPrintVisitor.enterEntry(Entry obj) |
void |
BCVisitor.exitEntry(Entry obj) |
void |
PrettyPrintVisitor.exitEntry(Entry obj) |
Copyright © 2002–2019. All rights reserved.