MCPcopy Create free account
hub / github.com/Card-Forge/forge / getName

Method getName

forge-core/src/main/java/forge/card/CardRules.java:200–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198 }
199
200 public String getName() {
201 switch (splitType.getAggregationMethod()) {
202 case COMBINE:
203 return mainPart.getName() + " // " + otherPart.getName();
204 default:
205 return mainPart.getName();
206 }
207 }
208
209 /**
210 * Similar to `getName`, but goes through some extra steps to figure out the card's name in the event that

Callers 13

readCardMethod · 0.95
initializeMethod · 0.95
putCardMethod · 0.95
reinitializeFromRulesMethod · 0.95
getPreInitNameMethod · 0.95
setVanguardPropertiesMethod · 0.95
getImageRelativePathMethod · 0.95
addTokenToBattlefieldMethod · 0.95
parseAllCardsMethod · 0.95
saveChangesMethod · 0.95

Calls 2

getAggregationMethodMethod · 0.80
getNameMethod · 0.65

Tested by

no test coverage detected