public class CompiledClass
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
int |
access_flags |
CompiledAttribute[] |
attributes |
int |
attributes_count |
Cp[] |
constant_pool |
int |
constant_pool_count |
CompiledField[] |
fields |
int |
fields_count |
int[] |
interfaces |
int |
interfaces_count |
long |
magic |
int |
major_version |
CompiledMethod[] |
methods |
int |
methods_count |
int |
minor_version |
int |
super_class |
int |
this_class |
Constructor and Description |
---|
CompiledClass(java.io.DataInputStream source)
read a ClassFile structure from the given input source (usually a file)
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object other) |
java.lang.String |
fullyQualifiedName() |
static CompiledClass |
getInstance(java.io.File classFile) |
static CompiledClass |
getInstance(java.io.InputStream classStream) |
boolean |
isInterface() |
boolean |
isSerializableAndNotDataSerializable() |
static void |
main(java.lang.String[] argv) |
java.lang.String |
superClassName() |
public long magic
public int minor_version
public int major_version
public int constant_pool_count
public Cp[] constant_pool
public int access_flags
public int this_class
public int super_class
public int interfaces_count
public int[] interfaces
public int fields_count
public CompiledField[] fields
public int methods_count
public CompiledMethod[] methods
public int attributes_count
public CompiledAttribute[] attributes
public CompiledClass(java.io.DataInputStream source) throws java.io.IOException
java.io.IOException
public static CompiledClass getInstance(java.io.File classFile) throws java.io.IOException
java.io.IOException
public static CompiledClass getInstance(java.io.InputStream classStream) throws java.io.IOException
java.io.IOException
public boolean isInterface()
public boolean isSerializableAndNotDataSerializable()
public java.lang.String fullyQualifiedName()
public java.lang.String superClassName()
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
public static void main(java.lang.String[] argv)