MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getFieldString

Function getFieldString

hooks/modify-java-files.js:474–476  ·  view source on GitHub ↗
(field)

Source from the content-addressed store, hash-verified

472 }
473
474 function getFieldString(field) {
475 return `${field.modifier} ${field.type} ${field.name}${field.value ? ` = ${field.value}` : ''};`;
476 }
477
478 function isInterface(filename, content) {
479 return content.indexOf(`interface ${filename.split('.')[0]}`) > -1;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected