RecordParameterPropertyDescriptor Class — spring-boot Architecture
Architecture documentation for the RecordParameterPropertyDescriptor class in RecordParameterPropertyDescriptor.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/RecordParameterPropertyDescriptor.java lines 34–59
class RecordParameterPropertyDescriptor extends ParameterPropertyDescriptor {
private final RecordComponentElement recordComponent;
RecordParameterPropertyDescriptor(String name, TypeMirror type, VariableElement parameter,
TypeElement declaringElement, ExecutableElement getter, RecordComponentElement recordComponent) {
super(name, type, parameter, declaringElement, getter);
this.recordComponent = recordComponent;
}
@Override
protected ItemDeprecation resolveItemDeprecation(MetadataGenerationEnvironment environment) {
return resolveItemDeprecation(environment, getGetter());
}
@Override
protected boolean isMarkedAsNested(MetadataGenerationEnvironment environment) {
return environment.getNestedConfigurationPropertyAnnotation(this.recordComponent) != null;
}
@Override
protected String resolveDescription(MetadataGenerationEnvironment environment) {
return environment.getTypeUtils().getJavaDoc(this.recordComponent);
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free