jrre.api.java.lang
Class Class

java.lang.Object
  |
  +--jrre.api.java.lang.Class

public class Class
extends java.lang.Object

Representation of a class loaded by the ClassLoader. Use instanceOf() to create a new instance to put on the heap.

See Also:
ClassLoader

Constructor Summary
Class()
           
 
Method Summary
 void addSymbol(int key, CPInfo c)
           
 FieldEntry getField(java.lang.String fullyQualifiedName)
           
 java.lang.String getFullyQualifiedName()
           
 java.lang.StringBuffer getLoadingMessages()
          Gets the LoadingMessages.
 MethodEntry getMethod(int cpIndex)
           
 MethodEntry getMethod(java.lang.String fullyQualifiedName)
           
 ClassProperties getProperties()
           
 Type getStaticMemberValue(java.lang.String key)
           
 java.lang.String getString()
           
 CPInfo getSymbol(int key)
           
 int getSymbolTableSize()
           
 void initTableSize(int size)
           
 ObjectInstance instanceOf()
           
 void setFields(Fields fields)
           
 void setInterfaces(Interfaces interfaces)
           
 void setLoadingMessages(java.lang.StringBuffer loadingMessages)
          Sets the LoadingMessages.
 void setMethods(Methods methods)
           
 void setProperties(ClassProperties classProperties)
           
 void setStaticMemberValue(java.lang.String key, Type value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Class

public Class()
Method Detail

getStaticMemberValue

public Type getStaticMemberValue(java.lang.String key)

setStaticMemberValue

public void setStaticMemberValue(java.lang.String key,
                                 Type value)

getLoadingMessages

public java.lang.StringBuffer getLoadingMessages()
Gets the LoadingMessages.


setLoadingMessages

public void setLoadingMessages(java.lang.StringBuffer loadingMessages)
Sets the LoadingMessages.


addSymbol

public void addSymbol(int key,
                      CPInfo c)

getSymbol

public CPInfo getSymbol(int key)

getSymbolTableSize

public int getSymbolTableSize()

initTableSize

public void initTableSize(int size)

setFields

public void setFields(Fields fields)

setMethods

public void setMethods(Methods methods)

setProperties

public void setProperties(ClassProperties classProperties)

getProperties

public ClassProperties getProperties()

setInterfaces

public void setInterfaces(Interfaces interfaces)

getFullyQualifiedName

public java.lang.String getFullyQualifiedName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getString

public java.lang.String getString()

instanceOf

public ObjectInstance instanceOf()

getMethod

public MethodEntry getMethod(java.lang.String fullyQualifiedName)

getMethod

public MethodEntry getMethod(int cpIndex)

getField

public FieldEntry getField(java.lang.String fullyQualifiedName)


Copyright © 2002-2002 Appalachian State University. All Rights Reserved.