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