public abstract static class NamingStrategies.NameExtractor<A extends Annotation> extends Object implements com.google.common.base.Function<Annotation,String>, com.google.common.base.Supplier<com.google.common.base.Predicate<Annotation>>
SerializedName
,
NamingStrategies.ExtractSerializedName
Modifier and Type | Field and Description |
---|---|
protected Class<A> |
annotationType |
protected com.google.common.base.Predicate<Annotation> |
predicate |
Modifier | Constructor and Description |
---|---|
protected |
NamingStrategies.NameExtractor(Class<A> annotationType) |
Modifier and Type | Method and Description |
---|---|
Class<Annotation> |
annotationType() |
String |
apply(Annotation in) |
boolean |
equals(Object obj) |
protected abstract String |
extractName(A cast) |
com.google.common.base.Predicate<Annotation> |
get() |
int |
hashCode() |
String |
toString() |
protected final Class<A extends Annotation> annotationType
protected final com.google.common.base.Predicate<Annotation> predicate
public Class<Annotation> annotationType()
public String apply(Annotation in)
apply
in interface com.google.common.base.Function<Annotation,String>
public com.google.common.base.Predicate<Annotation> get()
get
in interface com.google.common.base.Supplier<com.google.common.base.Predicate<Annotation>>
public boolean equals(Object obj)
equals
in interface com.google.common.base.Function<Annotation,String>
equals
in class Object
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.