Lines Matching refs:annotationType
262 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
263 if (annotationType == null) {
264 throw new NullPointerException("annotationType == null");
266 return getAnnotation(declaringClass, slot, annotationType);
269 Class<?> declaringClass, int slot, Class<A> annotationType);
271 @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
272 if (annotationType == null) {
273 throw new NullPointerException("annotationType == null");
275 return isAnnotationPresent(declaringClass, slot, annotationType);
278 Class<?> declaringClass, int slot, Class<? extends Annotation> annotationType);