MCPcopy Index your code
hub / github.com/github/copilot-sdk / toJavaClassName

Function toJavaClassName

java/scripts/codegen/java.ts:120–122  ·  view source on GitHub ↗
(typeName: string)

Source from the content-addressed store, hash-verified

118}
119
120function toJavaClassName(typeName: string): string {
121 return fixBrandCasing(typeName.split(/[._]/).map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join(""));
122}
123
124/** Java reserved keywords and Object method names that cannot be used as record component names. */
125const JAVA_RESERVED_IDENTIFIERS = new Set([

Callers 1

extractEventVariantsFunction · 0.85

Calls 2

joinMethod · 0.80
fixBrandCasingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…