public class FastMethod extends Object
| Constructor and Description |
|---|
FastMethod(Object instance,
com.esotericsoftware.reflectasm.MethodAccess access,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
instance()
Gets the object instance used by this class
|
Object |
invoke(Object instance)
Invokes the method without parameters (no-arg)
|
Object |
invoke(Object instance,
Object... args)
Invokes the method with parameters
|
@InternalUseOnly public FastMethod(Object instance, com.esotericsoftware.reflectasm.MethodAccess access, String name)
public Object invoke(Object instance, Object... args)
instance - the instance of the class to use, to null for static methodsargs - the parameter values for the methodnull for void methodspublic Object invoke(Object instance)
instance - the instance of the class to use, to null for static methodsnull for void methodsCopyright © 2016. All rights reserved.