Home
last modified time | relevance | path

Searched refs:targetPackageName (Results 1 – 1 of 1) sorted by relevance

/external/guice/core/src/com/google/inject/matcher/
DMatchers.java333 public static Matcher<Class> inSubpackage(final String targetPackageName) { in inSubpackage() argument
334 return new InSubpackage(targetPackageName); in inSubpackage()
338 private final String targetPackageName; field in Matchers.InSubpackage
340 public InSubpackage(String targetPackageName) { in InSubpackage() argument
341 this.targetPackageName = targetPackageName; in InSubpackage()
346 return classPackageName.equals(targetPackageName) in matches()
347 || classPackageName.startsWith(targetPackageName + "."); in matches()
352 && ((InSubpackage) other).targetPackageName.equals(targetPackageName); in equals()
356 return 37 * targetPackageName.hashCode(); in hashCode()
360 return "inSubpackage(" + targetPackageName + ")"; in toString()