public static List<String> matchDescriptionClasses(String desc){
  String pattern="(?<=L).*?(?=[<;(])";
  Pattern pat=Pattern.compile(pattern);
  Matcher m=pat.matcher(desc);
  List<String> matches=new ArrayList<String>();
  while (m.find()) {
    matches.add(m.group());
  }
  return matches;
}

public static List < String > matchDescriptionClasses ( String desc ) { String pattern = "(?<=L).*?(?=[<;(])" ; Pattern pat = Pattern . compile ( pattern ) ; Matcher m = pat . matcher ( desc ) ; List < String > matches = new ArrayList < String > ( ) ; while ( m . find ( ) ) { matches . add ( m . group ( ) ) ; } return matches ; }
returns a list of all class matches in a description .
