}
protected void generateGetter(InterfaceGenerationHelper writer, VariableElement getterField) {
// Check for embedded types.
UseProxy useProxyAnnotation = getterField.getAnnotation(UseProxy.class);
UseProxyName useProxyNameAnnotation = getterField.getAnnotation(UseProxyName.class);
if (useProxyAnnotation != null) {
writer.generateGetter(getterField.getSimpleName().toString(), getProxyTypeMirrorName(useProxyAnnotation,
getterField.asType()));
} else if (useProxyNameAnnotation != null) {
writer.generateGetter(getterField.getSimpleName().toString(), useProxyNameAnnotation.value());
} else {
writer.generateGetter(getterField);
}
}