MCPcopy Create free account
hub / github.com/github/copilot-sdk / javaClassLiteral

Function javaClassLiteral

java/scripts/codegen/java.ts:1627–1629  ·  view source on GitHub ↗
(javaType: string)

Source from the content-addressed store, hash-verified

1625}
1626
1627function javaClassLiteral(javaType: string): string {
1628 return javaType === "Void" ? "Void.class" : `${javaType}.class`;
1629}
1630
1631function addWrapperResultImports(resultType: string, allImports: Set<string>, packageName: string): void {
1632 if (resultType === "Void") {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…