isNewDocument() — spring-boot Function Reference
Architecture documentation for the isNewDocument() function in OriginTrackedPropertiesLoader.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c3f83180_0fd5_1b38_b1ca_f12732f10df1["isNewDocument()"] 00461c89_e8df_a118_712f_7d456733054e["load()"] 00461c89_e8df_a118_712f_7d456733054e -->|calls| c3f83180_0fd5_1b38_b1ca_f12732f10df1 1bdd570c_1662_01db_a59d_64002fffe3a4["isSameLastLineCommentPrefix()"] c3f83180_0fd5_1b38_b1ca_f12732f10df1 -->|calls| 1bdd570c_1662_01db_a59d_64002fffe3a4 3bc12a16_8d08_2829_ce40_6414d65a31a9["getLocation()"] c3f83180_0fd5_1b38_b1ca_f12732f10df1 -->|calls| 3bc12a16_8d08_2829_ce40_6414d65a31a9 2930aecb_b160_f8df_0ea1_d6b3c58c4e62["getColumn()"] c3f83180_0fd5_1b38_b1ca_f12732f10df1 -->|calls| 2930aecb_b160_f8df_0ea1_d6b3c58c4e62 6a93d572_9115_1a72_4c86_b4b7f7857bb1["readAndExpect()"] c3f83180_0fd5_1b38_b1ca_f12732f10df1 -->|calls| 6a93d572_9115_1a72_4c86_b4b7f7857bb1 ae9763e6_5eb4_3aa5_2998_c4404d32096f["isEndOfLine()"] c3f83180_0fd5_1b38_b1ca_f12732f10df1 -->|calls| ae9763e6_5eb4_3aa5_2998_c4404d32096f 9bd4aa4c_c96d_d7cf_c80a_7ccb5d80c0ab["read()"] c3f83180_0fd5_1b38_b1ca_f12732f10df1 -->|calls| 9bd4aa4c_c96d_d7cf_c80a_7ccb5d80c0ab cfafe84e_de0b_3d56_b718_655d1e6b7352["skipWhitespace()"] c3f83180_0fd5_1b38_b1ca_f12732f10df1 -->|calls| cfafe84e_de0b_3d56_b718_655d1e6b7352 style c3f83180_0fd5_1b38_b1ca_f12732f10df1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/env/OriginTrackedPropertiesLoader.java lines 171–184
private boolean isNewDocument(CharacterReader reader) throws IOException {
if (reader.isSameLastLineCommentPrefix()) {
return false;
}
boolean result = reader.getLocation().getColumn() == 0;
result = result && readAndExpect(reader, reader::isHyphenCharacter);
result = result && readAndExpect(reader, reader::isHyphenCharacter);
result = result && readAndExpect(reader, reader::isHyphenCharacter);
if (!reader.isEndOfLine()) {
reader.read();
reader.skipWhitespace();
}
return result && reader.isEndOfLine();
}
Domain
Subdomains
Calls
- getColumn()
- getLocation()
- isEndOfLine()
- isSameLastLineCommentPrefix()
- read()
- readAndExpect()
- skipWhitespace()
Called By
Source
Frequently Asked Questions
What does isNewDocument() do?
isNewDocument() is a function in the spring-boot codebase.
What does isNewDocument() call?
isNewDocument() calls 7 function(s): getColumn, getLocation, isEndOfLine, isSameLastLineCommentPrefix, read, readAndExpect, skipWhitespace.
What calls isNewDocument()?
isNewDocument() is called by 1 function(s): load.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free