diff options
Diffstat (limited to 'src/core/lombok/javac/LombokOptions.java')
-rw-r--r-- | src/core/lombok/javac/LombokOptions.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/lombok/javac/LombokOptions.java b/src/core/lombok/javac/LombokOptions.java index c73edc0f..60d0ce5e 100644 --- a/src/core/lombok/javac/LombokOptions.java +++ b/src/core/lombok/javac/LombokOptions.java @@ -22,9 +22,10 @@ package lombok.javac; import java.util.HashSet; -import java.util.Map; import java.util.Set; +import lombok.delombok.FormatPreferences; + import com.sun.tools.javac.tree.JCTree.JCCompilationUnit; import com.sun.tools.javac.util.Context; import com.sun.tools.javac.util.Options; @@ -32,17 +33,17 @@ import com.sun.tools.javac.util.Options; public abstract class LombokOptions extends Options { private boolean deleteLombokAnnotations = true; private final Set<JCCompilationUnit> changed = new HashSet<JCCompilationUnit>(); - private Map<String, String> formatPreferences = null; + private FormatPreferences formatPreferences = new FormatPreferences(null); public boolean isChanged(JCCompilationUnit ast) { return changed.contains(ast); } - public void setFormatPreferences(Map<String, String> formatPreferences) { + public void setFormatPreferences(FormatPreferences formatPreferences) { this.formatPreferences = formatPreferences; } - public Map<String, String> getFormatPreferences() { + public FormatPreferences getFormatPreferences() { return this.formatPreferences; } |