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

Method getSourceObject

code/src/java/pcgen/core/BonusManager.java:1124–1136  ·  view source on GitHub ↗
(BonusObj bo)

Source from the content-addressed store, hash-verified

1122 }
1123
1124 private Object getSourceObject(BonusObj bo)
1125 {
1126 Object source = activeBonusBySource.get(bo);
1127 if (source == null)
1128 {
1129 TempBonusInfo tbi = tempBonusBySource.get(bo);
1130 if (tbi != null)
1131 {
1132 source = tbi.source;
1133 }
1134 }
1135 return source;
1136 }
1137
1138 public List<BonusPair> getStringListFromBonus(BonusObj bo)
1139 {

Callers 6

buildActiveBonusMapMethod · 0.95
processBonusMethod · 0.95
getSourceStringMethod · 0.95
calcBonusesWithCostMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected