diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-07-11 00:59:36 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-07-11 00:59:36 +0200 |
commit | d2d9687a5c195ee2bf3a2f340ec89c626fe951fa (patch) | |
tree | 55bbcee31ed0e10253dc34b9453b228719ad691b /src | |
parent | 71e0d53bc3365f8db79097f3c6741acf58788532 (diff) | |
download | lombok-d2d9687a5c195ee2bf3a2f340ec89c626fe951fa.tar.gz lombok-d2d9687a5c195ee2bf3a2f340ec89c626fe951fa.tar.bz2 lombok-d2d9687a5c195ee2bf3a2f340ec89c626fe951fa.zip |
Fielding a request to make some stuff public. The things made public are already part of things we'll change even if public (because, not part of lombok.X or lombok.experimental.X or lombok.experimental.**), nor is it particularly volatile.
See issue #389.
Diffstat (limited to 'src')
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java index 74512cc8..7120a602 100644 --- a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java +++ b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java @@ -838,7 +838,7 @@ public class EclipseHandlerUtil { return null; } - enum FieldAccess { + public enum FieldAccess { GETTER, PREFER_FIELD, ALWAYS_FIELD; } diff --git a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java index 1017609b..3b8c7af3 100644 --- a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java +++ b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java @@ -119,7 +119,7 @@ public class HandleEqualsAndHashCode extends JavacAnnotationHandler<EqualsAndHas generateMethods(typeNode, source, null, null, null, false, FieldAccess.GETTER); } - private void generateMethods(JavacNode typeNode, JavacNode source, List<String> excludes, List<String> includes, + public void generateMethods(JavacNode typeNode, JavacNode source, List<String> excludes, List<String> includes, Boolean callSuper, boolean whineIfExists, FieldAccess fieldAccess) { boolean notAClass = true; if (typeNode.get() instanceof JCClassDecl) { diff --git a/src/core/lombok/javac/handlers/HandleToString.java b/src/core/lombok/javac/handlers/HandleToString.java index 016a7972..27641cf2 100644 --- a/src/core/lombok/javac/handlers/HandleToString.java +++ b/src/core/lombok/javac/handlers/HandleToString.java @@ -111,7 +111,7 @@ public class HandleToString extends JavacAnnotationHandler<ToString> { generateToString(typeNode, errorNode, null, null, includeFieldNames, null, false, FieldAccess.GETTER); } - private void generateToString(JavacNode typeNode, JavacNode source, List<String> excludes, List<String> includes, + public void generateToString(JavacNode typeNode, JavacNode source, List<String> excludes, List<String> includes, boolean includeFieldNames, Boolean callSuper, boolean whineIfExists, FieldAccess fieldAccess) { boolean notAClass = true; if (typeNode.get() instanceof JCClassDecl) { diff --git a/src/core/lombok/javac/handlers/JavacHandlerUtil.java b/src/core/lombok/javac/handlers/JavacHandlerUtil.java index 308e0325..437ba6cb 100644 --- a/src/core/lombok/javac/handlers/JavacHandlerUtil.java +++ b/src/core/lombok/javac/handlers/JavacHandlerUtil.java @@ -566,7 +566,7 @@ public class JavacHandlerUtil { return null; } - enum FieldAccess { + public enum FieldAccess { GETTER, PREFER_FIELD, ALWAYS_FIELD; } |