public final class Accessors
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> Exceptional<Accessor<T>> |
ofClassConstant(java.lang.Class<?> implementation,
java.lang.Class<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofClassConstant(java.lang.Class<?> implementation,
com.google.common.reflect.TypeToken<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofClassConstructor(java.lang.Class<T> type,
java.lang.Object... arguments) |
static <T> Exceptional<Accessor<T>> |
ofClassConstructor(com.google.common.reflect.TypeToken<T> type,
java.lang.Object... arguments) |
static <T> Exceptional<Accessor<T>> |
ofClassField(java.lang.Class<?> implementation,
java.lang.Class<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofClassField(java.lang.Class<?> implementation,
com.google.common.reflect.TypeToken<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofClassMethod(java.lang.Class<?> implementation,
java.lang.Class<T> type,
java.lang.String name,
java.lang.Object... arguments) |
static <T> Exceptional<Accessor<T>> |
ofClassMethod(java.lang.Class<?> implementation,
com.google.common.reflect.TypeToken<T> type,
java.lang.String name,
java.lang.Object... arguments) |
static <T> Exceptional<Accessor<T>> |
ofEnumConstant(java.lang.Class<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofEnumConstant(com.google.common.reflect.TypeToken<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofInstanceConstant(java.lang.Object instance,
java.lang.Class<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofInstanceConstant(java.lang.Object instance,
com.google.common.reflect.TypeToken<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofInstanceField(java.lang.Object instance,
java.lang.Class<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofInstanceField(java.lang.Object instance,
com.google.common.reflect.TypeToken<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofInstanceMethod(java.lang.Object instance,
java.lang.Class<T> type,
java.lang.String name) |
static <T> Exceptional<Accessor<T>> |
ofInstanceMethod(java.lang.Object instance,
com.google.common.reflect.TypeToken<T> type,
java.lang.String name,
java.lang.Object... arguments) |
public static <T> Exceptional<Accessor<T>> ofClassConstant(java.lang.Class<?> implementation, java.lang.Class<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofClassConstant(java.lang.Class<?> implementation, com.google.common.reflect.TypeToken<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofClassField(java.lang.Class<?> implementation, java.lang.Class<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofClassField(java.lang.Class<?> implementation, com.google.common.reflect.TypeToken<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofClassConstructor(java.lang.Class<T> type, java.lang.Object... arguments)
public static <T> Exceptional<Accessor<T>> ofClassConstructor(com.google.common.reflect.TypeToken<T> type, java.lang.Object... arguments)
public static <T> Exceptional<Accessor<T>> ofClassMethod(java.lang.Class<?> implementation, java.lang.Class<T> type, java.lang.String name, java.lang.Object... arguments)
public static <T> Exceptional<Accessor<T>> ofClassMethod(java.lang.Class<?> implementation, com.google.common.reflect.TypeToken<T> type, java.lang.String name, java.lang.Object... arguments)
public static <T> Exceptional<Accessor<T>> ofEnumConstant(java.lang.Class<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofEnumConstant(com.google.common.reflect.TypeToken<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofInstanceConstant(java.lang.Object instance, java.lang.Class<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofInstanceConstant(java.lang.Object instance, com.google.common.reflect.TypeToken<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofInstanceField(java.lang.Object instance, java.lang.Class<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofInstanceField(java.lang.Object instance, com.google.common.reflect.TypeToken<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofInstanceMethod(java.lang.Object instance, java.lang.Class<T> type, java.lang.String name)
public static <T> Exceptional<Accessor<T>> ofInstanceMethod(java.lang.Object instance, com.google.common.reflect.TypeToken<T> type, java.lang.String name, java.lang.Object... arguments)