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

Method unparse

code/src/java/plugin/lsttokens/paper/WidthToken.java:52–62  ·  view source on GitHub ↗
(LoadContext context, PaperInfo pi)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getPaperInfoMethod · 0.45

Tested by

no test coverage detected