diff options
Diffstat (limited to 'test/064-field-access/src/other/ProtectedClass.java')
-rw-r--r-- | test/064-field-access/src/other/ProtectedClass.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/064-field-access/src/other/ProtectedClass.java b/test/064-field-access/src/other/ProtectedClass.java index 779aa1d..756c97f 100644 --- a/test/064-field-access/src/other/ProtectedClass.java +++ b/test/064-field-access/src/other/ProtectedClass.java @@ -97,4 +97,10 @@ class ProtectedClass { /* package */ static float otherProtectedClassPackageFloatStaticField = 63.0f; /* package */ static double otherProtectedClassPackageDoubleStaticField = 64.0; /* package */ static Object otherProtectedClassPackageObjectStaticField = "65"; + + public void otherPublicMethod() { } + protected void otherProtectedMethod() { } + private void otherPrivateMethod() { } + /* package */ void otherPackageMethod() { } + } |