|
2010 FRC Java API |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Class | |
---|---|
com.sun.cldc.jna | The CLDC/JNA package contains classes that help import native data structures and functions from Java code without writing C code. |
com.sun.squawk | Provides classes for low level interactions with the Squawk VM. |
com.sun.squawk.debugger | |
com.sun.squawk.debugger.sda | The classes that implement the Squawk VM side of the SDWP. |
com.sun.squawk.peripheral | |
java.lang | MID Profile Language Classes included from Java 2 Standard Edition. |
Uses of Class in com.sun.cldc.jna |
---|
Methods in com.sun.cldc.jna with parameters of type Class | |
---|---|
protected static int[] |
DynamicStructure.initLayout(Class c,
int numFields)
Read the C layout structure into a Java array. |
static Library |
Native.loadLibrary(String name,
Class interfaceClass)
|
static Structure |
Function.returnStruct(Class klass,
int ptr)
Standard conversion function that creates an structure instance of type klass from a C address ptr . |
Uses of Class in com.sun.squawk |
---|
Fields in com.sun.squawk declared as Class | |
---|---|
protected Class[] |
KlassMetadata.classTable
The table of classes that are referred to from the symbols. |
Class |
ScopedLocalVariable.type
The type of the local variable. |
Methods in com.sun.squawk that return Class | |
---|---|
static Class |
Klass.asClass(Klass klass)
Gets the Class instance corresponding to a given Class instance, creating it first if necessary. |
Class |
MethodBody.getDefiningClass()
Gets the class that defined this method. |
Class |
Member.getDefiningClass()
Gets the class that defined this field or method. |
static Class |
DebuggerSupport.getDefiningClass(Object methodBody)
Gets the class in which a given method was defined.s |
Class |
ExecutionPoint.getKlass()
Return the klass that defined the method refered to by this ExecutionPoint. |
Class |
ExceptionHandler.getKlass()
Gets the subclass of Throwable caught by this handler. |
Class |
Suite.getKlass(int suiteID)
Gets the class in this suite corresponding to a given class number. |
static Class |
GC.getKlass(Object object)
Get the class of an object. |
Class[] |
ClassFileMethod.getParameterTypes()
Gets the parameter types of this method. |
Class[] |
Method.getParameterTypes()
Gets the formal parameter types, in declaration order, of this method. |
Class |
ClassFileMethod.getReturnType()
Gets the return type of this method. |
Class |
Method.getReturnType()
Gets the formal return type of this method. |
Class[] |
Method.getRuntimeParameterTypes(boolean reverseParameters)
Gets the runtime parameter types, in declaration order, of this method. |
Class |
Field.getType()
Gets this declared type of this field. |
Class |
ClassFileField.getType()
Gets the type of this field. |
Class[] |
DebuggerSupport.StackInspector.getTypeMap(int frameNo,
Object mp,
int parameterCount)
Figure out the type map for the given frameNo and method pointer. |
Class[] |
MethodBody.getTypes()
Get the type map. |
Class |
Suite.lookup(String name)
Gets the Class instance from this suite corresponding
to a specified class name in internal form. |
Methods in com.sun.squawk with parameters of type Class | |
---|---|
static Klass |
Klass.asKlass(Class c)
Gets the Class instance corresponding to a given Class instance. |
boolean |
Suite.contains(Class klass)
Returns true if this suite contains the given klass. |
void |
TranslatorInterface.convert(Class klass)
Ensures that all the methods (if any) in a given class have been verified and converted to Squawk bytecodes. |
static KlassMetadata |
KlassMetadata.create(byte[] symbols,
Class[] classTable,
KlassMetadata original,
int type)
factory for stripping. |
String |
ClassFileMember.getFullyQualifiedName(Class definingClass)
Gets the fully qualified name of this field or method. |
static DataType.MethodID |
DebuggerSupport.getIDForMethodBody(Class definingClass,
Object methodBody)
Gets the JDWP identifier for a method given the method's body. |
static String |
DebuggerSupport.getJNISignature(Class klass)
Gets the JNI signature of a klass. |
static Object |
DebuggerSupport.getMethodBody(Class klass,
int offset,
boolean isStatic)
Gets the body of the method given a class and method table index. |
InputStream |
Suite.getResourceAsStream(String name,
Class klass)
Finds a resource with a given name. |
static int |
DebuggerSupport.getStaticInt(Isolate isolate,
Class klass,
int offset)
Reads a static int variable. |
static long |
DebuggerSupport.getStaticLong(Isolate isolate,
Class klass,
int offset)
Reads a static long variable. |
static Object |
DebuggerSupport.getStaticOop(Isolate isolate,
Class klass,
int offset)
Reads a static reference variable. |
void |
DebuggerSupport.StackInspector.inspectSlot(boolean isParameter,
int slot,
Class type,
long value)
Invoked to inspect the value of a primitive typed slot within a frame in the thread's call stack |
void |
Suite.installClass(Class klass)
Installs a given class into this suite. |
boolean |
Member.isAccessibleFrom(Class klass)
Determines if this member is accessible from a given class. |
static boolean |
DebuggerSupport.isInitialized(Class klass,
Isolate isolate)
Determines if a given class is initialized in a given isolate. |
static boolean |
VM.isInternal(Class klass)
Determines if the klass is internal, so should be retained (even if symbol gets stripped) |
void |
TranslatorInterface.load(Class klass)
Ensures that a given class has had its definition initialized, loading it from a class file if necessary. |
static void |
DebuggerSupport.setStaticInt(Isolate isolate,
Class klass,
int offset,
int value)
Writes a static int variable. |
static void |
DebuggerSupport.setStaticLong(Isolate isolate,
Class klass,
int offset,
long value)
Writes a static long variable. |
static void |
DebuggerSupport.setStaticOop(Isolate isolate,
Class klass,
int offset,
Object value)
Writes a static reference variable. |
abstract boolean |
DebuggerSupport.SlotSetter.shouldSetSlot(int slot,
Class type)
Should this slot be set? |
static boolean |
VM.stripSymbols(Class klass)
Determines if all the symbolic information for a class should be stripped. |
Constructors in com.sun.squawk with parameters of type Class | |
---|---|
ClassFileConstantField(String name,
int modifiers,
Class type,
long constantValue)
Creates a new ClassFileConstantField instance for a field with a
primitive ConstantValue attribute. |
|
ClassFileConstantField(String name,
int modifiers,
Class type,
String constantValue)
Creates a new ClassFileConstantField instance for a field with a
String ConstantValue attribute. |
|
ClassFileField(String name,
int modifiers,
Class type)
Creates a new ClassFileField instance. |
|
ClassFileMethod(String name,
int modifiers,
Class returnType,
Class[] parameterTypes,
int pragmas)
Creates a new ClassFileMethod instance. |
|
ClassFileMethod(String name,
int modifiers,
Class returnType,
Class[] parameterTypes,
int pragmas)
Creates a new ClassFileMethod instance. |
|
ExceptionHandler(int start,
int end,
int handler,
Class klass)
Create an exception handler. |
|
MethodBody(Method definingMethod,
int maxStack,
Class[] locals,
ExceptionHandler[] exceptionTable,
int[] lnt,
ScopedLocalVariable[] lvt,
byte[] code,
byte[] typeMap,
boolean reverseParameters,
boolean inlinedSuperConstructor)
Creates a MethodBody representing the implementation details
of a method. |
|
ScopedLocalVariable(String name,
Class type,
int slot,
int start,
int length)
Creates a ScopedLocalVariable instance representing the
symbolic information for a local variable in a Squawk bytecode method. |
Uses of Class in com.sun.squawk.debugger |
---|
Methods in com.sun.squawk.debugger with parameters of type Class | |
---|---|
static byte |
JDWP.getTag(Class klass)
Given a klass, returns the corresponding com.sun.squawk.debugger.JDWP.Tag value. |
static byte |
JDWP.getTypeTag(Class klass)
Gets the JDWP.TypeTag_... |
Uses of Class in com.sun.squawk.debugger.sda |
---|
Methods in com.sun.squawk.debugger.sda that return Class | |
---|---|
Class |
ObjectManager.getClassForID(DataType.ObjectID objectID)
|
Uses of Class in com.sun.squawk.peripheral |
---|
Methods in com.sun.squawk.peripheral with parameters of type Class | |
---|---|
IPeripheral[] |
PeripheralRegistry.getAll(Class type)
Return all peripherals of type type . |
IPeripheral |
PeripheralRegistry.getSingleton(Class type)
|
void |
PeripheralRegistry.removeAll(Class type)
|
Uses of Class in java.lang |
---|
Methods in java.lang that return Class | |
---|---|
static Class |
Class.forName(String className)
Returns the Class object associated with the class
with the given string name. |
Class |
Object.getClass()
Returns the runtime class of an object. |
Methods in java.lang with parameters of type Class | |
---|---|
boolean |
Class.isAssignableFrom(Class cls)
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. |
|
2010 FRC Java API |
|||||||||
PREV NEXT | FRAMES NO FRAMES |