Yuki Reflection
An efficient Reflection API for Java and Android built in Kotlin
Light and Elegant
A powerful, elegant, beautiful API built with Kotlin lambda can help you quickly implement bytecode finding and reflection functions.
Cross-Platform Available
Not only the Android platform, it is highly compatible with the Java API and can be used on any Kotlin on JVM project, wherever Java is available.
Quickly Started
Simple and easy to use it now! Do not need complex configuration and full development experience, Integrate dependencies and enjoy yourself.
Bring it on! Let reflection become poetic and picturesque
public class World {
private void sayHello(String content) {
System.out.println("Hello " + content + "!");
}
}
val newWorld = World()
classOf<World>().method {
name = "sayHello"
param(StringClass)
type = UnitType
}.get(newWorld).call("YukiReflection")