MCPcopy Create free account
hub / github.com/PCGen/pcgen / unparse

Method unparse

code/src/java/plugin/lsttokens/kit/KitToken.java:76–85  ·  view source on GitHub ↗
(LoadContext context, KitKit kitKit)

Source from the content-addressed store, hash-verified

74 }
75
76 @Override
77 public String[] unparse(LoadContext context, KitKit kitKit)
78 {
79 List<CDOMSingleRef<Kit>> kits = kitKit.getKits();
80 if (kits == null || kits.isEmpty())
81 {
82 return null;
83 }
84 return new String[]{ReferenceUtilities.joinLstFormat(kits, Constants.PIPE)};
85 }
86}

Callers

nothing calls this directly

Calls 3

joinLstFormatMethod · 0.95
getKitsMethod · 0.65
isEmptyMethod · 0.65

Tested by

no test coverage detected