MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / json_optional_string

Function json_optional_string

java-linker/src/main.rs:60–62  ·  view source on GitHub ↗
(value: Option<&str>)

Source from the content-addressed store, hash-verified

58 Constant::Double(value) => Self::Double(value.to_bits()),
59 Constant::Class(index) => Self::Class(*index),
60 Constant::String(index) => Self::String(*index),
61 Constant::FieldRef {
62 class_index,
63 name_and_type_index,
64 } => Self::FieldRef(*class_index, *name_and_type_index),
65 Constant::MethodRef {

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.80

Tested by

no test coverage detected