Package org.teavm.metaprogramming
Class Metaprogramming
java.lang.Object
org.teavm.metaprogramming.Metaprogramming
-
Method Summary
Modifier and TypeMethodDescriptionstatic FieldAccessoraccessor(org.teavm.extension.introspect.IntrospectField field) static <T> ReflectClass<T[]> arrayClass(ReflectClass<T> componentType) Deprecated.static MethodCallercaller(org.teavm.extension.introspect.IntrospectMethod method) static ReflectClass<?> createClass(byte[] bytecode) Deprecated.static org.teavm.extension.diagnostics.SourceLocationstatic voidstatic voidstatic <T> Value<T> emit(Computation<T> computation) static MetaprogrammingEnvironmentstatic voidexit()static voidexit(Computation<?> returnValue) static <T> ReflectClass<T> Deprecated.static ReflectClass<?> Deprecated.static ClassLoaderDeprecated.static DiagnosticsDeprecated.static SourceLocationDeprecated.getResources(String name) Deprecated.static <T> ClassHandle<T> handle(org.teavm.extension.introspect.IntrospectClass<T> cls) static <T> Value<T> lazy(Computation<T> computation) static <T> Value<T> lazyFragment(LazyComputation<T> computation) static voidstatic <T> Value<T> proxy(Class<T> type, InvocationHandler<T> handler) Deprecated.static <T> Value<T> proxy(org.teavm.extension.introspect.IntrospectClass<T> type, ProxyHandler<T> handler) static <T> Value<T> proxy(ReflectClass<T> type, InvocationHandler<T> handler) Deprecated.static void
-
Method Details
-
emit
-
emit
-
lazyFragment
-
lazy
-
exit
-
exit
public static void exit() -
location
-
defaultLocation
public static void defaultLocation() -
getLocation
Deprecated. -
currentLocation
public static org.teavm.extension.diagnostics.SourceLocation currentLocation() -
environment
-
findClass
Deprecated. -
findClass
Deprecated. -
getClassLoader
Deprecated. -
arrayClass
Deprecated. -
createClass
Deprecated. -
proxy
Deprecated. -
proxy
Deprecated. -
proxy
public static <T> Value<T> proxy(org.teavm.extension.introspect.IntrospectClass<T> type, ProxyHandler<T> handler) -
getDiagnostics
Deprecated. -
getResources
Deprecated. -
caller
-
accessor
-
handle
-
unsupportedCase
public static void unsupportedCase()
-