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