mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-13 02:22:55 +00:00
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.
This commit is contained in:
@@ -838,7 +838,7 @@ public class EclipseHandlerUtil {
|
||||
return null;
|
||||
}
|
||||
|
||||
enum FieldAccess {
|
||||
public enum FieldAccess {
|
||||
GETTER, PREFER_FIELD, ALWAYS_FIELD;
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -566,7 +566,7 @@ public class JavacHandlerUtil {
|
||||
return null;
|
||||
}
|
||||
|
||||
enum FieldAccess {
|
||||
public enum FieldAccess {
|
||||
GETTER, PREFER_FIELD, ALWAYS_FIELD;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user