MCPcopy Index your code
hub / github.com/apache/groovy / addDescription

Method addDescription

src/main/java/org/codehaus/groovy/syntax/Types.java:1548–1554  ·  view source on GitHub ↗

Adds a description to the set.

(int type, String description)

Source from the content-addressed store, hash-verified

1546 * Adds a description to the set.
1547 */
1548 private static void addDescription(int type, String description) {
1549 if (description.startsWith("<") && description.endsWith(">")) {
1550 DESCRIPTIONS.put(type, description);
1551 } else {
1552 DESCRIPTIONS.put(type, '"' + description + '"');
1553 }
1554 }
1555
1556
1557 static {

Callers 1

TypesClass · 0.95

Calls 3

putMethod · 0.65
startsWithMethod · 0.45
endsWithMethod · 0.45

Tested by

no test coverage detected