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

Method fold

src/main/java/field/utility/Conversions.java:52–54  ·  view source on GitHub ↗

the opposite of linearize. Take a flat list of parameterized types and build up a human-readable String representation of them. Filters the names of classes through "cleaner"

(List<Class> typeInformation, Function<String, String> cleaner)

Source from the content-addressed store, hash-verified

50
51 /**
52 * the opposite of linearize. Take a flat list of parameterized types and build up a human-readable String representation of them. Filters the names of classes through "cleaner"
53 */
54 static public String fold(List<Class> typeInformation, Function<String, String> cleaner) {
55 return typeInformation == null ? "" : _fold(new ArrayList<>(typeInformation), cleaner);
56 }
57

Callers 4

assembleCompletionsMethod · 0.95
getCompletionsForMethod · 0.95
getCompletionsForMethod · 0.95
productMethod · 0.80

Calls 1

_foldMethod · 0.95

Tested by

no test coverage detected