Home
last modified time | relevance | path

Searched refs:getPackage (Results 1 – 25 of 205) sorted by relevance

123456789

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerClassLoaderConfigTest.java24 assertThat(DummyClass.class.getPackage()).isNotNull(); in testGetPackage()
25 assertThat(DummyClass.class.getName()).startsWith(DummyClass.class.getPackage().getName()); in testGetPackage()
29 assertThat(Test.class.getPackage()).isNotNull(); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
30 assertThat(Package.getPackage("org.junit")).isNotNull(); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
31 assertThat(Package.getPackage("org.junit")).isEqualTo(Test.class.getPackage()); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
/external/robolectric/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerClassLoaderConfigTest.java25 assertThat(DummyClass.class.getPackage()).isNotNull(); in testGetPackage()
26 assertThat(DummyClass.class.getName()).startsWith(DummyClass.class.getPackage().getName()); in testGetPackage()
30 assertThat(Test.class.getPackage()).isNotNull(); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
31 assertThat(Package.getPackage("org.junit")).isNotNull(); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
32 assertThat(Package.getPackage("org.junit")).isEqualTo(Test.class.getPackage()); in testPackagesFromParentClassLoaderAreMadeAvailableByName()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DTypeUtils.java55 public static String getPackage(@Nonnull String type) { in getPackage() method in TypeUtils
70 return getPackage(accesseeClassDef.getType()).equals(getPackage(accessorType)); in canAccessClass()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/util/
DTypeUtils.java54 public static String getPackage(@Nonnull String type) { in getPackage() method in TypeUtils
69 return getPackage(accesseeClassDef.getType()).equals(getPackage(accessorType)); in canAccessClass()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DBigDecimalBeanConstructorTest.java32 String className = this.getClass().getPackage().getName(); in testRepresentor()
38 String className = "!!" + this.getClass().getPackage().getName() in testConstructor()
48 String className = "!!" + this.getClass().getPackage().getName()
DIncompleteBeanConstructorTest.java32 String className = this.getClass().getPackage().getName(); in testRepresentor()
37 String className = "!!" + this.getClass().getPackage().getName() in testConstructor()
47 String className = "!!" + this.getClass().getPackage().getName() in testConstructor2()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DClassPathUtilsTest.java86 () -> ClassPathUtils.toFullyQualifiedName(ClassPathUtils.class.getPackage(), null)); in testToFullyQualifiedNamePackageNull()
92 …final String actual = ClassPathUtils.toFullyQualifiedName(ClassPathUtils.class.getPackage(), "Test… in testToFullyQualifiedNamePackageString()
125 () -> ClassPathUtils.toFullyQualifiedPath(ClassPathUtils.class.getPackage(), null)); in testToFullyQualifiedPathPackageNull()
131 …final String actual = ClassPathUtils.toFullyQualifiedPath(ClassPathUtils.class.getPackage(), "Test… in testToFullyQualifiedPathPackage()
/external/guice/core/test/com/google/inject/matcher/
DMatcherTest.java116 Package matchersPackage = Matchers.class.getPackage(); in testInPackage()
121 assertFalse(inPackage(matchersPackage).equals(inPackage(Object.class.getPackage()))); in testInPackage()
125 String stringPackageName = String.class.getPackage().getName(); in testInSubpackage()
134 .equals(inSubpackage(Matchers.class.getPackage().getName()))); in testInSubpackage()
153 assertEqualWhenReserialized(inPackage(String.class.getPackage())); in testSerialization()
154 assertEqualWhenReserialized(inSubpackage(String.class.getPackage().getName())); in testSerialization()
/external/protobuf/php/src/Google/Protobuf/Internal/
DFileDescriptor.php47 public function getPackage() function in Google\\Protobuf\\Internal\\FileDescriptor
75 $file->setPackage($proto->getPackage());
/external/cronet/third_party/protobuf/php/src/Google/Protobuf/Internal/
DFileDescriptor.php47 public function getPackage() function in Google\\Protobuf\\Internal\\FileDescriptor
75 $file->setPackage($proto->getPackage());
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionEnumDeclaration.txt8 Line 85) clazz.getPackage() ==> java.lang.Class.getPackage()
9 Line 86) clazz.getPackage().getName() ==> java.lang.Package.getName()
10 Line 86) clazz.getPackage() ==> java.lang.Class.getPackage()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionInterfaceDeclaration.txt3 Line 76) clazz.getPackage() ==> java.lang.Class.getPackage()
4 Line 77) clazz.getPackage().getName() ==> java.lang.Package.getName()
5 Line 77) clazz.getPackage() ==> java.lang.Class.getPackage()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DDefaultRootKeySetCreator.java40 if (key.getTypeLiteral().getRawType().getPackage() != Guice.class.getPackage() in getRootKeys()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassBytecodeGenerator.java152 …return type.getPackage() != null && "Java Runtime Environment".equalsIgnoreCase(type.getPackage().… in isComingFromJDK()
158 return type.getPackage() != null && type.getPackage().isSealed(); in isComingFromSealedPackage()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/
DTestCreator.java29 protected static final String TEST_PACKAGE = TestCreator.class.getPackage().getName();
48 return getClass().getPackage().getName().replace('.', '/'); in getPackageName()
/external/auto/value/src/main/java/com/google/auto/value/extension/toprettystring/processor/
DExtensionClassTypeSpecBuilder.java21 import static com.google.auto.common.MoreElements.getPackage;
191 return getPackage(annotationElement).equals(getPackage(from)) in annotationVisibleFrom()
194 return getPackage(annotationElement).equals(getPackage(from)); in annotationVisibleFrom()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DClassPathUtils.java74 return toFullyQualifiedName(context.getPackage(), resourceName); in toFullyQualifiedName()
118 return toFullyQualifiedPath(context.getPackage(), resourceName); in toFullyQualifiedPath()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DAnalyzedMethodUtil.java47 String otherPackage = TypeUtils.getPackage(virtualMethod.getDefiningClass()); in canAccess()
48 String thisPackage = TypeUtils.getPackage(type.getType()); in canAccess()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DPackageMatcher.java35 PackageDeclaration aPackage = cu.getPackage(); in matches()
60 PackageDeclaration packageDeclaration = compilationUnit.getPackage(); in getPackageName()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/analysis/
DAnalyzedMethodUtil.java46 String otherPackage = TypeUtils.getPackage(virtualMethod.getDefiningClass()); in canAccess()
47 String thisPackage = TypeUtils.getPackage(type.getType()); in canAccess()
/external/mockito/src/test/java/org/mockitoutil/
DClassLoadersTest.java93 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in isolated_class_loader_can_load_classes_isolated_classes_in_isolation()
110 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in isolated_class_loader_cannot_load_classes_if_prefix_excluded()
272 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in can_run_in_given_classloader()
313 .withPrivateCopyOf(ClassLoadersTest.class.getPackage().getName()) in cannot_load_runnable_in_given_classloader_if_some_type_cant_be_loaded()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java149 protected Package getPackage(String name) { in getPackage() method in SandboxClassLoader
150 Package aPackage = super.getPackage(name); in getPackage()
176 Package pckg = getPackage(pckgName); in ensurePackage()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionAnnotationDeclaration.java63 if (clazz.getPackage() != null) { in getPackageName()
64 return clazz.getPackage().getName(); in getPackageName()
/external/turbine/java/com/google/turbine/binder/
DFileManagerClassBinder.java57 return packageLookup.getPackage(this, sym.packageName()).get(sym); in adapt()
127 private Map<ClassSymbol, BytecodeBoundClass> getPackage(
207 Map<ClassSymbol, BytecodeBoundClass> pkg = packageLookup.getPackage(env, packageName);
/external/dagger2/java/dagger/internal/codegen/langmodel/
DAccessibility.java20 import static com.google.auto.common.MoreElements.getPackage;
203 return isElementAccessibleFrom(element, getPackage(element).getQualifiedName().toString()); in isElementAccessibleFromOwnPackage()
244 && getPackage(element).getQualifiedName().contentEquals(packageName.get()); in accessibleModifiers()

123456789