getArg() — spring-boot Function Reference
Architecture documentation for the getArg() function in Instantiator.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 2ce8a20d_c7bf_561c_f732_0378aaffe395["getArg()"] c1e9e2fb_4beb_bf49_35a7_fe0da8c9ed86["createEcsFormatter()"] c1e9e2fb_4beb_bf49_35a7_fe0da8c9ed86 -->|calls| 2ce8a20d_c7bf_561c_f732_0378aaffe395 39aeddba_3db3_794f_ec53_33c8c02ca3ca["createGraylogFormatter()"] 39aeddba_3db3_794f_ec53_33c8c02ca3ca -->|calls| 2ce8a20d_c7bf_561c_f732_0378aaffe395 ed90c25c_0fbc_f8e4_19b1_c1a0a6f576fa["createLogstashFormatter()"] ed90c25c_0fbc_f8e4_19b1_c1a0a6f576fa -->|calls| 2ce8a20d_c7bf_561c_f732_0378aaffe395 fd09855a_6150_49c0_828c_113b493d59bc["createEcsFormatter()"] fd09855a_6150_49c0_828c_113b493d59bc -->|calls| 2ce8a20d_c7bf_561c_f732_0378aaffe395 1c160d3c_0764_ff5b_327b_3bb2c2bd9eac["createGraylogFormatter()"] 1c160d3c_0764_ff5b_327b_3bb2c2bd9eac -->|calls| 2ce8a20d_c7bf_561c_f732_0378aaffe395 cd104f6a_2902_b71d_08d9_06ba152cfe2c["createLogstashFormatter()"] cd104f6a_2902_b71d_08d9_06ba152cfe2c -->|calls| 2ce8a20d_c7bf_561c_f732_0378aaffe395 23e031c7_0b13_98bb_14e0_c7898c6d18fe["getAvailableParameter()"] 2ce8a20d_c7bf_561c_f732_0378aaffe395 -->|calls| 23e031c7_0b13_98bb_14e0_c7898c6d18fe style 2ce8a20d_c7bf_561c_f732_0378aaffe395 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/util/Instantiator.java lines 183–189
@SuppressWarnings("unchecked")
public <A> @Nullable A getArg(Class<A> type) {
Assert.notNull(type, "'type' must not be null");
Function<Class<?>, Object> parameter = getAvailableParameter(type);
Assert.state(parameter != null, "Unknown argument type " + type.getName());
return (A) parameter.apply(this.type);
}
Domain
Subdomains
Calls
- getAvailableParameter()
Called By
- createEcsFormatter()
- createEcsFormatter()
- createGraylogFormatter()
- createGraylogFormatter()
- createLogstashFormatter()
- createLogstashFormatter()
Source
Frequently Asked Questions
What does getArg() do?
getArg() is a function in the spring-boot codebase.
What does getArg() call?
getArg() calls 1 function(s): getAvailableParameter.
What calls getArg()?
getArg() is called by 6 function(s): createEcsFormatter, createEcsFormatter, createGraylogFormatter, createGraylogFormatter, createLogstashFormatter, createLogstashFormatter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free