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

Method findMethodsByDesc

src/me/lpk/mapping/MappedClass.java:137–145  ·  view source on GitHub ↗

Returns a list of methods matching a given descriptor. @param text @return

(String text)

Source from the content-addressed store, hash-verified

135 * @return
136 */
137 public List<MappedMember> findMethodsByDesc(String text) {
138 List<MappedMember> list = new ArrayList<MappedMember>();
139 for (MappedMember mm : getMethods()) {
140 if (mm.getDesc().equals(text)) {
141 list.add(mm);
142 }
143 }
144 return list;
145 }
146
147 /**
148 * Returns a map of field mappings. Keys are based on the index they appear

Callers

nothing calls this directly

Calls 3

getMethodsMethod · 0.95
getDescMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected