Home / Function/ getValue() — spring-boot Function Reference

getValue() — spring-boot Function Reference

Architecture documentation for the getValue() function in JavaCompilerFieldValuesParser.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f["getValue()"]
  047903fc_500a_0180_13c5_6d98f3df6387["getAnnotationElementStringValue()"]
  047903fc_500a_0180_13c5_6d98f3df6387 -->|calls| b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f
  46888de3_e4cd_49f3_c5e9_23302dde6199["getAnnotationValue()"]
  46888de3_e4cd_49f3_c5e9_23302dde6199 -->|calls| b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f
  9fac171b_5444_5cfd_a61c_634325e99455["visitVariable()"]
  9fac171b_5444_5cfd_a61c_634325e99455 -->|calls| b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f
  b1a6dff6_8fcd_5fef_0a2e_ee4cb71bbe83["getFactoryValue()"]
  b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f -->|calls| b1a6dff6_8fcd_5fef_0a2e_ee4cb71bbe83
  3ed4d996_8b28_bc25_338f_de92815454ed["toDashedCase()"]
  b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f -->|calls| 3ed4d996_8b28_bc25_338f_de92815454ed
  style b58c4ce9_c02d_4bb7_9e22_7ddcf436f67f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/JavaCompilerFieldValuesParser.java lines 166–174

		private Object getValue(VariableTree variable) throws Exception {
			ExpressionTree initializer = variable.getInitializer();
			Class<?> wrapperType = WRAPPER_TYPES.get(variable.getType());
			Object defaultValue = DEFAULT_TYPE_VALUES.get(wrapperType);
			if (initializer != null) {
				return getValue(variable.getType(), initializer, defaultValue);
			}
			return defaultValue;
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getValue() do?
getValue() is a function in the spring-boot codebase.
What does getValue() call?
getValue() calls 2 function(s): getFactoryValue, toDashedCase.
What calls getValue()?
getValue() is called by 3 function(s): getAnnotationElementStringValue, getAnnotationValue, visitVariable.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free