MCPcopy Create free account
hub / github.com/directwebremoting/dwr / add

Method add

etc/future/scanner/ClasspathScanner.java:46–51  ·  view source on GitHub ↗
(Set<String> classes, String className)

Source from the content-addressed store, hash-verified

44 }
45
46 protected void add(Set<String> classes, String className) {
47 if ((className.startsWith(pkg)) && (className.endsWith(".class"))) {
48 boolean add = recur ? true : className.substring(pkg.length() + 1).indexOf("/") < 0;
49 if (add) classes.add(className.substring(0, className.length() - 6).replace('/', '.'));
50 }
51 }
52
53 protected Set<String> getClassesFromJAR(String path) throws IOException {
54 Set<String> classes = new HashSet<String>();

Callers 15

getClassesFromJARMethod · 0.95
findMethodMethod · 0.45
enrollMethod · 0.45
sessionDestroyedMethod · 0.45
publishMethod · 0.45
subscribeMethod · 0.45
parseParametersMethod · 0.45
handleMethod · 0.45
parseTestInputMethod · 0.45
addParseErrorMethod · 0.45

Calls 1

indexOfMethod · 0.80

Tested by 5

parseTestInputMethod · 0.36
hibernateInboundMethod · 0.36
hibernateInboundMethod · 0.36