public abstract class AbstractTypeDescriptors<F extends AbstractFieldDescriptor<F,T,Ts>,T extends AbstractTypeDescriptor<F,T,Ts>,Ts extends AbstractTypeDescriptors<F,T,Ts>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.base.Predicate<? super Field> |
fieldFilter |
com.google.common.base.Function<Class<?>,T> |
getTypeDescriptor |
static com.google.common.base.Predicate<Field> |
NON_STATIC_OR_SYNTETHIC_FIELD |
| Constructor and Description |
|---|
AbstractTypeDescriptors() |
AbstractTypeDescriptors(com.google.common.base.Predicate<? super Field> fieldFilter) |
| Modifier and Type | Method and Description |
|---|---|
T |
get(Class<?> clazz) |
T |
get(Type type) |
T |
get(com.google.common.reflect.TypeToken<?> typeToken) |
protected abstract F |
newFieldDescriptor(Field field) |
protected abstract T |
newTypeDescriptor(com.google.common.reflect.TypeToken<?> typeToken) |
public static final com.google.common.base.Predicate<Field> NON_STATIC_OR_SYNTETHIC_FIELD
public final com.google.common.base.Function<Class<?>,T extends AbstractTypeDescriptor<F,T,Ts>> getTypeDescriptor
protected final com.google.common.base.Predicate<? super Field> fieldFilter
public AbstractTypeDescriptors()
public AbstractTypeDescriptors(com.google.common.base.Predicate<? super Field> fieldFilter)
Copyright © 2015. All rights reserved.