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

Method unparseToken

code/src/java/plugin/bonustokens/LockedStat.java:52–61  ·  view source on GitHub ↗
(final Object obj)

Source from the content-addressed store, hash-verified

50 }
51
52 @Override
53 protected String unparseToken(final Object obj)
54 {
55 if (obj instanceof MissingObject)
56 {
57 return ((MissingObject) obj).getObjectName();
58 }
59
60 return ((PCStat) obj).getKeyName();
61 }
62
63 /**
64 * Return the bonus tag handled by this class.

Callers

nothing calls this directly

Calls 2

getKeyNameMethod · 0.65
getObjectNameMethod · 0.45

Tested by

no test coverage detected