Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.openyelp.server;
 
 
 public class NoGsonExclusionStrategy implements ExclusionStrategy {
 
	public boolean shouldSkipField(FieldAttributes f) {
		NoGson gson=	f.getAnnotation(NoGson.class);
		if(gson!=null){
			return true;
		}else{
			return false;
		}
	}
	public boolean shouldSkipClass(Class<?> clazz) {
		// TODO Auto-generated method stub
		return false;
	}
New to GrepCode? Check out our FAQ X