// Path: processor/src/main/java/net/yslibrary/simplepreferences/processor/exception/ProcessingException.java
// public class ProcessingException extends Exception {
// 
//   public final Element element;
// 
//   public ProcessingException(Element element, String message, Object... args) {
//     super(String.format(message, args));
// 
//     this.element = element;
//   }
// }


import com.google.common.base.Strings;
import com.squareup.javapoet.TypeName;
import net.yslibrary.simplepreferences.annotation.Key;
import net.yslibrary.simplepreferences.processor.exception.ProcessingException;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.VariableElement;
package net.yslibrary.simplepreferences.processor;




/**
 * Created by yshrsmz on 2016/02/21.
 */
public class KeyAnnotatedField {

  public final VariableElement annotatedElement;
  public final TypeName type;
  public final String name;
  public final String preferenceKey;
  public final boolean omitGetterPrefix;
  public final boolean needCommitMethod;

// Path: processor/src/main/java/net/yslibrary/simplepreferences/processor/exception/ProcessingException.java
// public class ProcessingException extends Exception {
// 
//   public final Element element;
// 
//   public ProcessingException(Element element, String message, Object... args) {
//     super(String.format(message, args));
// 
//     this.element = element;
//   }
// }


// Path: processor/src/main/java/net/yslibrary/simplepreferences/processor/KeyAnnotatedField.java
import com.google.common.base.Strings;
import com.squareup.javapoet.TypeName;
import net.yslibrary.simplepreferences.annotation.Key;
import net.yslibrary.simplepreferences.processor.exception.ProcessingException;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.VariableElement;

package net.yslibrary.simplepreferences.processor;




/**
 * Created by yshrsmz on 2016/02/21.
 */
public class KeyAnnotatedField {

  public final VariableElement annotatedElement;
  public final TypeName type;
  public final String name;
  public final String preferenceKey;
  public final boolean omitGetterPrefix;
  public final boolean needCommitMethod;

  public KeyAnnotatedField(VariableElement element) throws ProcessingException {