Package kala.compress.harmony.pack200
Class Pack200ClassReader
java.lang.Object
org.objectweb.asm.ClassReader
kala.compress.harmony.pack200.Pack200ClassReader
public class Pack200ClassReader
extends org.objectweb.asm.ClassReader
Wrapper for ClassReader that enables pack200 to obtain extra class file information
-
Field Summary
FieldsFields inherited from class org.objectweb.asm.ClassReader
b, EXPAND_FRAMES, header, SKIP_CODE, SKIP_DEBUG, SKIP_FRAMES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanreadConst(int item, char[] buf) intreadUnsignedShort(int index) readUTF8(int arg0, char[] arg1) voidsetFileName(String name) Methods inherited from class org.objectweb.asm.ClassReader
accept, accept, getAccess, getClassName, getInterfaces, getItem, getItemCount, getMaxStringLength, getSuperName, readByte, readBytecodeInstructionOffset, readBytes, readClass, readInt, readLabel, readLong, readModule, readPackage, readShort
-
Field Details
-
lastConstantHadWideIndex
private boolean lastConstantHadWideIndex -
lastUnsignedShort
private int lastUnsignedShort -
anySyntheticAttributes
private boolean anySyntheticAttributes -
fileName
-
-
Constructor Details
-
Pack200ClassReader
public Pack200ClassReader(byte[] b) - Parameters:
b- the contents of class file in the format of bytes
-
-
Method Details
-
getFileName
-
hasSyntheticAttributes
public boolean hasSyntheticAttributes() -
lastConstantHadWideIndex
public boolean lastConstantHadWideIndex() -
readConst
- Overrides:
readConstin classorg.objectweb.asm.ClassReader
-
readUnsignedShort
public int readUnsignedShort(int index) - Overrides:
readUnsignedShortin classorg.objectweb.asm.ClassReader
-
readUTF8
- Overrides:
readUTF8in classorg.objectweb.asm.ClassReader
-
setFileName
-