Code example for FieldAttributes

Methods: getName

	Gson gson = new GsonBuilder().setPrettyPrinting().addSerializationExclusionStrategy(new ExclusionStrategy() 
	{//these add a exclusion Strategy to the Gson to ignore some fields when serialize. 
		public boolean shouldSkipField(FieldAttributes f) { 
			 return f.getName().toLowerCase().contains("texture");  
		public boolean shouldSkipClass(Class<?> clazz) { 
			return false; 
	 * Method that save the in a Json archive. 
	public void saveOptions(Options options){
		JsonWriter writer;
Connect your IDE to all the code out there  Get Codota for Java