Return the set of class names in the specified package including all component paths.
( String pack )
| 138 | including all component paths. |
| 139 | */ |
| 140 | synchronized public Set getClassesForPackage( String pack ) { |
| 141 | insureInitialized(); |
| 142 | Set set = new HashSet(); |
| 143 | Collection c = (Collection)packageMap.get( pack ); |
| 144 | if ( c != null ) |
| 145 | set.addAll( c ); |
| 146 | |
| 147 | if ( compPaths != null ) |
| 148 | for (int i=0; i<compPaths.size(); i++) { |
| 149 | c = ((BshClassPath)compPaths.get(i)).getClassesForPackage( |
| 150 | pack ); |
| 151 | if ( c != null ) |
| 152 | set.addAll( c ); |
| 153 | } |
| 154 | return set; |
| 155 | } |
| 156 | |
| 157 | /** |
| 158 | Return the source of the specified class which may lie in component |
no test coverage detected