| Package | Description |
|---|---|
| com.comphenix.protocol.reflect.accessors |
| Modifier and Type | Method and Description |
|---|---|
static MethodAccessor |
Accessors.getConstantAccessor(Object returnValue,
Method method)
Retrieve a method accessor that always return a constant value, regardless if input.
|
static MethodAccessor |
Accessors.getMethodAcccessorOrNull(Class<?> clazz,
String methodName)
Retrieve a method accessor for a field with the given name and equivalent type, or NULL.
|
static MethodAccessor |
Accessors.getMethodAccessor(Class<?> instanceClass,
String methodName,
Class<?>... parameters)
Retrieve a method accessor for a method with the given name and signature.
|
static MethodAccessor |
Accessors.getMethodAccessor(Method method)
Retrieve a method accessor for a particular method, avoding checked exceptions.
|
static MethodAccessor |
Accessors.getMethodAccessor(Method method,
boolean forceAccess)
Retrieve a method accessor for a particular method, avoding checked exceptions.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.