You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/changelog.markdown
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@ Lombok Changelog
2
2
----------------
3
3
4
4
### v1.18.41 "Edgy Guinea Pig"
5
+
* FEATURE: All the various `@Log` annotations now allow you to change their access level (they still default to `private`). [#2280](https://github.com/projectlombok/lombok/issues/2280). Thanks to new contributor Liam Pace!
5
6
* BUGFIX: Javadoc parsing was broken in Netbeans and ErrorProne for JDK25 [#3940](https://github.com/projectlombok/lombok/issues/3940).
Copy file name to clipboardExpand all lines: src/core/lombok/AccessLevel.java
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (C) 2009 The Project Lombok Authors.
2
+
* Copyright (C) 2009-2025 The Project Lombok Authors.
3
3
*
4
4
* Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
* of this software and associated documentation files (the "Software"), to deal
@@ -25,7 +25,24 @@
25
25
* Represents an AccessLevel. Used e.g. to specify the access level for generated methods and fields.
26
26
*/
27
27
publicenumAccessLevel {
28
-
PUBLIC, MODULE, PROTECTED, PACKAGE, PRIVATE,
28
+
/** Represents the {@code public} access level. */
29
+
PUBLIC,
30
+
31
+
/**
32
+
* Acts exactly like {@code PACKAGE} - the package private access level.
33
+
* @deprecated This value was created at a time when a module-level access keyword was planned as a way of being prepared for the future. But that's not the direction java went in; a 'module access level' is not likely to ever exist. This enum acts like {@code PACKAGE} in every way.
34
+
*/
35
+
@DeprecatedMODULE,
36
+
37
+
/** Represents the {@code protected} access level (any code in the same package as well as any subtype). */
38
+
PROTECTED,
39
+
40
+
/** Represents the default access level: package private. (any code in the same package). */
41
+
PACKAGE,
42
+
43
+
/** Represents the {@code private} access level. */
44
+
PRIVATE,
45
+
29
46
/** Represents not generating anything or the complete lack of a method. */
0 commit comments