Lines Matching refs:annotationType
205 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
206 if (annotationType == null) {
207 throw new NullPointerException("annotationType == null");
209 return getAnnotation(declaringClass, slot, annotationType);
212 Class<?> declaringClass, int slot, Class<A> annotationType);
214 @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
215 if (annotationType == null) {
216 throw new NullPointerException("annotationType == null");
218 return isAnnotationPresent(declaringClass, slot, annotationType);
221 Class<?> declaringClass, int slot, Class<? extends Annotation> annotationType);