class ClassData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private NestedByteArrayInputStream |
countedin |
private int[] |
cpe_pos |
private int |
CPlen |
private java.lang.Object[] |
cpool |
(package private) boolean |
DebugFlag |
private java.lang.String |
entityName |
private java.lang.String |
entityType |
private static char[] |
hexTable |
static I18NResourceBundle |
i18n |
private java.io.DataInputStream |
in |
private java.io.PrintWriter |
out |
private boolean |
printDetails |
private int |
shift |
private byte[] |
types |
Constructor and Description |
---|
ClassData(java.io.DataInputStream dis,
int printFlags,
java.io.PrintWriter out) |
Modifier and Type | Method and Description |
---|---|
private void |
decodeAnnotation(java.io.DataInputStream in,
java.io.PrintWriter out) |
private void |
decodeAttr(java.io.DataInputStream in,
java.io.PrintWriter out) |
private void |
decodeAttrs(java.io.DataInputStream in,
java.io.PrintWriter out) |
private void |
decodeBootstrapMethod(java.io.DataInputStream in) |
(package private) void |
decodeClass(java.lang.String fileName) |
private void |
decodeCPXAttr(java.io.DataInputStream in,
int len,
java.lang.String attrname,
java.io.PrintWriter out) |
private void |
decodeCPXAttrM(java.io.DataInputStream in,
int len,
java.lang.String attrname,
java.io.PrintWriter out,
int expectedIndices) |
private void |
decodeElementValue(java.io.DataInputStream in,
java.io.PrintWriter out) |
private void |
decodeElementValuePairs(int count,
java.io.DataInputStream in,
java.io.PrintWriter out) |
private void |
decodeInfo(java.io.DataInputStream in,
java.io.PrintWriter out,
java.lang.String elementName,
boolean hasAccessFlag)
component_info { JEP 359 Record(Preview): class file 58.65535
u2 name_index;
u2 descriptor_index;
u2 attributes_count;
attribute_info attributes[attributes_count];
}
or
field_info {
u2 access_flags;
u2 name_index;
u2 descriptor_index;
u2 attributes_count;
attribute_info attributes[attributes_count];
}
or
method_info {
u2 access_flags;
u2 name_index;
u2 descriptor_index;
u2 attributes_count;
attribute_info attributes[attributes_count];
}
|
private void |
decodeMembers(java.io.DataInputStream in,
java.io.PrintWriter out,
java.lang.String groupName,
java.lang.String elementName) |
private void |
decodeModule(java.io.DataInputStream in) |
private void |
decodeModuleStatement(java.lang.String statementName,
java.io.DataInputStream in) |
private void |
decodeTargetTypeAndRefInfo(java.io.DataInputStream in)
Processes 4.7.20 The RuntimeVisibleTypeAnnotations Attribute, 4.7.21 The RuntimeInvisibleTypeAnnotations Attribute
type_annotation structure. |
private void |
decodeTypeAnnotation(java.io.DataInputStream in,
java.io.PrintWriter out) |
private void |
decodeTypes(java.io.DataInputStream in,
java.io.PrintWriter out,
int count) |
private java.lang.String |
getCommentPosCond() |
private java.lang.String |
getStringPos() |
boolean |
isPrintableChar(char c) |
private void |
out_begin(java.lang.String s) |
private void |
out_end(java.lang.String s) |
private void |
out_print(java.lang.String s) |
private void |
out_println(java.lang.String s) |
private void |
printByteHex(java.io.PrintWriter out,
int b) |
private void |
printBytes(java.io.PrintWriter out,
java.io.DataInputStream in,
int len) |
private void |
printCP(java.io.PrintWriter out) |
private void |
printRestOfBytes() |
private void |
printStackMap(java.io.DataInputStream in,
int elementsNum) |
private void |
printUtf8InfoIndex(int index,
java.lang.String indexName) |
private void |
readCP(java.io.DataInputStream in) |
private java.lang.String |
startArray(int length) |
private void |
startArrayCmt(int length,
java.lang.String comment) |
private void |
startArrayCmtB(int length,
java.lang.String comment) |
private java.lang.String |
toHex(long val) |
private java.lang.String |
toHex(long val,
int width) |
void |
trace(java.lang.String s) |
void |
traceln(java.lang.String s) |
private byte[] types
private java.lang.Object[] cpool
private int CPlen
private NestedByteArrayInputStream countedin
private java.io.DataInputStream in
private java.io.PrintWriter out
private int[] cpe_pos
private boolean printDetails
private java.lang.String entityType
private java.lang.String entityName
public static I18NResourceBundle i18n
private static final char[] hexTable
private int shift
boolean DebugFlag
ClassData(java.io.DataInputStream dis, int printFlags, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
private java.lang.String toHex(long val, int width)
private java.lang.String toHex(long val)
private void printByteHex(java.io.PrintWriter out, int b)
private void printBytes(java.io.PrintWriter out, java.io.DataInputStream in, int len) throws java.io.IOException
java.io.IOException
private void printRestOfBytes()
private void printUtf8InfoIndex(int index, java.lang.String indexName)
private void out_begin(java.lang.String s)
private void out_print(java.lang.String s)
private void out_println(java.lang.String s)
private void out_end(java.lang.String s)
private java.lang.String startArray(int length)
private void startArrayCmt(int length, java.lang.String comment)
private void startArrayCmtB(int length, java.lang.String comment)
private void readCP(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
private void printCP(java.io.PrintWriter out)
private java.lang.String getStringPos()
private java.lang.String getCommentPosCond()
private void decodeCPXAttr(java.io.DataInputStream in, int len, java.lang.String attrname, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
private void decodeCPXAttrM(java.io.DataInputStream in, int len, java.lang.String attrname, java.io.PrintWriter out, int expectedIndices) throws java.io.IOException
java.io.IOException
private void printStackMap(java.io.DataInputStream in, int elementsNum) throws java.io.IOException
java.io.IOException
private void decodeTargetTypeAndRefInfo(java.io.DataInputStream in) throws java.io.IOException
type_annotation
structure.java.io.IOException
private void decodeElementValue(java.io.DataInputStream in, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
public boolean isPrintableChar(char c)
private void decodeAnnotation(java.io.DataInputStream in, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
private void decodeElementValuePairs(int count, java.io.DataInputStream in, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
private void decodeInfo(java.io.DataInputStream in, java.io.PrintWriter out, java.lang.String elementName, boolean hasAccessFlag) throws java.io.IOException
java.io.IOException
private void decodeTypeAnnotation(java.io.DataInputStream in, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
private void decodeBootstrapMethod(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
private void decodeAttr(java.io.DataInputStream in, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
private void decodeModuleStatement(java.lang.String statementName, java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
private void decodeModule(java.io.DataInputStream in) throws java.io.IOException
java.io.IOException
private void decodeAttrs(java.io.DataInputStream in, java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
private void decodeMembers(java.io.DataInputStream in, java.io.PrintWriter out, java.lang.String groupName, java.lang.String elementName) throws java.io.IOException
java.io.IOException
void decodeClass(java.lang.String fileName) throws java.io.IOException
java.io.IOException
private void decodeTypes(java.io.DataInputStream in, java.io.PrintWriter out, int count) throws java.io.IOException
java.io.IOException
public void trace(java.lang.String s)
public void traceln(java.lang.String s)