Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.5, 2.0.6, 2.1.0-beta-1
-
None
-
None
-
Windows 7 Enterprise, SP1, 32 Bit, JDK 1.6.0_35
Description
@PackageScope is not working as documented in http://groovy.codehaus.org/gapi/groovy/transform/PackageScope.html
In the attached example, the only time package-private scope is enforced when annotated simply as @PackageScope on class or with CLASS enum value.