Searched refs:classFile (Results 1 – 8 of 8) sorted by relevance
70 ClassFile classFile = com.google.turbine.bytecode.ClassReader.read(null, bytes); in methods() local72 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 …]
75 private final Supplier<ClassFile> classFile; field in BytecodeBoundClass86 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 …]
204 ClassFile classFile = ClassReader.read(path, bytes.get()); in bindModuleInfo() local205 ClassFile.ModuleInfo module = classFile.module(); in bindModuleInfo()
32 final File classFile = new File(getPackageFolder(), getClassName()); in create() local33 try (FileOutputStream out = new FileOutputStream(classFile)) { in create()
83 final String classFile = className.replace('.', '/'); in loadClass() local88 try (InputStream is = loader.getResourceAsStream(classFile + ".class")) { in loadClass()
54 …public void givenTheClassInTheFile(String classFile) throws URISyntaxException, IOException, Parse… in givenTheClassInTheFile() argument55 URL url = getClass().getResource("../samples/" + classFile); in givenTheClassInTheFile()
94 TypeElement classFile = in errorTypes()96 List<VariableElement> fields = fieldsIn(classFile.getEnclosedElements()); in errorTypes()
58 transitive.put(sym.binaryName(), ClassWriter.writeClass(trimClass(info.classFile()))); in collectDeps()