MCPcopy Create free account
hub / github.com/GraxCode/zelixkiller / getFieldNode

Method getFieldNode

src/me/lpk/mapping/loaders/SRGLoader.java:154–161  ·  view source on GitHub ↗
(List<FieldNode> fields, String name, String desc)

Source from the content-addressed store, hash-verified

152 }
153
154 private static FieldNode getFieldNode(List<FieldNode> fields, String name, String desc) {
155 for (FieldNode fn : fields) {
156 if (fn.name.equals(name) && fn.desc.equals(desc)) {
157 return fn;
158 }
159 }
160 return null;
161 }
162
163 private static MethodNode getMethodNode(List<MethodNode> methods, String name, String desc) {
164 for (MethodNode mn : methods) {

Callers 1

readMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected