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

Method matchDescriptionClasses

src/me/lpk/util/RegexUtils.java:15–24  ·  view source on GitHub ↗

Returns a list of all class matches in a description. @param desc @return

(String desc)

Source from the content-addressed store, hash-verified

13 * @return
14 */
15 public static List<String> matchDescriptionClasses(String desc) {
16 String pattern = "(?<=L).*?(?=[<;(])";
17 Pattern pat = Pattern.compile(pattern);
18 Matcher m = pat.matcher(desc);
19 List<String> matches = new ArrayList<String>();
20 while (m.find()) {
21 matches.add(m.group());
22 }
23 return matches;
24 }
25
26 /**
27 * Returns a list of all numbers found in a given string.

Callers 4

correlateMethod · 0.95
getTypesFromMemberMethod · 0.95
linkMappingsMethod · 0.95
fixDescReverseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected