public class NewAttributeBands extends BandSet
Modifier and Type | Class and Description |
---|---|
static interface |
NewAttributeBands.AttributeLayoutElement
An AttributeLayoutElement is a part of an attribute layout and has one or more bands associated with it, which
transmit the AttributeElement data for successive Attributes of this type.
|
class |
NewAttributeBands.Call |
class |
NewAttributeBands.Callable |
class |
NewAttributeBands.Integral |
class |
NewAttributeBands.LayoutElement |
class |
NewAttributeBands.Reference
Constant Pool Reference
|
class |
NewAttributeBands.Replication
A replication is an array of layout elements, with an associated count
|
class |
NewAttributeBands.Union
A Union is a type of layout element where the tag value acts as a selector for one of the union cases
|
class |
NewAttributeBands.UnionCase
A Union case
|
BandSet.BandAnalysisResults, BandSet.BandData
Modifier and Type | Field and Description |
---|---|
protected List<NewAttributeBands.AttributeLayoutElement> |
attributeLayoutElements |
segmentHeader
Constructor and Description |
---|
NewAttributeBands(int effort,
CpBands cpBands,
SegmentHeader header,
AttributeDefinitionBands.AttributeDefinition def) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(NewAttribute attribute) |
String |
getAttributeName() |
int |
getFlagIndex() |
boolean |
isUsedAtLeastOnce() |
int[] |
numBackwardsCalls() |
void |
pack(OutputStream outputStream)
Write the packed set of bands to the given output stream
|
void |
renumberBci(IntList bciRenumbering,
Map<org.objectweb.asm.Label,Integer> labelsToOffsets)
Renumber any bytecode indexes or offsets as described in section 5.5.2 of the pack200 specification
|
cpEntryListToArray, cpEntryOrNullListToArray, encodeBandInt, encodeFlags, encodeFlags, encodeScalar, encodeScalar, integerListToArray, longListToArray
protected List<NewAttributeBands.AttributeLayoutElement> attributeLayoutElements
public NewAttributeBands(int effort, CpBands cpBands, SegmentHeader header, AttributeDefinitionBands.AttributeDefinition def) throws IOException
IOException
public void addAttribute(NewAttribute attribute)
public String getAttributeName()
public int getFlagIndex()
public boolean isUsedAtLeastOnce()
public int[] numBackwardsCalls()
public void pack(OutputStream outputStream) throws IOException, Pack200Exception
BandSet
pack
in class BandSet
outputStream
- TODOIOException
- If an I/O error occurs.Pack200Exception
- TODOpublic void renumberBci(IntList bciRenumbering, Map<org.objectweb.asm.Label,Integer> labelsToOffsets)
bciRenumbering
- TODOlabelsToOffsets
- TODOCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.