MCPcopy Index your code
hub / github.com/bazelbuild/bazel / getName

Method getName

src/main/java/net/starlark/java/syntax/Identifier.java:50–52  ·  view source on GitHub ↗

Returns the name of the Identifier. If there were parse errors, misparsed regions may be represented as an Identifier for which !isValid(getName()).

()

Source from the content-addressed store, hash-verified

48 * represented as an Identifier for which {@code !isValid(getName())}.
49 */
50 public String getName() {
51 return name;
52 }
53
54 public boolean isPrivate() {
55 return name.startsWith("_");

Callers 11

testFuncallExprMethod · 0.95
testMethCallExprMethod · 0.95
testPropRefExprMethod · 0.95
testErrorRecoveryMethod · 0.95
testLoadAliasMethod · 0.95
createBindingsMethod · 0.95
resolveTypeOrArgMethod · 0.95
printStmtMethod · 0.95
parseTypeParameterMethod · 0.95
execStatementsMethod · 0.95
execLoadMethod · 0.95

Calls

no outgoing calls

Tested by 5

testFuncallExprMethod · 0.76
testMethCallExprMethod · 0.76
testPropRefExprMethod · 0.76
testErrorRecoveryMethod · 0.76
testLoadAliasMethod · 0.76