LastMapping Class — spring-boot Architecture
Architecture documentation for the LastMapping class in DefaultPropertyMapper.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/DefaultPropertyMapper.java lines 85–104
private static class LastMapping<T, M> {
private final T from;
private final M mapping;
LastMapping(T from, M mapping) {
this.from = from;
this.mapping = mapping;
}
boolean isFrom(T from) {
return ObjectUtils.nullSafeEquals(from, this.from);
}
M getMapping() {
return this.mapping;
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free