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

Method signature_of

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

Source from the content-addressed store, hash-verified

453 }
454
455 fn signature_of(&self, node: Node) -> Option<String> {
456 let params = node.child_by_field_name("parameters")?;
457 let params_text = self.text(params);
458 match node.child_by_field_name("type") {
459 Some(ret) => Some(format!("{} {}", self.text(ret), params_text)),
460 None => Some(params_text.to_string()),
461 }
462 }
463
464 /// normalizeJavaType (languages/java.ts).
465 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