Class NewAttributeBands
java.lang.Object
org.apache.commons.compress.harmony.pack200.BandSet
org.apache.commons.compress.harmony.pack200.NewAttributeBands
Sets of bands relating to a non-predefined attribute that has had a layout definition given to pack200 (e.g. via one of the -C, -M, -F or -D command line
options)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
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
class
class
class
class
Constant Pool Referenceclass
A replication is an array of layout elements, with an associated countclass
A Union is a type of layout element where the tag value acts as a selector for one of the union casesclass
A Union caseNested classes/interfaces inherited from class org.apache.commons.compress.harmony.pack200.BandSet
BandSet.BandAnalysisResults, BandSet.BandData
-
Field Summary
Fields inherited from class org.apache.commons.compress.harmony.pack200.BandSet
segmentHeader
-
Constructor Summary
ConstructorDescriptionNewAttributeBands
(int effort, CpBands cpBands, SegmentHeader header, AttributeDefinitionBands.AttributeDefinition def) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(NewAttribute attribute) int
boolean
int[]
void
pack
(OutputStream outputStream) Write the packed set of bands to the given output streamvoid
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 specificationMethods inherited from class org.apache.commons.compress.harmony.pack200.BandSet
cpEntryListToArray, cpEntryOrNullListToArray, encodeBandInt, encodeFlags, encodeFlags, encodeScalar, encodeScalar, integerListToArray, longListToArray
-
Field Details
-
attributeLayoutElements
-
-
Constructor Details
-
NewAttributeBands
public NewAttributeBands(int effort, CpBands cpBands, SegmentHeader header, AttributeDefinitionBands.AttributeDefinition def) throws IOException - Throws:
IOException
-
-
Method Details
-
addAttribute
-
getAttributeName
-
getFlagIndex
-
isUsedAtLeastOnce
-
numBackwardsCalls
-
pack
Description copied from class:BandSet
Write the packed set of bands to the given output stream- Specified by:
pack
in classBandSet
- Parameters:
outputStream
- TODO- Throws:
IOException
- If an I/O error occurs.Pack200Exception
- TODO
-
renumberBci
public 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- Parameters:
bciRenumbering
- TODOlabelsToOffsets
- TODO
-