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 (for example via one of the -C, -M, -F or -D command
 line options)
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceAn 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.classclassclassclassclassConstant Pool ReferenceclassA replication is an array of layout elements, with an associated countclassA Union is a type of layout element where the tag value acts as a selector for one of the union casesclassA Union caseNested classes/interfaces inherited from class org.apache.commons.compress.harmony.pack200.BandSetBandSet.BandAnalysisResults, BandSet.BandData
- 
Field SummaryFieldsFields inherited from class org.apache.commons.compress.harmony.pack200.BandSetsegmentHeader
- 
Constructor SummaryConstructorsConstructorDescriptionNewAttributeBands(int effort, CpBands cpBands, SegmentHeader header, AttributeDefinitionBands.AttributeDefinition def) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAttribute(NewAttribute attribute) intbooleanint[]voidpack(OutputStream outputStream) Writes the packed set of bands to the given output stream.voidrenumberBci(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.BandSetcpEntryListToArray, cpEntryOrNullListToArray, encodeBandInt, encodeFlags, encodeFlags, encodeScalar, encodeScalar, integerListToArray, longListToArray
- 
Field Details- 
attributeLayoutElements
 
- 
- 
Constructor Details- 
NewAttributeBandspublic NewAttributeBands(int effort, CpBands cpBands, SegmentHeader header, AttributeDefinitionBands.AttributeDefinition def) throws IOException - Throws:
- IOException
 
 
- 
- 
Method Details- 
addAttribute
- 
getAttributeName
- 
getFlagIndex
- 
isUsedAtLeastOnce
- 
numBackwardsCalls
- 
packDescription copied from class:BandSetWrites the packed set of bands to the given output stream.- Specified by:
- packin class- BandSet
- Parameters:
- outputStream- TODO
- Throws:
- IOException- If an I/O error occurs.
- Pack200Exception- If a Pack200 semantic error occurs.
 
- 
renumberBcipublic 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- TODO
- labelsToOffsets- TODO
 
 
-