diff options
author | Shigeru Chiba <chibash@users.noreply.github.com> | 2017-11-15 00:06:52 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 00:06:52 +0900 |
commit | b7e59d4dc0222d34732c8efd87872b562501e14b (patch) | |
tree | f41f98b560cea64a496a3353fe4f369283c1a32a /src/test/scoped/UnscopedAnnotationUsage.java | |
parent | c4e194994f5d07cab64b54754fcee884d9287949 (diff) | |
parent | 53325f5637042322f1b810ad32c8ee3bad2915f4 (diff) | |
download | javassist-b7e59d4dc0222d34732c8efd87872b562501e14b.tar.gz javassist-b7e59d4dc0222d34732c8efd87872b562501e14b.zip |
Merge pull request #159 from nickl-/scoped-pool
Fixes to javassist.scopepool
Diffstat (limited to 'src/test/scoped/UnscopedAnnotationUsage.java')
-rw-r--r-- | src/test/scoped/UnscopedAnnotationUsage.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/test/scoped/UnscopedAnnotationUsage.java b/src/test/scoped/UnscopedAnnotationUsage.java new file mode 100644 index 00000000..e63db330 --- /dev/null +++ b/src/test/scoped/UnscopedAnnotationUsage.java @@ -0,0 +1,29 @@ +/* + * Javassist, a Java-bytecode translator toolkit. + * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. Alternatively, the contents of this file may be used under + * the terms of the GNU Lesser General Public License Version 2.1 or later, + * or the Apache License Version 2.0. + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + */ +package scoped; + +@TestAnnotation(something="notDefault") +public class UnscopedAnnotationUsage +{ + @TestAnnotation(something="notDefault") + public int aField; + + @TestAnnotation(something="notDefault") + public UnscopedAnnotationUsage(@TestAnnotation(something="notDefault") int param) {} + + @TestAnnotation(something="notDefault") + public void doSomething(@TestAnnotation(something="notDefault") int param) {} +} |