Sha256: f57e3f6560dc2874f5595b9b215ce3f42174ebea80d7c889f63178004a7a48f9
Contents?: true
Size: 827 Bytes
Versions: 26
Compression:
Stored size: 827 Bytes
Contents
from javonet.core.generator.handler.AbstractGeneretatorHandler import AbstractGeneratorHandler class SharedGetTypeBodyHandler(AbstractGeneratorHandler): def generate_command(self, analyzed_object, parent_command, handlers): return analyzed_object def generate_code(self, existing_string_builder, common_command, used_object, handlers): existing_string_builder.append("return Javonet.inMemory().") existing_string_builder.append(str(common_command.runtime_name)) existing_string_builder.append("().") existing_string_builder.append("get_type(\"") existing_string_builder.append(used_object.get_payload()[0]) existing_string_builder.append("\").") existing_string_builder.append("execute())") existing_string_builder.append("\n")
Version data entries
26 entries across 26 versions & 1 rubygems