LSPlant

public final class LSPlant

Java interface for LSPlant

Types

Link copied to clipboard
public class Hooker
Hooker class of LSPlant.

Functions

Link copied to clipboard
static boolean deoptimize(Member target)
Deoptimize a method to avoid hooked callee not being called because of inline.
Link copied to clipboard
static boolean hookMethod(Member target, Method replacement)
Hook a Java method by providing the target method together with its callback replacement.
static boolean hookMethod(Object owner, Member target, Method replacement)
Hook a Java method by providing the target method together with the context object owner and its callback replacement.
Link copied to clipboard
static Method hookMethodAdvanced(Object owner, Member target, Method replacement)
Hook a Java method by providing the target method together with the context object owner and its callback replacement.
Link copied to clipboard
static boolean isHooked(Member target)
Check if a Java function is hooked by LSPlant or not.
Link copied to clipboard
static boolean isInitialized()
Checks the current LSPlant initialization status.
Link copied to clipboard
static boolean makeClassInheritable(Class<? extends Object> target)
Make a class inheritable.
Link copied to clipboard
static boolean unhookMethod(Member target)
Unhook a Java function that is previously hooked.

Sources

Link copied to clipboard