MCPcopy Create free account
hub / github.com/Bukkit/Bukkit / get

Method get

src/main/java/org/bukkit/configuration/MemorySection.java:199–205  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

197 }
198
199 public Object get(String path) {
200 if (path == null) {
201 throw new IllegalArgumentException("Path cannot be null");
202 }
203
204 return get(path, getDefault(path));
205 }
206
207 public Object get(String path, Object def) {
208 if (path == null) {

Callers 15

containsMethod · 0.95
isSetMethod · 0.95
getStringMethod · 0.95
isStringMethod · 0.95
getIntMethod · 0.95
isIntMethod · 0.95
getBooleanMethod · 0.95
isBooleanMethod · 0.95
getDoubleMethod · 0.95
isDoubleMethod · 0.95
getLongMethod · 0.95
isLongMethod · 0.95

Calls 8

getDefaultMethod · 0.95
getRootMethod · 0.95
getMethod · 0.95
optionsMethod · 0.65
lengthMethod · 0.45
toStringMethod · 0.45
pathSeparatorMethod · 0.45

Tested by

no test coverage detected