ImmutablePrimitiveWithDefaultsProperties Class — spring-boot Architecture
Architecture documentation for the ImmutablePrimitiveWithDefaultsProperties class in ImmutablePrimitiveWithDefaultsProperties.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/immutable/ImmutablePrimitiveWithDefaultsProperties.java lines 26–60
@SuppressWarnings("unused")
public class ImmutablePrimitiveWithDefaultsProperties {
private final boolean flag;
private final byte octet;
private final char letter;
private final short number;
private final int counter;
private final long value;
private final float percentage;
private final double ratio;
public ImmutablePrimitiveWithDefaultsProperties(@TestDefaultValue("true") boolean flag,
@TestDefaultValue("120") byte octet, @TestDefaultValue("a") char letter,
@TestDefaultValue("1000") short number, @TestDefaultValue("42") int counter,
@TestDefaultValue("2000") long value, @TestDefaultValue("0.5") float percentage,
@TestDefaultValue("42.42") double ratio) {
this.flag = flag;
this.octet = octet;
this.letter = letter;
this.number = number;
this.counter = counter;
this.value = value;
this.percentage = percentage;
this.ratio = ratio;
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free