From d2d9687a5c195ee2bf3a2f340ec89c626fe951fa Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 11 Jul 2012 00:59:36 +0200 Subject: 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. --- src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java | 2 +- src/core/lombok/javac/handlers/HandleToString.java | 2 +- src/core/lombok/javac/handlers/JavacHandlerUtil.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/lombok/javac') 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 excludes, List includes, + public void generateMethods(JavacNode typeNode, JavacNode source, List excludes, List 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 { generateToString(typeNode, errorNode, null, null, includeFieldNames, null, false, FieldAccess.GETTER); } - private void generateToString(JavacNode typeNode, JavacNode source, List excludes, List includes, + public void generateToString(JavacNode typeNode, JavacNode source, List excludes, List 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; } -- cgit