MCPcopy Index your code
hub / github.com/beanshell/beanshell / removeInnerClassNames

Method removeInnerClassNames

src/bsh/classpath/BshClassPath.java:551–561  ·  view source on GitHub ↗

Return a new collection without any inner class names

( Collection col )

Source from the content-addressed store, hash-verified

549 Return a new collection without any inner class names
550 */
551 public static Collection removeInnerClassNames( Collection col ) {
552 List list = new ArrayList();
553 list.addAll(col);
554 Iterator it = list.iterator();
555 while(it.hasNext()) {
556 String name =(String)it.next();
557 if (name.indexOf("$") != -1 )
558 it.remove();
559 }
560 return list;
561 }
562
563 /**
564 The user classpath from system property

Callers 1

getAllNamesMethod · 0.95

Calls 4

iteratorMethod · 0.80
hasNextMethod · 0.80
nextMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected