Home
last modified time | relevance | path

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

/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java70 ClassFile classFile = com.google.turbine.bytecode.ClassReader.read(null, bytes); in methods() local
72 assertThat(classFile.access()) in methods()
74 assertThat(classFile.name()).isEqualTo("test/Hello"); in methods()
75 assertThat(classFile.signature()).isNull(); in methods()
76 assertThat(classFile.superName()).isEqualTo("java/lang/Object"); in methods()
77 assertThat(classFile.interfaces()).isEmpty(); in methods()
79 assertThat(classFile.methods()).hasSize(3); in methods()
81 ClassFile.MethodInfo f = classFile.methods().get(0); in methods()
91 ClassFile.MethodInfo g = classFile.methods().get(1); in methods()
97 ClassFile.MethodInfo h = classFile.methods().get(2); in methods()
[all …]
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java75 private final Supplier<ClassFile> classFile; field in BytecodeBoundClass
86 this.classFile = in BytecodeBoundClass()
131 for (ClassFile.InnerClass inner : classFile.get().innerClasses()) {
152 for (ClassFile.InnerClass inner : classFile.get().innerClasses()) {
175 int access = classFile.get().access();
176 for (ClassFile.InnerClass inner : classFile.get().innerClasses()) {
195 String signature = classFile.get().signature();
230 String superclass = classFile.get().superName();
249 for (String i : classFile.get().interfaces()) {
349 for (ClassFile.FieldInfo cfi : classFile.get().fields()) {
[all …]
DBytecodeBinder.java204 ClassFile classFile = ClassReader.read(path, bytes.get()); in bindModuleInfo() local
205 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-testing/src/test/java/com/github/javaparser/bdd/steps/
DPrettyPrintingSteps.java54 …public void givenTheClassInTheFile(String classFile) throws URISyntaxException, IOException, Parse… in givenTheClassInTheFile() argument
55 URL url = getClass().getResource("../samples/" + classFile); in givenTheClassInTheFile()
/external/javapoet/src/test/java/com/squareup/javapoet/
DAbstractTypesTest.java94 TypeElement classFile = in errorTypes()
96 List<VariableElement> fields = fieldsIn(classFile.getEnclosedElements()); in errorTypes()
/external/turbine/java/com/google/turbine/deps/
DTransitive.java58 transitive.put(sym.binaryName(), ClassWriter.writeClass(trimClass(info.classFile()))); in collectDeps()