com.generationjava.lang
Class ClassConstantsReflector

java.lang.Object
  extended bycom.generationjava.lang.ClassConstantsReflector

public class ClassConstantsReflector
extends Object

A cut down copy of org.cyberiantiger's class object model. It provides a List of all the classes that a class file immediately depends on.


Field Summary
static byte CLASS
           
static byte DOUBLE
           
static byte FIELD_REF
           
static byte FLOAT
           
static byte INTEGER
           
static byte INTERFACE_METHOD_REF
           
static byte LONG
           
static int MAGIC
           
static byte METHOD_REF
           
static byte NAME_AND_TYPE
           
static byte STRING
           
static byte UTF8
           
 
Constructor Summary
ClassConstantsReflector()
           
 
Method Summary
 List getClassConstants(String classname)
           
 String getFullyQualifiedDottedName(String filename)
           
 String getFullyQualifiedName(String filename)
           
 String getName()
           
 String getSuperName()
           
static void main(String[] args)
           
 void readFrom(DataInputStream in)
           
 void resolve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAGIC

public static final int MAGIC
See Also:
Constant Field Values

CLASS

public static final byte CLASS
See Also:
Constant Field Values

FIELD_REF

public static final byte FIELD_REF
See Also:
Constant Field Values

METHOD_REF

public static final byte METHOD_REF
See Also:
Constant Field Values

INTERFACE_METHOD_REF

public static final byte INTERFACE_METHOD_REF
See Also:
Constant Field Values

STRING

public static final byte STRING
See Also:
Constant Field Values

INTEGER

public static final byte INTEGER
See Also:
Constant Field Values

FLOAT

public static final byte FLOAT
See Also:
Constant Field Values

LONG

public static final byte LONG
See Also:
Constant Field Values

DOUBLE

public static final byte DOUBLE
See Also:
Constant Field Values

NAME_AND_TYPE

public static final byte NAME_AND_TYPE
See Also:
Constant Field Values

UTF8

public static final byte UTF8
See Also:
Constant Field Values
Constructor Detail

ClassConstantsReflector

public ClassConstantsReflector()
Method Detail

main

public static void main(String[] args)
                 throws Throwable
Throws:
Throwable

getName

public String getName()

getSuperName

public String getSuperName()

getFullyQualifiedDottedName

public String getFullyQualifiedDottedName(String filename)
                                   throws IOException
Throws:
IOException

getFullyQualifiedName

public String getFullyQualifiedName(String filename)
                             throws IOException
Throws:
IOException

getClassConstants

public List getClassConstants(String classname)

readFrom

public void readFrom(DataInputStream in)
              throws IOException
Throws:
IOException

resolve

public void resolve()


Copyright © 2000-2005 OSJava. All Rights Reserved.