aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authornickl- <github@jigsoft.co.za>2017-11-11 22:34:34 +0200
committernickl- <github@jigsoft.co.za>2017-11-12 23:55:35 +0200
commitd7e4f9937234239c43a4a01e3e3c06c063186bd7 (patch)
tree0e488ebeb2836739c70937d273c9605e4fb0bc67 /src/test/test5
parente1f0bba5de4dc03a9debfab333683f07cfbcb594 (diff)
downloadjavassist-d7e4f9937234239c43a4a01e3e3c06c063186bd7.tar.gz
javassist-d7e4f9937234239c43a4a01e3e3c06c063186bd7.zip
Fix #152 inner class modifiers.
Applied fix for #152 "Wrong modifiers returned for nested classes" as suggested by @pietrobraione. Includes unit tests for all access modifiers and static.
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/InnerModifier2.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/test5/InnerModifier2.java b/src/test/test5/InnerModifier2.java
new file mode 100644
index 00000000..009a0321
--- /dev/null
+++ b/src/test/test5/InnerModifier2.java
@@ -0,0 +1,13 @@
+package test5;
+
+@SuppressWarnings("unused")
+public class InnerModifier2 {
+ public class Public {}
+ protected class Protected {}
+ private class Private {}
+ class Package {}
+ public static class PublicStatic {}
+ protected static class ProtectedStatic {}
+ private static class PrivateStatic {}
+ static class PackageStatic {}
+}