Registry / utility / reflectasm

reflectasm

JSON →
library1.11.9javamavenunverified

High-performance Java reflection using code generation for method and field access.

<dependency> <groupId>com.esotericsoftware</groupId> <artifactId>reflectasm</artifactId> <version>1.11.9</version> </dependency>
INSTALL
IMPORT
SIG · REFLECTASM
R
reflectasm
utilityjavav1.11.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MethodAccess
com.esotericsoftware.reflectasm.MethodAccess

Uses ReflectASM to invoke a method by name with high performance.

import com.esotericsoftware.reflectasm.MethodAccess; public class Example { public void foo(String arg) { System.out.println(arg); } public static void main(String[] args) { MethodAccess access = MethodAccess.get(Example.class); Example obj = new Example(); access.invoke(obj, "foo", "Hello"); } }
Debug
Known issues
gotchaReflectASM generates bytecode at runtime; may conflict with security managers or GraalVM.
fix
Use standard Java reflection if compatibility issues arise.
affects: *
Upgrade
Version history
1.11.9latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
reflectasm — mvn dependency:get reflectasm · libregistry