MCPcopy Create free account
hub / github.com/chibash/stone / toString

Method toString

src/chap14/TypeInfo.java:92–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 return returnType.match(func.returnType);
91 }
92 @Override public String toString() {
93 StringBuilder sb = new StringBuilder();
94 if (parameterTypes.length == 0)
95 sb.append("Unit");
96 else
97 for (int i = 0; i < parameterTypes.length; i++) {
98 if (i > 0)
99 sb.append(" * ");
100 sb.append(parameterTypes[i]);
101 }
102 sb.append(" -> ").append(returnType);
103 return sb.toString();
104 }
105 }
106}

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected