Home
last modified time | relevance | path

Searched refs:classFile (Results 1 – 25 of 29) sorted by relevance

12

/external/dagger2/java/dagger/hilt/android/plugin/src/test/kotlin/
DTransformTest.kt77 ClassFile(DataInputStream(fileInput)).let { classFile -> in <lambda>() method
79 Assert.assertEquals("minimal.Hilt_MainActivity", classFile.superclass) in <lambda>()
81 val constPool = classFile.constPool in <lambda>()
82 classFile.methods.first { it.name == "onCreate" }.let { methodInfo -> in <lambda>()
127 ClassFile(DataInputStream(fileInput)).let { classFile -> in <lambda>() method
128 Assert.assertEquals("minimal.Hilt_TopClass_NestedActivity", classFile.superclass) in <lambda>()
163 ClassFile(DataInputStream(fileInput)).let { classFile -> in <lambda>() method
164 Assert.assertEquals("minimal.Hilt_AbstractActivity", classFile.superclass) in <lambda>()
199 ClassFile(DataInputStream(fileInput)).let { classFile -> in <lambda>() method
200 Assert.assertEquals("minimal.Hilt_SimpleActivity", classFile.superclass) in <lambda>()
[all …]
/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java71 ClassFile classFile = com.google.turbine.bytecode.ClassReader.read(null, bytes); in methods() local
73 assertThat(classFile.access()) in methods()
75 assertThat(classFile.name()).isEqualTo("test/Hello"); in methods()
76 assertThat(classFile.signature()).isNull(); in methods()
77 assertThat(classFile.superName()).isEqualTo("java/lang/Object"); in methods()
78 assertThat(classFile.interfaces()).isEmpty(); in methods()
80 assertThat(classFile.methods()).hasSize(3); in methods()
82 ClassFile.MethodInfo f = classFile.methods().get(0); in methods()
92 ClassFile.MethodInfo g = classFile.methods().get(1); in methods()
98 ClassFile.MethodInfo h = classFile.methods().get(2); in methods()
[all …]
/external/turbine/javatests/com/google/turbine/processing/
DTurbineFilerTest.java76 JavaFileObject classFile = filer.createClassFile("com.foo.Baz", (Element[]) null); in hello() local
77 try (OutputStream os = classFile.openOutputStream()) { in hello()
80 assertThat(classFile.getLastModified()).isEqualTo(0); in hello()
134 JavaFileObject classFile = filer.createSourceFile("com.foo.Bar", (Element[]) null); in sourceOutput() local
135 try (Writer writer = classFile.openWriter()) { in sourceOutput()
149 JavaFileObject classFile = filer.createClassFile("com.foo.Baz", (Element[]) null); in classOutput() local
150 try (OutputStream os = classFile.openOutputStream()) { in classOutput()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java76 private final Supplier<ClassFile> classFile; field in BytecodeBoundClass
87 this.classFile = in BytecodeBoundClass()
132 for (ClassFile.InnerClass inner : classFile.get().innerClasses()) {
153 for (ClassFile.InnerClass inner : classFile.get().innerClasses()) {
176 int access = classFile.get().access();
177 for (ClassFile.InnerClass inner : classFile.get().innerClasses()) {
196 String signature = classFile.get().signature();
231 String superclass = classFile.get().superName();
250 for (String i : classFile.get().interfaces()) {
351 for (ClassFile.FieldInfo cfi : classFile.get().fields()) {
[all …]
DBytecodeBinder.java202 ClassFile classFile = ClassReader.read(path, bytes.get()); in bindModuleInfo() local
203 ClassFile.ModuleInfo module = classFile.module(); in bindModuleInfo()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/tests/
DTestCreator.java32 final File classFile = new File(getPackageFolder(), getClassName()); in create() local
33 try (FileOutputStream out = new FileOutputStream(classFile)) { in create()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DClassLoaderRepository.java83 final String classFile = className.replace('.', '/'); in loadClass() local
88 try (InputStream is = loader.getResourceAsStream(classFile + ".class")) { in loadClass()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DPrettyPrintingSteps.java52 public void givenTheClassInTheFile(String classFile) throws URISyntaxException, IOException { in givenTheClassInTheFile() argument
53 URL url = getClass().getResource("../samples/" + classFile); in givenTheClassInTheFile()
/external/dagger2/java/dagger/hilt/android/plugin/src/main/kotlin/dagger/hilt/android/plugin/
DAndroidEntryPointClassTransformer.kt120 val superclassName = clazz.classFile.superclass in <lambda>()
166 val constantPool = clazz.classFile.constPool in <lambda>()
219 val constantPool = clazz.classFile.constPool in <lambda>()
/external/javassist/src/main/javassist/
DSerialVersionUID.java87 ClassFile classFile = clazz.getClassFile(); in calculateDefault() local
106 String[] interfaces = classFile.getInterfaces(); in calculateDefault()
135 if (classFile.getStaticInitializer() != null) { in calculateDefault()
/external/angle/util/android/
DAndroidWindow.cpp232 jclass classFile = jni->GetObjectClass(objectFile); in GetExternalStorageDirectory() local
240 jni->GetMethodID(classFile, "getAbsolutePath", "()Ljava/lang/String;"); in GetExternalStorageDirectory()
/external/javassist/src/main/javassist/util/
DHotSwapper.java170 public void reload(String className, byte[] classFile) { in reload() argument
173 map.put(classtype, classFile); in reload()
/external/turbine/java/com/google/turbine/deps/
DTransitive.java57 transitive.put(sym.binaryName(), ClassWriter.writeClass(trimClass(info.classFile()))); in collectDeps()
/external/javapoet/src/test/java/com/squareup/javapoet/
DAbstractTypesTest.java94 TypeElement classFile = in errorTypes()
96 List<VariableElement> fields = fieldsIn(classFile.getEnclosedElements()); in errorTypes()
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/dexmaker/lib/
Ddalvik-dx-9.0.0_r3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/kotlinc/lib/
Dkotlin-annotation-processing.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/kotlin-annotation- ...
/external/guice/extensions/persist/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Djavassist-3.19.0-GA.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/mockito/lib/
Dbyte-buddy-1.8.15.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/external/error_prone/javac/
Djavac-9+181-r4173-1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...

12