Class BcBands
java.lang.Object
org.apache.commons.compress.harmony.unpack200.BandSet
org.apache.commons.compress.harmony.unpack200.BcBands
Bytecode bands.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int[]private int[]private int[]private int[]private int[]private int[][]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private int[]private byte[][][]The bytecodes for each method in each class as they come (i.e. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanendsWithLoad(int codePacked) private booleanendsWithStore(int codePacked) int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]byte[][][]voidread(InputStream in) Reads the input stream.private booleanstartsWithIf(int codePacked) voidunpack()Unpacks this instance.Methods inherited from class org.apache.commons.compress.harmony.unpack200.BandSet
decodeBandInt, decodeBandInt, getReferences, getReferences, parseCPClassReferences, parseCPDescriptorReferences, parseCPDoubleReferences, parseCPFieldRefReferences, parseCPFloatReferences, parseCPInterfaceMethodRefReferences, parseCPIntReferences, parseCPLongReferences, parseCPMethodRefReferences, parseCPSignatureReferences, parseCPSignatureReferences, parseCPStringReferences, parseCPUTF8References, parseCPUTF8References, parseFlags, parseFlags, parseFlags, parseFlags, parseReferences, parseReferences, unpack
-
Field Details
-
methodByteCodePacked
private byte[][][] methodByteCodePackedThe bytecodes for each method in each class as they come (i.e. in their packed format). -
bcCaseCount
private int[] bcCaseCount -
bcCaseValue
private int[] bcCaseValue -
bcByte
private int[] bcByte -
bcLocal
private int[] bcLocal -
bcShort
private int[] bcShort -
bcLabel
private int[] bcLabel -
bcIntRef
private int[] bcIntRef -
bcFloatRef
private int[] bcFloatRef -
bcLongRef
private int[] bcLongRef -
bcDoubleRef
private int[] bcDoubleRef -
bcStringRef
private int[] bcStringRef -
bcClassRef
private int[] bcClassRef -
bcFieldRef
private int[] bcFieldRef -
bcMethodRef
private int[] bcMethodRef -
bcIMethodRef
private int[] bcIMethodRef -
bcThisField
private int[] bcThisField -
bcSuperField
private int[] bcSuperField -
bcThisMethod
private int[] bcThisMethod -
bcSuperMethod
private int[] bcSuperMethod -
bcInitRef
private int[] bcInitRef -
bcEscRef
private int[] bcEscRef -
bcEscRefSize
private int[] bcEscRefSize -
bcEscSize
private int[] bcEscSize -
bcEscByte
private int[][] bcEscByte -
wideByteCodes
-
-
Constructor Details
-
BcBands
Constructs a new instance for the given segment.- Parameters:
segment- The segment.
-
-
Method Details
-
endsWithLoad
private boolean endsWithLoad(int codePacked) -
endsWithStore
private boolean endsWithStore(int codePacked) -
getBcByte
public int[] getBcByte() -
getBcCaseCount
public int[] getBcCaseCount() -
getBcCaseValue
public int[] getBcCaseValue() -
getBcClassRef
public int[] getBcClassRef() -
getBcDoubleRef
public int[] getBcDoubleRef() -
getBcFieldRef
public int[] getBcFieldRef() -
getBcFloatRef
public int[] getBcFloatRef() -
getBcIMethodRef
public int[] getBcIMethodRef() -
getBcInitRef
public int[] getBcInitRef() -
getBcIntRef
public int[] getBcIntRef() -
getBcLabel
public int[] getBcLabel() -
getBcLocal
public int[] getBcLocal() -
getBcLongRef
public int[] getBcLongRef() -
getBcMethodRef
public int[] getBcMethodRef() -
getBcShort
public int[] getBcShort() -
getBcStringRef
public int[] getBcStringRef() -
getBcSuperField
public int[] getBcSuperField() -
getBcSuperMethod
public int[] getBcSuperMethod() -
getBcThisField
public int[] getBcThisField() -
getBcThisMethod
public int[] getBcThisMethod() -
getMethodByteCodePacked
public byte[][][] getMethodByteCodePacked() -
read
Description copied from class:BandSetReads the input stream.- Specified by:
readin classBandSet- Parameters:
in- the stream to read.- Throws:
IOException- if a problem occurs during reading from the underlying stream.Pack200Exception- if a problem occurs with an unexpected value or unsupported Codec.
-
startsWithIf
private boolean startsWithIf(int codePacked) -
unpack
Description copied from class:BandSetUnpacks this instance.- Specified by:
unpackin classBandSet- Throws:
Pack200Exception- if a problem occurs with an unexpected value or unsupported Codec.
-