@Test(expected = IllegalArgumentException.class) public void testAdditionOfNullMapper() { bind(null); }
@Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbind") protected synchronized void bind(AnnotatedFieldMapper<?, ?> mapper) { if (mapper == null) { throw new IllegalArgumentException("Method argument mapper must not be null."); } this.fieldMappers.put(mapper.getAnnotationType(), mapper); this.cache.clear(); }
AnnotatedFieldMappers { @Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbind") protected synchronized void bind(AnnotatedFieldMapper<?, ?> mapper) { if (mapper == null) { throw new IllegalArgumentException("Method argument mapper must not be null."); } this.fieldMappers.put(mapper.getAnnotationType(), mapper); this.cache.clear(); } }
AnnotatedFieldMappers { @Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbind") protected synchronized void bind(AnnotatedFieldMapper<?, ?> mapper) { if (mapper == null) { throw new IllegalArgumentException("Method argument mapper must not be null."); } this.fieldMappers.put(mapper.getAnnotationType(), mapper); this.cache.clear(); }  }
AnnotatedFieldMappers { @Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbind") protected synchronized void bind(AnnotatedFieldMapper<?, ?> mapper) { if (mapper == null) { throw new IllegalArgumentException("Method argument mapper must not be null."); } this.fieldMappers.put(mapper.getAnnotationType(), mapper); this.cache.clear(); }  Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData); }
AnnotatedFieldMappers { @Reference(cardinality = MULTIPLE, policy = DYNAMIC, unbind = "unbind") protected synchronized void bind(AnnotatedFieldMapper<?, ?> mapper) { if (mapper == null) { throw new IllegalArgumentException("Method argument mapper must not be null."); } this.fieldMappers.put(mapper.getAnnotationType(), mapper); this.cache.clear(); }  Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData);  }