public static class NamingStrategies.AnnotationOrNameFieldNamingStrategy extends NamingStrategies.AnnotationFieldNamingStrategy implements com.google.gson.FieldNamingStrategy
annotationToNameExtractor, forToString
Constructor and Description |
---|
NamingStrategies.AnnotationOrNameFieldNamingStrategy(Iterable<? extends NamingStrategies.NameExtractor<?>> extractors) |
Modifier and Type | Method and Description |
---|---|
String |
translateName(Field f) |
toString
public NamingStrategies.AnnotationOrNameFieldNamingStrategy(Iterable<? extends NamingStrategies.NameExtractor<?>> extractors)
public String translateName(Field f)
translateName
in interface com.google.gson.FieldNamingStrategy
translateName
in class NamingStrategies.AnnotationFieldNamingStrategy
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.