MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / signature_of

Method signature_of

codegraph-kernel/src/java.rs:460–467  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

458 }
459
460 fn signature_of(&self, node: Node) -> Option<String> {
461 let params = node.child_by_field_name("parameters")?;
462 let params_text = self.text(params);
463 match node.child_by_field_name("type") {
464 Some(ret) => Some(format!("{} {}", self.text(ret), params_text)),
465 None => Some(params_text.to_string()),
466 }
467 }
468
469 /// normalizeJavaType (languages/java.ts).
470 fn normalize_java_type(&self, type_node: Option<Node>) -> Option<String> {

Callers 2

extract_methodMethod · 0.45
extract_functionMethod · 0.45

Calls 1

textMethod · 0.65

Tested by

no test coverage detected