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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Class
public Class()
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.