OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:classOrPackageName
(Results
1 - 2
of
2
) sorted by null
/external/vogar/src/vogar/target/
ClassFinder.java
26
* Returns either a Set with the class represented by
classOrPackageName
as its only element, if
27
*
classOrPackageName
represents a class, or a Set containing all of the classes contained
28
* within the package represented by
classOrPackageName
, if it represents a package.
32
public Set<Class<?>> find(String
classOrPackageName
) {
34
// if no exception thrown,
classOrPackageName
must represent a class
35
return Collections.<Class<?>>singleton(Class.forName(
classOrPackageName
));
38
//
classOrPackageName
might represent a package
40
Package aPackage = new ClassPathScanner().scan(
classOrPackageName
);
43
throw new IllegalArgumentException("No classes in package: " +
classOrPackageName
+
TestRunner.java
180
String
classOrPackageName
;
188
classOrPackageName
= qualifiedClassOrPackageName.substring(0, hash_position);
191
classOrPackageName
= qualifiedClassOrPackageName;
195
Set<Class<?>> classes = new ClassFinder().find(
classOrPackageName
);
Completed in 475 milliseconds