@Test(expected = IllegalArgumentException.class) public void testQueryingWithNullMetaData() { this.testee.get(null); }
public Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData) { if (metaData == null) { throw new IllegalArgumentException("Method argument metaData must not be null."); } Collection<AnnotationMapping<?, ?>> mappers = this.cache.get(metaData.getField()); if (mappers != null) { return mappers; } return this.cache.computeIfAbsent(metaData.getField(), key -> resolveCompatibleMappers(metaData)); }
AnnotatedFieldMappers { public Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData) { if (metaData == null) { throw new IllegalArgumentException("Method argument metaData must not be null."); } Collection<AnnotationMapping<?, ?>> mappers = this.cache.get(metaData.getField()); if (mappers != null) { return mappers; } return this.cache.computeIfAbsent(metaData.getField(), key -> resolveCompatibleMappers(metaData)); } }
AnnotatedFieldMappers { public Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData) { if (metaData == null) { throw new IllegalArgumentException("Method argument metaData must not be null."); } Collection<AnnotationMapping<?, ?>> mappers = this.cache.get(metaData.getField()); if (mappers != null) { return mappers; } return this.cache.computeIfAbsent(metaData.getField(), key -> resolveCompatibleMappers(metaData)); }  }
AnnotatedFieldMappers { public Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData) { if (metaData == null) { throw new IllegalArgumentException("Method argument metaData must not be null."); } Collection<AnnotationMapping<?, ?>> mappers = this.cache.get(metaData.getField()); if (mappers != null) { return mappers; } return this.cache.computeIfAbsent(metaData.getField(), key -> resolveCompatibleMappers(metaData)); }  Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData); }
AnnotatedFieldMappers { public Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData) { if (metaData == null) { throw new IllegalArgumentException("Method argument metaData must not be null."); } Collection<AnnotationMapping<?, ?>> mappers = this.cache.get(metaData.getField()); if (mappers != null) { return mappers; } return this.cache.computeIfAbsent(metaData.getField(), key -> resolveCompatibleMappers(metaData)); }  Collection<AnnotationMapping<?, ?>> get(MappedFieldMetaData metaData);  }