Searched refs:inPackage (Results 1 – 11 of 11) sorted by relevance
24 import static com.google.inject.matcher.Matchers.inPackage;122 assertEquals("inPackage(com.google.inject.matcher)", inPackage(matchersPackage).toString()); in testInPackage()123 assertTrue(inPackage(matchersPackage).matches(MatcherTest.class)); in testInPackage()124 assertFalse(inPackage(matchersPackage).matches(Object.class)); in testInPackage()125 assertEqualsBothWays(inPackage(matchersPackage), inPackage(matchersPackage)); in testInPackage()126 assertFalse(inPackage(matchersPackage).equals(inPackage(Object.class.getPackage()))); in testInPackage()158 assertEqualWhenReserialized(inPackage(String.class.getPackage())); in testSerialization()
52 public static JavaWriter inPackage(String packageName) { in inPackage() method in JavaWriter56 public static JavaWriter inPackage(Package enclosingPackage) { in inPackage() method in JavaWriter60 public static JavaWriter inPackage(PackageElement packageElement) { in inPackage() method in JavaWriter
27 JavaWriter javaWriter = JavaWriter.inPackage("test"); in referencedAndDeclaredSimpleName()
290 public static Matcher<Class> inPackage(final Package targetPackage) { in inPackage() method in Matchers321 return inPackage(Package.getPackage(packageName)); in readResolve()
52 JavaWriter javaWriter = JavaWriter.inPackage(name.packageName()); in createComponentClass()
70 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName()); in write()
116 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName()); in write()
108 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName()); in write()
122 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName());
102 JavaWriter writer = JavaWriter.inPackage(generatedTypeName.packageName()); in write()
66 public boolean inPackage() { in inPackage() method in ICUTaglet