Searched refs:targetPackageName (Results 1 – 1 of 1) sorted by relevance
333 public static Matcher<Class> inSubpackage(final String targetPackageName) { in inSubpackage() argument334 return new InSubpackage(targetPackageName); in inSubpackage()338 private final String targetPackageName; field in Matchers.InSubpackage340 public InSubpackage(String targetPackageName) { in InSubpackage() argument341 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()