MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _java_declarator_names

Function _java_declarator_names

graphify/extractors/engine.py:916–926  ·  view source on GitHub ↗
(declaration_node, source: bytes)

Source from the content-addressed store, hash-verified

914
915
916def _java_declarator_names(declaration_node, source: bytes) -> list[str]:
917 names: list[str] = []
918 for child in declaration_node.children:
919 if child.type != "variable_declarator":
920 continue
921 name_node = child.child_by_field_name("name")
922 if name_node is not None:
923 name = _read_text(name_node, source)
924 if name:
925 names.append(name)
926 return names
927
928
929_JAVA_NAMED_BINDINGS = frozenset({

Callers 3

_java_lombok_gettersFunction · 0.85
walkFunction · 0.85

Calls 1

_read_textFunction · 0.90

Tested by

no test coverage detected