Lines Matching refs:getAnnotationsByType
85 nr = e.getAnnotationsByType(NonRepeated.class)[0];
96 c = e.getAnnotationsByType(Containee.class)[0];
98 c = e.getAnnotationsByType(Containee.class)[1];
107 check(1 == containsAnnotationOfType(e.getAnnotationsByType(Container.class), Container.class));
132 check(e.getAnnotationsByType(Containee.class)[2].value() == 300);
133 check(e.getAnnotationsByType(InheritedContainee.class)[2].value() == 300);
134 check(e.getAnnotationsByType(InheritedNonRepeated.class)[0].value() == 200);
135 check(e.getAnnotationsByType(NonRepeated.class)[0].value() == 100);
147 check(e.getAnnotationsByType(InheritedContainee.class)[2].value() == 350);
148 check(e.getAnnotationsByType(InheritedNonRepeated.class)[0].value() == 15);
162 check(e.getAnnotationsByType(Containee.class)[2].value() == 3000);
163 check(e.getAnnotationsByType(InheritedContainee.class)[2].value() == 3000);
164 check(e.getAnnotationsByType(InheritedNonRepeated.class)[0].value() == 2000);
165 check(e.getAnnotationsByType(NonRepeated.class)[0].value() == 1000);
196 // Check count of annotations returned from getAnnotationsByType(Class)
201 // Check contents of array returned from getAnnotationsByType(Class)
202 check(e.getAnnotationsByType(Containee.class)[2].value() == 3 * m);
203 check(e.getAnnotationsByType(NonRepeated.class)[0].value() == 5 * m);
220 return containsAnnotationOfType(e.getAnnotationsByType(c), c);