Created
November 6, 2017 19:58
-
-
Save jeffscottbrown/47233402cf23fef67c259f139fbb0a13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| privateaccess $ cat Widget.java | |
| public class Widget { | |
| private int size = 42; | |
| } | |
| privateaccess $ | |
| privateaccess $ cat Demo.groovy | |
| class Demo { | |
| static void main(args) { | |
| def w = new Widget() | |
| println w.size | |
| } | |
| } | |
| privateaccess $ groovyc *.* | |
| privateaccess $ | |
| privateaccess $ groovy Demo | |
| 42 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment