Searched refs:inPackage (Results 1 – 4 of 4) sorted by relevance
24 import static com.google.inject.matcher.Matchers.inPackage;117 assertEquals("inPackage(com.google.inject.matcher)", inPackage(matchersPackage).toString()); in testInPackage()118 assertTrue(inPackage(matchersPackage).matches(MatcherTest.class)); in testInPackage()119 assertFalse(inPackage(matchersPackage).matches(Object.class)); in testInPackage()120 assertEqualsBothWays(inPackage(matchersPackage), inPackage(matchersPackage)); in testInPackage()121 assertFalse(inPackage(matchersPackage).equals(inPackage(Object.class.getPackage()))); in testInPackage()153 assertEqualWhenReserialized(inPackage(String.class.getPackage())); in testSerialization()
292 public static Matcher<Class> inPackage(final Package targetPackage) { in inPackage() method in Matchers326 return inPackage(Package.getPackage(packageName)); in readResolve()
69 public boolean inPackage() { in inPackage() method in ICUTaglet
990 ClassName inPackage = ClassName.get("com.squareup.tacos", "InPackage"); in simpleNameConflictsWithTypeVariable() local997 .addField(FieldSpec.builder(inPackage, "inPackage").build()) in simpleNameConflictsWithTypeVariable()1020 .addStatement("$T inPackage = null", inPackage) in simpleNameConflictsWithTypeVariable()