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

Method getAttributes

src/main/java/field/utility/Dict.java:331–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329 }
330
331 public Dict getAttributes() {
332 Prop on = this;
333 if (!isCanon()) {
334 Prop<T> already = findCanon();
335 if (already == null) {
336 toCanon();
337 on.setCanon();
338 } else {
339 on = already;
340 }
341 }
342 return on.attributes == null ? (on.attributes = new Dict()) : on.attributes;
343 }
344
345 // typing issues with javac, no need for this additional <V>
346 public <Q, V> Prop<V> set(Prop<Q> p, Q v) {

Callers 15

asMap_setMethod · 0.95
_loadBoxMethod · 0.95
setMethod · 0.95
asMap_getMethod · 0.95
asMap_setMethod · 0.95
asMap_setElementMethod · 0.95
asMap_deleteMethod · 0.95
asMap_getMethod · 0.80
asMap_setMethod · 0.80
assembleCompletionsMethod · 0.80
FLineDrawingClass · 0.80
duplicateBoxMethod · 0.80

Calls 4

isCanonMethod · 0.95
findCanonMethod · 0.95
toCanonMethod · 0.95
setCanonMethod · 0.95

Tested by

no test coverage detected