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 |
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 java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
clazz
java.lang.Class clazz
ncells
int ncells
JVMClass
JVMClass(JintClassTable classTable,
QualifiedIdentifier fullName,
java.lang.Class clazz)
- Called only by JintClassTable.
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()