Package org.teavm.metaprogramming
Class Metaprogramming
java.lang.Object
org.teavm.metaprogramming.Metaprogramming
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ReflectClass<T[]>
arrayClass
(ReflectClass<T> componentType) static ReflectClass<?>
createClass
(byte[] bytecode) static void
static void
static <T> Value<T>
emit
(Computation<T> computation) static void
exit()
static void
exit
(Computation<?> returnValue) static <T> ReflectClass<T>
static ReflectClass<?>
static ClassLoader
static Diagnostics
static SourceLocation
static <T> Value<T>
lazy
(Computation<T> computation) static <T> Value<T>
lazyFragment
(LazyComputation<T> computation) static void
static <T> Value<T>
proxy
(Class<T> type, InvocationHandler<T> handler) static <T> Value<T>
proxy
(ReflectClass<T> type, InvocationHandler<T> handler) static void
-
Method Details
-
emit
-
emit
-
lazyFragment
-
lazy
-
exit
-
exit
public static void exit() -
location
-
defaultLocation
public static void defaultLocation() -
getLocation
-
findClass
-
findClass
-
getClassLoader
-
arrayClass
-
createClass
-
proxy
-
proxy
-
getDiagnostics
-
unsupportedCase
public static void unsupportedCase()
-