| // This file is autogenerated by | |
| // base/android/java_flag_generator/java_flag_generator.py | |
| // From | |
| // //chrome/flags/test_feature_list.cc | |
| // DO NOT EDIT. | |
| package org.chromium.foo; | |
| import org.chromium.base.BaseFeatureMap; | |
| import org.chromium.build.annotations.NullMarked; | |
| /** | |
| * Typed accessors for the features in kFeaturesExposedToJava and the params in | |
| * k*ParamsExposedToJava. | |
| */ | |
| @NullMarked | |
| public final class SampleFeatures { | |
| static double getParamValueAsDouble(String featureName, String paramName) { | |
| return BaseFeatureMap.getInstance().getParamValueAsDouble(featureName, paramName); | |
| } | |
| /** {@code foo::kFooParam} */ | |
| public static final class FooParam { | |
| public static final String NAME = "FooParam"; | |
| public static double getValue() { | |
| return getParamValueAsDouble("FooFeature", NAME); | |
| } | |
| } | |
| } |