MCPcopy Index your code
hub / github.com/WiringProject/Wiring / sanitizeName

Method sanitizeName

IDE/processing/app/Sketch.java:2194–2222  ·  view source on GitHub ↗

Produce a sanitized name that fits our standards for likely to work. Java classes have a wider range of names that are technically allowed (supposedly any Unicode name) than what we support. The reason for going more narrow is to avoid situations with text encodings and converting during the pr

(String origName)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

createNewUntitledMethod · 0.95
addLibrariesMethod · 0.95
nameCodeMethod · 0.95
checkNameMethod · 0.95
isSanitaryNameMethod · 0.95

Calls 4

toCharArrayMethod · 0.80
appendMethod · 0.80
lengthMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected