@Test(expected = IllegalArgumentException.class) public void testHandlingOfNullElementArgumentForLookup() { this.testee.get(null); }
@SuppressWarnings("unchecked") public <T extends Annotation> T get(Class<T> type) { if (type == null) { throw new IllegalArgumentException("Method argument type must not be null."); } return (T) getAnnotationMap().get(type); }
Annotations { @SuppressWarnings("unchecked") public <T extends Annotation> T get(Class<T> type) { if (type == null) { throw new IllegalArgumentException("Method argument type must not be null."); } return (T) getAnnotationMap().get(type); } }
Annotations { @SuppressWarnings("unchecked") public <T extends Annotation> T get(Class<T> type) { if (type == null) { throw new IllegalArgumentException("Method argument type must not be null."); } return (T) getAnnotationMap().get(type); } private  Annotations(AnnotatedElement annotatedElement); }
Annotations { @SuppressWarnings("unchecked") public <T extends Annotation> T get(Class<T> type) { if (type == null) { throw new IllegalArgumentException("Method argument type must not be null."); } return (T) getAnnotationMap().get(type); } private  Annotations(AnnotatedElement annotatedElement); @SuppressWarnings("unchecked") T get(Class<T> type); }
Annotations { @SuppressWarnings("unchecked") public <T extends Annotation> T get(Class<T> type) { if (type == null) { throw new IllegalArgumentException("Method argument type must not be null."); } return (T) getAnnotationMap().get(type); } private  Annotations(AnnotatedElement annotatedElement); @SuppressWarnings("unchecked") T get(Class<T> type);  }