Package org.teavm.platform
Class Platform
java.lang.Object
org.teavm.platform.Platform
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?> static Objectstatic <T> PlatformQueue<T> static Annotation[]static PlatformClassstatic PlatformClassstatic PlatformClassstatic Enum<?>[]static StringgetName(PlatformClass cls) static PlatformObjectgetPlatformObject(Object obj) static Stringstatic voidinitClass(PlatformClass cls) static booleanisAssignable(PlatformClass from, PlatformClass to) static booleanisEnum(PlatformClass cls) static booleanisInstance(PlatformObject obj, PlatformClass cls) static booleanisPrimitive(PlatformClass cls) static voidkillSchedule(int id) static PlatformClasslookupClass(String name) static <T> TnewInstance(PlatformClass cls) static intstatic ObjectobjectFromResource(StaticFieldResource resource) static voidpostpone(PlatformRunnable runnable) static intschedule(PlatformRunnable runnable, int timeout) static voidstartThread(PlatformRunnable runnable) static PlatformStringstringFromCharCode(int charCode)
-
Method Details
-
getPlatformObject
-
clone
-
isInstance
-
isAssignable
-
asJavaClass
-
nextObjectId
public static int nextObjectId() -
newInstance
-
lookupClass
-
initClass
-
objectFromResource
-
getEnumConstants
-
getAnnotations
-
startThread
-
postpone
-
schedule
-
killSchedule
public static void killSchedule(int id) -
createQueue
-
stringFromCharCode
-
isPrimitive
-
isEnum
-
getArrayItem
-
getName
-
getSimpleName
-
getEnclosingClass
-
getDeclaringClass
-