Package kala.compress.harmony.pack200
Class AttributeDefinitionBands
java.lang.Object
kala.compress.harmony.pack200.BandSet
kala.compress.harmony.pack200.AttributeDefinitionBands
Attribute Definition bands define how any unknown attributes should be read by the decompressor.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class kala.compress.harmony.pack200.BandSet
BandSet.BandAnalysisResults, BandSet.BandData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<AttributeDefinitionBands.AttributeDefinition> private final List<AttributeDefinitionBands.AttributeDefinition> private final List<AttributeDefinitionBands.AttributeDefinition> static final int0static final int3static final int1static final int2private final CpBandsprivate final List<AttributeDefinitionBands.AttributeDefinition> private final List<AttributeDefinitionBands.AttributeDefinition> private final SegmentFields inherited from class kala.compress.harmony.pack200.BandSet
effort, segmentHeader -
Constructor Summary
ConstructorsConstructorDescriptionAttributeDefinitionBands(Segment segment, int effort, org.objectweb.asm.Attribute[] attributePrototypes) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddAttributeDefinitions(Map<String, String> layoutMap, int[] availableIndices, int contextType) private int[]addHighIndices(int[] availableIndices) private voidvoidAll input classes for the segment have now been read in, so this method is called so that this class can calculate/complete anything it could not do while classes were being read.voidpack(OutputStream out) Write the packed set of bands to the given output streamMethods inherited from class kala.compress.harmony.pack200.BandSet
cpEntryListToArray, cpEntryOrNullListToArray, encodeBandInt, encodeFlags, encodeFlags, encodeScalar, encodeScalar, integerListToArray, longListToArray
-
Field Details
-
CONTEXT_CLASS
public static final int CONTEXT_CLASS0- See Also:
-
CONTEXT_CODE
public static final int CONTEXT_CODE3- See Also:
-
CONTEXT_FIELD
public static final int CONTEXT_FIELD1- See Also:
-
CONTEXT_METHOD
public static final int CONTEXT_METHOD2- See Also:
-
classAttributeLayouts
-
methodAttributeLayouts
-
fieldAttributeLayouts
-
codeAttributeLayouts
-
attributeDefinitions
-
cpBands
-
segment
-
-
Constructor Details
-
AttributeDefinitionBands
public AttributeDefinitionBands(Segment segment, int effort, org.objectweb.asm.Attribute[] attributePrototypes)
-
-
Method Details
-
addAttributeDefinitions
-
addHighIndices
private int[] addHighIndices(int[] availableIndices) -
addSyntheticDefinitions
private void addSyntheticDefinitions() -
finaliseBands
public void finaliseBands()All input classes for the segment have now been read in, so this method is called so that this class can calculate/complete anything it could not do while classes were being read. -
getClassAttributeLayouts
-
getCodeAttributeLayouts
-
getFieldAttributeLayouts
-
getMethodAttributeLayouts
-
pack
Description copied from class:BandSetWrite the packed set of bands to the given output stream- Specified by:
packin classBandSet- Parameters:
out- TODO- Throws:
IOException- If an I/O error occurs.Pack200Exception- TODO
-