/* (non-Javadoc) * @see com.google.gson.ExclusionStrategy#shouldSkipField(com.google.gson.FieldAttributes) */ public boolean shouldSkipField(FieldAttributes f) { return f.getAnnotation(NoRender.class) != null; }
@Override public boolean shouldSkipField(FieldAttributes arg0) { Annotation oneToMany = arg0.getAnnotation(OneToMany.class); return oneToMany != null; }