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

Method findFieldsByDesc

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

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

(String text)

Source from the content-addressed store, hash-verified

102 * @return
103 */
104 public List<MappedMember> findFieldsByDesc(String text) {
105 List<MappedMember> list = new ArrayList<MappedMember>();
106 for (MappedMember mm : getFields()) {
107 if (mm.getDesc().equals(text)) {
108 list.add(mm);
109 }
110 }
111 return list;
112 }
113
114 /**
115 * Returns a list of methods matching a given name.

Callers

nothing calls this directly

Calls 3

getFieldsMethod · 0.95
getDescMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected