| java.lang.Object com.google.gwt.dev.shell.LowLevel
LowLevel | public class LowLevel (Code) | | Various cross-platform low-level helper methods.
|
Method Summary | |
public static void | clobberFieldObjectValue(Class> victimClass, Object victimObject, String fieldName, Object value) Clobbers a field on an object to which we do not have access. | public static void | clobberFieldObjectValue(Object victim, String fieldName, Object value) Clobbers a field on an object to which we do not have access. | public static void | deleteGlobalRefInt(int globalRef) Deletes a global ref on the specified object, invalidating its handle. | public static String | getEnv(String key) Gets an environment variable. | public static synchronized void | init() | public static Image | loadImage(String name) Loads an image from the classpath. | public static int | newGlobalRefInt(Object o) Creates a global ref on the specified object, returning its int handle. | public static Object | objFromGlobalRefInt(int globalRef) Converts a global ref handle from
LowLevel.newGlobalRefInt(Object) into an
Object. | public static Object | snatchFieldObjectValue(Class> victimClass, Object victimObject, String fieldName) Snatches a field from an object to which we do not have access. | public static Object | snatchFieldObjectValue(Object victim, String fieldName) Snatches a field from an object to which we do not have access. |
clobberFieldObjectValue | public static void clobberFieldObjectValue(Class> victimClass, Object victimObject, String fieldName, Object value)(Code) | | Clobbers a field on an object to which we do not have access.
|
clobberFieldObjectValue | public static void clobberFieldObjectValue(Object victim, String fieldName, Object value)(Code) | | Clobbers a field on an object to which we do not have access.
|
deleteGlobalRefInt | public static void deleteGlobalRefInt(int globalRef)(Code) | | Deletes a global ref on the specified object, invalidating its handle.
|
init | public static synchronized void init()(Code) | | |
loadImage | public static Image loadImage(String name)(Code) | | Loads an image from the classpath.
|
newGlobalRefInt | public static int newGlobalRefInt(Object o)(Code) | | Creates a global ref on the specified object, returning its int handle.
|
snatchFieldObjectValue | public static Object snatchFieldObjectValue(Class> victimClass, Object victimObject, String fieldName)(Code) | | Snatches a field from an object to which we do not have access.
|
snatchFieldObjectValue | public static Object snatchFieldObjectValue(Object victim, String fieldName)(Code) | | Snatches a field from an object to which we do not have access.
|
|
|