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

Method unparse

code/src/java/plugin/lsttokens/paper/SortKeyToken.java:56–66  ·  view source on GitHub ↗
(LoadContext context, PaperInfo pi)

Source from the content-addressed store, hash-verified

54 }
55
56 @Override
57 public String[] unparse(LoadContext context, PaperInfo pi)
58 {
59 String info = pi.getSortKey();
60 if (info == null)
61 {
62 // Probably an error
63 return null;
64 }
65 return new String[]{info};
66 }
67
68 @Override
69 public Class<PaperInfo> getTokenClass()

Callers

nothing calls this directly

Calls 1

getSortKeyMethod · 0.65

Tested by

no test coverage detected