xref: /aosp_15_r20/external/javassist/src/test/scoped/UnscopedAnnotationDefaultUsage.java (revision f1fbf3c2ab775ce834e0af96b7a85bdc7a0eac65)
1*f1fbf3c2SXin Li /*
2*f1fbf3c2SXin Li  * Javassist, a Java-bytecode translator toolkit.
3*f1fbf3c2SXin Li  * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.
4*f1fbf3c2SXin Li  *
5*f1fbf3c2SXin Li  * The contents of this file are subject to the Mozilla Public License Version
6*f1fbf3c2SXin Li  * 1.1 (the "License"); you may not use this file except in compliance with
7*f1fbf3c2SXin Li  * the License.  Alternatively, the contents of this file may be used under
8*f1fbf3c2SXin Li  * the terms of the GNU Lesser General Public License Version 2.1 or later,
9*f1fbf3c2SXin Li  * or the Apache License Version 2.0.
10*f1fbf3c2SXin Li  *
11*f1fbf3c2SXin Li  * Software distributed under the License is distributed on an "AS IS" basis,
12*f1fbf3c2SXin Li  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13*f1fbf3c2SXin Li  * for the specific language governing rights and limitations under the
14*f1fbf3c2SXin Li  * License.
15*f1fbf3c2SXin Li  */
16*f1fbf3c2SXin Li package scoped;
17*f1fbf3c2SXin Li 
18*f1fbf3c2SXin Li @TestAnnotation
19*f1fbf3c2SXin Li public class UnscopedAnnotationDefaultUsage
20*f1fbf3c2SXin Li {
21*f1fbf3c2SXin Li    @TestAnnotation
22*f1fbf3c2SXin Li    public int aField;
23*f1fbf3c2SXin Li 
24*f1fbf3c2SXin Li    @TestAnnotation
UnscopedAnnotationDefaultUsage(@estAnnotation int param)25*f1fbf3c2SXin Li    public UnscopedAnnotationDefaultUsage(@TestAnnotation int param) {}
26*f1fbf3c2SXin Li 
27*f1fbf3c2SXin Li    @TestAnnotation
doSomething(@estAnnotation int param)28*f1fbf3c2SXin Li    public void doSomething(@TestAnnotation int param) {}
29*f1fbf3c2SXin Li }
30