MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / brace

Method brace

src/main/java/wyc/util/ErrorMessages.java:556–562  ·  view source on GitHub ↗
(Type t)

Source from the content-addressed store, hash-verified

554 }
555
556 private static String brace(Type t) {
557 if(t.shape() < 2) {
558 return "(" + t + ")";
559 } else {
560 return t.toString();
561 }
562 }
563
564// private String foundBindingsString(Collection<? extends Binding> candidates) {
565// ArrayList<String> candidateStrings = new ArrayList<>();

Callers 1

candidateStringMethod · 0.95

Calls 2

shapeMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected