kmy.jint.reflect
Class AnyClass

java.lang.Object
  |
  +--kmy.jint.reflect.AbstractClass
        |
        +--kmy.jint.reflect.AnyClass

public class AnyClass
extends AbstractClass


Field Summary
(package private)  JintClassTable classTable
           
(package private)  QualifiedIdentifier fullName
           
(package private)  QualifiedIdentifier packageName
           
 
Fields inherited from class kmy.jint.reflect.AbstractClass
ARGLIST_INDEX, FIELD_INDEX, jvmName, METHOD_INDEX, VARIABLE
 
Constructor Summary
AnyClass(JintClassTable ct)
           
 
Method Summary
 JintClassTable getClassTable()
           
 java.lang.String getDescriptor()
           
 AbstractClass getElementClass()
           
 AbstractField getField(Identifier name)
           
 QualifiedIdentifier getFullName()
           
 AbstractClass[] getImplementedInterfaces()
           
 AbstractClass[] getInnerClasses()
           
 java.lang.String getJVMName()
           
 java.util.Enumeration getMethods(Identifier name, int nparam)
           
 int getModifiers()
           
 java.lang.String getName()
           
 int getNCells()
          Returns number of JVM cells needed to hold this type.
 QualifiedIdentifier getPackage()
           
 AbstractClass getSuperclass()
           
 boolean isInterface()
           
 boolean isPrimitive()
           
 boolean isSubclassOf(AbstractClass cls)
           
 boolean isWorld()
           
 
Methods inherited from class kmy.jint.reflect.AbstractClass
getDimension, getImportCache, getLexicallyOuter, getOuter, getOuterField, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

fullName

QualifiedIdentifier fullName

classTable

JintClassTable classTable

packageName

QualifiedIdentifier packageName
Constructor Detail

AnyClass

public AnyClass(JintClassTable ct)
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class AbstractClass

getFullName

public QualifiedIdentifier getFullName()
Overrides:
getFullName in class AbstractClass

getPackage

public QualifiedIdentifier getPackage()
Overrides:
getPackage in class AbstractClass

getElementClass

public AbstractClass getElementClass()
Overrides:
getElementClass in class AbstractClass

getModifiers

public int getModifiers()
Overrides:
getModifiers in class AbstractClass

getField

public AbstractField getField(Identifier name)
Overrides:
getField in class AbstractClass

getMethods

public java.util.Enumeration getMethods(Identifier name,
                                        int nparam)
Overrides:
getMethods in class AbstractClass

getInnerClasses

public AbstractClass[] getInnerClasses()
Overrides:
getInnerClasses in class AbstractClass

getImplementedInterfaces

public AbstractClass[] getImplementedInterfaces()
Overrides:
getImplementedInterfaces in class AbstractClass

getSuperclass

public AbstractClass getSuperclass()
Overrides:
getSuperclass in class AbstractClass

isSubclassOf

public boolean isSubclassOf(AbstractClass cls)
Overrides:
isSubclassOf in class AbstractClass

isInterface

public boolean isInterface()
Overrides:
isInterface in class AbstractClass

isPrimitive

public boolean isPrimitive()
Overrides:
isPrimitive in class AbstractClass

getDescriptor

public java.lang.String getDescriptor()
Overrides:
getDescriptor in class AbstractClass

getJVMName

public java.lang.String getJVMName()
Overrides:
getJVMName in class AbstractClass

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

isWorld

public boolean isWorld()
Overrides:
isWorld in class AbstractClass

getClassTable

public JintClassTable getClassTable()
Overrides:
getClassTable in class AbstractClass