Package serp.bytecode
Class BootstrapMethodElement
- java.lang.Object
-
- serp.bytecode.BootstrapMethodElement
-
public class BootstrapMethodElement extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int[]
_bootstrap_arguments
private int
_bootstrap_method_ref
private BootstrapMethods
_bootstrapMethodAttribute
-
Constructor Summary
Constructors Constructor Description BootstrapMethodElement()
BootstrapMethodElement(BootstrapMethods bootstrapmethodAttr, int bootstrap_method_ref, int num_bootstrap_arguments, int[] bootstrap_arguments)
BootstrapMethodElement(BootstrapMethods bootstrapmethodAttr, java.io.DataInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getBootstrapArgumentIndices()
Entry[]
getBootstrapArguments()
MethodHandleEntry
getBootstrapMethod()
BootstrapMethods
getBootstrapMethodAttribute()
int
getBootstrapMethodRef()
int
getLength()
int
getNumBootstrapArguments()
void
setBootstrapArgumentIndices(int[] bootstrap_arguments)
void
setBootstrapArguments(Entry[] bsArgs)
void
setBootstrapMethod(MethodHandleEntry mhe)
void
setBootstrapMethodAttribute(BootstrapMethods bootstrapMethodAttribute)
void
setBootstrapMethodRef(int bootstrap_method_ref)
void
write(java.io.DataOutput out)
-
-
-
Field Detail
-
_bootstrapMethodAttribute
private BootstrapMethods _bootstrapMethodAttribute
-
_bootstrap_method_ref
private int _bootstrap_method_ref
-
_bootstrap_arguments
private int[] _bootstrap_arguments
-
-
Constructor Detail
-
BootstrapMethodElement
public BootstrapMethodElement()
-
BootstrapMethodElement
public BootstrapMethodElement(BootstrapMethods bootstrapmethodAttr, int bootstrap_method_ref, int num_bootstrap_arguments, int[] bootstrap_arguments)
-
BootstrapMethodElement
public BootstrapMethodElement(BootstrapMethods bootstrapmethodAttr, java.io.DataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getBootstrapMethodAttribute
public BootstrapMethods getBootstrapMethodAttribute()
-
setBootstrapMethodAttribute
public void setBootstrapMethodAttribute(BootstrapMethods bootstrapMethodAttribute)
-
getBootstrapMethodRef
public int getBootstrapMethodRef()
-
getBootstrapMethod
public MethodHandleEntry getBootstrapMethod()
-
setBootstrapMethodRef
public void setBootstrapMethodRef(int bootstrap_method_ref)
-
setBootstrapMethod
public void setBootstrapMethod(MethodHandleEntry mhe)
-
getNumBootstrapArguments
public int getNumBootstrapArguments()
-
getBootstrapArgumentIndices
public int[] getBootstrapArgumentIndices()
-
getBootstrapArguments
public Entry[] getBootstrapArguments()
-
setBootstrapArgumentIndices
public void setBootstrapArgumentIndices(int[] bootstrap_arguments)
-
setBootstrapArguments
public void setBootstrapArguments(Entry[] bsArgs)
-
getLength
public int getLength()
-
write
public void write(java.io.DataOutput out) throws java.io.IOException
- Throws:
java.io.IOException
-
-