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

Method toString

code/src/java/pcgen/core/PObject.java:206–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 }
205
206 @Override
207 public String toString()
208 {
209 if (PCGenSettings.OPTIONS_CONTEXT.getBoolean(PCGenSettings.OPTION_SHOW_OUTPUT_NAME_FOR_OTHER_ITEMS, false))
210 {
211 return getOutputName();
212 }
213
214 return getDisplayName();
215 }
216
217 /**
218 * @return true if the name of this item is Product Identity (i.e owned by the publisher)

Callers

nothing calls this directly

Calls 3

getOutputNameMethod · 0.95
getBooleanMethod · 0.80
getDisplayNameMethod · 0.65

Tested by

no test coverage detected