MCPcopy Create free account
hub / github.com/Teneted/Tenet / toString

Method toString

src/main/java/org/bukkit/inventory/ItemStack.java:250–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248 }
249
250 @Override
251 @Utility
252 public String toString() {
253 StringBuilder toString = new StringBuilder("ItemStack{").append(getType().name()).append(" x ").append(getAmount());
254 if (hasItemMeta()) {
255 toString.append(", ").append(getItemMeta());
256 }
257 return toString.append('}').toString();
258 }
259
260 @Override
261 @Utility

Callers 1

deserializeMethod · 0.45

Calls 6

getTypeMethod · 0.95
getAmountMethod · 0.95
hasItemMetaMethod · 0.95
getItemMetaMethod · 0.95
nameMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected