kmy.jint.reflect
Class JVMClass

java.lang.Object
  |
  +--kmy.jint.reflect.AbstractClass
        |
        +--kmy.jint.reflect.BasicClass
              |
              +--kmy.jint.reflect.JVMClass

public class JVMClass
extends BasicClass


Field Summary
(package private)  java.lang.Class clazz
           
(package private)  int ncells
           
 
Fields inherited from class kmy.jint.reflect.BasicClass
className, classTable, descriptor, inner, interfaces, members, modifiers, name, outer, outerField, packageName, superclass
 
Fields inherited from class kmy.jint.reflect.AbstractClass
ARGLIST_INDEX, FIELD_INDEX, jvmName, METHOD_INDEX, VARIABLE
 
Constructor Summary
(package private) JVMClass(JintClassTable classTable, QualifiedIdentifier fullName, java.lang.Class clazz)
          Called only by JintClassTable.
 
Method Summary
private  void addMember(java.lang.reflect.Member member, int nparams)
           
private  void addMethods(java.lang.Class clazz)
           
(package private)  void finish()
           
 int getNCells()
          Returns number of JVM cells needed to hold this type.
 java.lang.Class getRealClass()
           
 AbstractClass getSuperclass()
           
 boolean isInterface()
           
 boolean isPrimitive()
           
private  void setImplementedInterfaces()
           
 
Methods inherited from class kmy.jint.reflect.BasicClass
addMember, doneAdding, dumpMethods, getClassTable, getDescriptor, getField, getFields, getFullName, getImplementedInterfaces, getInnerClasses, getLexicallyOuter, getMethods, getModifiers, getName, getOuter, getOuterField, getPackage, initDescriptor, isSubclassOf
 
Methods inherited from class kmy.jint.reflect.AbstractClass
getDimension, getElementClass, getImportCache, getJVMName, isWorld, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

clazz

java.lang.Class clazz

ncells

int ncells
Constructor Detail

JVMClass

JVMClass(JintClassTable classTable,
         QualifiedIdentifier fullName,
         java.lang.Class clazz)
Called only by JintClassTable.
Method Detail

finish

void finish()

addMethods

private void addMethods(java.lang.Class clazz)

addMember

private void addMember(java.lang.reflect.Member member,
                       int nparams)

setImplementedInterfaces

private void setImplementedInterfaces()

isInterface

public boolean isInterface()
Overrides:
isInterface in class BasicClass

isPrimitive

public boolean isPrimitive()
Overrides:
isPrimitive in class BasicClass

getNCells

public int getNCells()
Description copied from class: AbstractClass
Returns number of JVM cells needed to hold this type. (long and double - 2, all others - 1).
Overrides:
getNCells in class AbstractClass

getSuperclass

public AbstractClass getSuperclass()
Overrides:
getSuperclass in class BasicClass

getRealClass

public java.lang.Class getRealClass()