groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Harvey <nathanwhar...@gmail.com>
Subject Re: [VOTE]Support package scope via `package` keyword
Date Sun, 31 Dec 2017 04:50:02 GMT
Perhaps another alternative could be introducing a @Scope annotation to apply
the scoping behavior used by @PackageScope. Eg @Scope(Modifier.PRIVATE) or
@Scope(value=PRIVATE, target=[CLASSES]).

I suppose the "package" keyword doesn't indicate the full "package private"
but I don't think that's necessary. My original point remains that using an
annotation to declare scope is awkward and cumbersome. 



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message