Home | History | Annotate | Download | only in test

Lines Matching defs:Class

39 public class ClassPathPackageInfoSource {
41 private static final String CLASS_EXTENSION = ".class";
44 = ClassPathPackageInfoSource.class.getClassLoader();
54 // The class path of the running application
78 Set<Class<?>> topLevelClasses = Sets.newHashSet();
87 // We get errors in the emulator if we don't use the caller's class loader.
88 topLevelClasses.add(Class.forName(className, false,
91 // Should not happen unless there is a generated class that is not included in
93 Log.w("ClassPathPackageInfoSource", "Cannot load class. "
94 + "Make sure it is in your apk. Class name: '" + className
104 * add them to the respective sets. Searches the package on the whole class
152 * add them to the respective sets. Searches the package in a class directory.
188 // check if the class is in the package itself or in one of its
244 * Gets the class and package entries from a Jar.
256 // add the entry name of the class
260 // the directory that the class is in. Used to quickly skip jar files
264 // pkg1/pkg2/Foo.class will be marked as containing pkg1/ in addition
265 // to pkg1/pkg2/ and pkg1/pkg2/Foo.class. We're still interested in
285 * Checks if a given file name represents a toplevel class.
292 * Given the absolute path of a class file, return the class name.
300 * Gets the class path from the System Property "java.class.path" and splits
304 String classPath = System.getProperty("java.class.path");