Home
last modified time | relevance | path

Searched refs:jdk_option_class (Results 1 – 1 of 1) sorted by relevance

/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_java_generator.cc51 static const string jdk_option_class = "java.util.Optional"; variable
2448 indent(out) << "public " << jdk_option_class << "<Integer> get" << cap_name; in generate_java_bean_boilerplate()
2460 indent(out) << "return " << jdk_option_class << ".empty();" << endl; in generate_java_bean_boilerplate()
2470 indent(out) << "return " << jdk_option_class << ".of(this."; in generate_java_bean_boilerplate()
2510 indent(out) << "public " << jdk_option_class << "<"; in generate_java_bean_boilerplate()
2524 indent(out) << "return " << jdk_option_class << ".empty();" << endl; in generate_java_bean_boilerplate()
2534 indent(out) << "return " << jdk_option_class << ".of(this."; in generate_java_bean_boilerplate()
2639 indent(out) << "public " << jdk_option_class << "<" << type_name(type, true) << ">"; in generate_java_bean_boilerplate()
2656 indent(out) << "return " << jdk_option_class << ".of(this."; in generate_java_bean_boilerplate()
2667 indent(out) << "return " << jdk_option_class << ".empty();" << endl; in generate_java_bean_boilerplate()