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

Method getDescription

code/src/java/plugin/bonustokens/Stat.java:146–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 }
145
146 @Override
147 public String getDescription()
148 {
149 final PCStat pcstat = Globals.getContext().getReferenceContext().silentlyGetConstructedCDOMObject(PCStat.class,
150 getBonusInfo());
151 if (pcstat != null)
152 {
153 return pcstat.getDisplayName();
154 }
155 return super.getDescription();
156 }
157
158}

Callers

nothing calls this directly

Calls 6

getContextMethod · 0.95
getBonusInfoMethod · 0.80
getReferenceContextMethod · 0.65
getDisplayNameMethod · 0.65
getDescriptionMethod · 0.65

Tested by

no test coverage detected