MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / makeRO

Method makeRO

chapter23/src/main/java/com/seaofnodes/simple/type/Type.java:451–454  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

449 boolean _isConstant() { return _type==TNIL; }
450
451 // Are all reachable struct Fields are final?
452 public final boolean isFinal() { return recurClose(recurOpen()._isFinal()); }
453 boolean _isFinal() { assert _type < TCYCLIC; return true; }
454
455 public final Type makeRO() {
456 if( isFinal() ) return this;
457 return recurOpen()._makeRO().recurClose();

Callers 5

testTypeAdHocMethod · 0.95
computeMethod · 0.95
liftExprMethod · 0.45
parseDeclarationMethod · 0.45
computeMethod · 0.45

Calls 4

isFinalMethod · 0.95
recurOpenMethod · 0.95
recurCloseMethod · 0.45
_makeROMethod · 0.45

Tested by 1

testTypeAdHocMethod · 0.76