aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2017-06-01 22:46:39 +0900
committerchibash <chiba@javassist.org>2017-06-01 22:46:39 +0900
commitdfd0733e1f73853453ff76086481ebec2e88a624 (patch)
tree267e33ac3f8c053f5a83d9fb934ca75c938c8a8a /src/test/test5
parentab117a9fe31902167b9a74fee1982068e4c4d095 (diff)
downloadjavassist-dfd0733e1f73853453ff76086481ebec2e88a624.tar.gz
javassist-dfd0733e1f73853453ff76086481ebec2e88a624.zip
modifies CtClass#setModifiers() to correctly support inner classes.
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/InnerModifier.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test5/InnerModifier.java b/src/test/test5/InnerModifier.java
new file mode 100644
index 00000000..5093e1fd
--- /dev/null
+++ b/src/test/test5/InnerModifier.java
@@ -0,0 +1,6 @@
+package test5;
+
+public class InnerModifier {
+ protected class NonStatic {}
+ static class Static {}
+}