|
2010 FRC Java API |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Klass | |
---|---|
com.sun.squawk | Provides classes for low level interactions with the Squawk VM. |
Uses of Klass in com.sun.squawk |
---|
Fields in com.sun.squawk declared as Klass | |
---|---|
static Klass |
Klass.ADDRESS
The type for representing machine addresses. |
static Klass |
Klass.ADDRESS_ARRAY
The type for representing an array of machine addresses. |
static Klass |
Klass.BOOLEAN
The type for boolean . |
static Klass |
Klass.BOOLEAN_ARRAY
The type for boolean[] . |
static Klass |
Klass.BYTE
The type for byte . |
static Klass |
Klass.BYTE_ARRAY
The type for byte[] . |
static Klass |
Klass.BYTECODE
The type for an element of a method. |
static Klass |
Klass.BYTECODE_ARRAY
The type for an array of bytes that is a method. |
static Klass |
Klass.CHAR
The type for char . |
static Klass |
Klass.CHAR_ARRAY
The type for char[] . |
static Klass |
Klass.DOUBLE
The type for double . |
static Klass |
Klass.DOUBLE_ARRAY
The type for double[] . |
static Klass |
Klass.DOUBLE2
The type for the second word of a double value. |
static Klass |
Klass.FLOAT
The type for float . |
static Klass |
Klass.FLOAT_ARRAY
The type for float[] . |
static Klass |
Klass.GLOBAL
The type for a class state word. |
static Klass |
Klass.GLOBAL_ARRAY
The type for a class state structure. |
static Klass |
Klass.GLOBAL_ARRAYARRAY
The type for a table of class state structures. |
static Klass |
Klass.INT
The type for int . |
static Klass |
Klass.INT_ARRAY
The type for int[] . |
static Klass |
Klass.KLASS
The type for com.sun.squawk.Class . |
static Klass |
Klass.LOCAL
The type for a slot in a stack chunk. |
static Klass |
Klass.LOCAL_ARRAY
The type for a stack chunk. |
static Klass |
Klass.LONG
The type for long . |
static Klass |
Klass.LONG_ARRAY
The type for long[] . |
static Klass |
Klass.LONG2
The type for the second word of a long value. |
static Klass |
Klass.NATIVEUNSAFE
Container of methods for peeking and poking memory. |
static Klass[] |
Klass.NO_CLASSES
A zero length array of classes. |
static Klass |
Klass.NULL
The type for null . |
static Klass |
Klass.OBJECT
The type for java.lang.Object . |
static Klass |
Klass.OBJECT_ARRAY
The type for java.lang.Object[] . |
static Klass |
Klass.OFFSET
The type for representing the directed distance between two machine addresses. |
static Klass |
Klass.ONE_WORD
The root of all single word types. |
static Klass |
Klass.REFERENCE
The root type for all reference types. |
static Klass |
Klass.SHORT
The type for short . |
static Klass |
Klass.SHORT_ARRAY
The type for short[] . |
static Klass |
Klass.STRING
The type for java.lang.String . |
static Klass |
Klass.STRING_ARRAY
The type for java.lang.String[] . |
static Klass |
Klass.STRING_OF_BYTES
The type for com.sun.squawk.StringOfBytes . |
static Klass |
Klass.THROWABLE
The type for java.lang.Class . |
static Klass |
Klass.TOP
The root of the verification type hierarchy. |
static Klass |
Klass.TWO_WORD
The root of all two word types. |
static Klass |
Klass.UNINITIALIZED
The root type for all uninitialized reference types. |
static Klass |
Klass.UNINITIALIZED_NEW
The root of the types representing the result of the new bytecode before it has been passed to a constructor. |
static Klass |
Klass.UNINITIALIZED_THIS
The type for this in a constructor before the call to
the super constructor. |
static Klass |
Klass.UWORD
The type for representing unsigned machine words. |
static Klass |
Klass.UWORD_ARRAY
The type for representing an array of unsigned word addresses. |
static Klass |
Klass.VOID
The type for void . |
Methods in com.sun.squawk that return Klass | |
---|---|
static Klass |
Klass.asKlass(Class c)
Gets the Class instance corresponding to a given Class instance. |
static Klass |
Klass.forName(String className)
Returns the Class object associated with the class
with the given string name. |
static Klass |
Klass.getClass(String name,
boolean isFieldDescriptor)
Gets a class corresponding to a given name. |
Klass |
Klass.getComponentType()
Returns the class representing the component type of an array. |
Klass[] |
Klass.getInterfaces()
Gets the list of interfaces implemented by this class. |
static Klass |
Klass.getSecondWordType(Klass type)
Gets the type representing the second word of a double word type. |
Klass |
Klass.getSuperclass()
Returns the Class representing the superclass of the entity
(class, interface, primitive type or void) represented by this
Class . |
Klass |
Klass.getSuperType()
Gets the class representing the super type of this class in the verification type hierarchy. |
static Klass |
Klass.lookupKlass(String name)
Look up klass in current suite or one of it's parents. |
Methods in com.sun.squawk with parameters of type Klass | |
---|---|
static Class |
Klass.asClass(Klass klass)
Gets the Class instance corresponding to a given Class instance, creating it first if necessary. |
static String |
Klass.getNames(Klass[] klasses)
Formats the names of a given array of classes into a single string with each class name seperated by a space. |
static Klass |
Klass.getSecondWordType(Klass type)
Gets the type representing the second word of a double word type. |
boolean |
Klass.isAccessibleFrom(Klass klass)
Determines whether or not this class is accessible by a specified class. |
static boolean |
Klass.isAccessibleFrom(Klass definingClass,
int modifiers,
Klass accessingKlass)
Determines if a given field or method is accessible from a given klass. |
static boolean |
Klass.isAccessibleFrom(Member member,
Klass klass)
Determines if a given field or method is accessible from a given klass. |
boolean |
Klass.isAssignableFrom(Klass klass)
Determines if the class or interface represented by this Class object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
Class parameter. |
boolean |
Klass.isInSamePackageAs(Klass klass)
Return true if a given class is in the same package as this class. |
Field |
Klass.lookupField(String name,
Klass type,
boolean isStatic)
Finds the Field object representing a field in
this class's hierarchy. |
Method |
Klass.lookupMethod(String name,
Klass[] parameterTypes,
Klass returnType,
Klass currentClass,
boolean isStatic)
Finds the Method object representing a method in
this class's hierarchy. |
Method |
Klass.lookupMethod(String name,
Klass[] parameterTypes,
Klass returnType,
Klass currentClass,
boolean isStatic)
Finds the Method object representing a method in
this class's hierarchy. |
void |
Klass.setClassFileDefinition(Klass superClass,
Klass[] interfaces,
ClassFileMethod[] virtualMethods,
ClassFileMethod[] staticMethods,
ClassFileField[] instanceFields,
ClassFileField[] staticFields,
String sourceFile)
Completes the definition of this class (apart from its bytecodes) based on the information parsed from a class file. |
void |
Klass.setClassFileDefinition(Klass superClass,
Klass[] interfaces,
ClassFileMethod[] virtualMethods,
ClassFileMethod[] staticMethods,
ClassFileField[] instanceFields,
ClassFileField[] staticFields,
String sourceFile)
Completes the definition of this class (apart from its bytecodes) based on the information parsed from a class file. |
protected void |
Klass.setSuperType(Klass superType)
Sets the verification hierarchy super type of this class. |
Constructors in com.sun.squawk with parameters of type Klass | |
---|---|
Klass(String name,
Klass superType)
Only used by UninitializedObjectClass constructor. |
|
2010 FRC Java API |
|||||||||
PREV NEXT | FRAMES NO FRAMES |