Lines Matching defs:descriptor
48 * Writes the given module descriptor to a module-info.class file,
79 * Writes a module descriptor to the given output stream as a
82 public static void write(ModuleDescriptor descriptor,
87 byte[] bytes = toModuleInfo(descriptor, target);
92 * Writes a module descriptor to the given output stream as a
95 public static void write(ModuleDescriptor descriptor, OutputStream out)
98 write(descriptor, null, out);
102 * Returns a {@code ByteBuffer} containing the given module descriptor
105 public static ByteBuffer toByteBuffer(ModuleDescriptor descriptor) {
106 byte[] bytes = toModuleInfo(descriptor, null);