MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / newID

Method newID

src/main/java/fieldbox/boxes/Box.java:87–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 properties.put(IO.id, newID());
86 BoxDefaultCode.configure(this);
87 }
88
89 @HiddenInAutocomplete
90 static public String newID() {
91 // ensure CallLogic is loaded
92 Dict.Prop<IdempotencyMap<Supplier<Object>>> ignored = Callbacks.main;
93 return "_" + UUID.randomUUID()
94 .toString()
95 .replace("-", "_");
96 }
97

Callers 6

saveAsNewFileMethod · 0.95
BoxMethod · 0.95
saveAsTemplateMethod · 0.95
IOClass · 0.95
uniqifyMethod · 0.95
uniqifyIfNecessaryMethod · 0.95

Calls 2

replaceMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected