Lines Matching refs:as
6 * under the terms of the GNU General Public License version 2 only, as
52 Annotation[] as;
54 as = ts[0].getAnnotations();
55 check(as.length == 2);
56 check(((ParamAnno)as[0]).value().equals("t"));
57 check(((ParamAnno2)as[1]).value() == 1);
59 as = ts[1].getAnnotations();
60 check(as.length == 0);
62 as = ts[2].getAnnotations();
63 check(as.length == 2);
64 check(((ParamAnno)as[0]).value().equals("v"));
65 check(((ParamAnno2)as[1]).value() == 2);
71 Annotation[] as;
73 as = ts[0].getAnnotations();
74 check(as.length == 2);
75 check(((ParamAnno)as[0]).value().equals("x"));
76 check(((ParamAnno2)as[1]).value() == 3);
78 as = ts[1].getAnnotations();
79 check(as.length == 0);
81 as = ts[2].getAnnotations();
82 check(as.length == 2);
83 check(((ParamAnno)as[0]).value().equals("z"));
84 check(((ParamAnno2)as[1]).value() == 4);
95 ParamAnno2[] as;
96 as = ts[0].getAnnotationsByType(ParamAnno2.class);
97 check(as.length == 1);
98 check(as[0].value() == 3);