Sha256: 4684f1a9521d04ae1cc2f8ced480c0e040c0c55c10ef9cc32418e9e1d35bb4f4
Contents?: true
Size: 933 Bytes
Versions: 61
Compression:
Stored size: 933 Bytes
Contents
const AbstractGeneratorHandler = require("../../AbstractGeneratorHandler"); const StringUtils = require("../../../utils/StringUtils"); const RuntimeName = require("../../../../../utils/RuntimeName"); const OS = require("os"); class SharedGetTypeBodyHandler extends AbstractGeneratorHandler { generate_code(existing_string_builder, common_command, used_object, handlers) { existing_string_builder.append("return Javonet.inMemory().") existing_string_builder.append(StringUtils.capitalizeFirstLetter(Object.keys(RuntimeName)[common_command.runtimeName])) existing_string_builder.append("().") existing_string_builder.append("getType(\"") existing_string_builder.append(used_object.payload[0]) existing_string_builder.append("\").") existing_string_builder.append("execute()") existing_string_builder.append(OS.EOL) } } module.exports = SharedGetTypeBodyHandler
Version data entries
61 entries across 35 versions & 1 rubygems