Home
last modified time | relevance | path

Searched refs:checkNotNull (Results 1 – 25 of 74) sorted by relevance

123

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldInfo.java33 import static com.google.protobuf.Internal.checkNotNull;
67 checkNotNull(field, "field"); in forField()
68 checkNotNull(fieldType, "fieldType"); in forField()
92 checkNotNull(field, "field"); in forPackedField()
93 checkNotNull(fieldType, "fieldType"); in forPackedField()
117 checkNotNull(field, "field"); in forRepeatedMessageField()
118 checkNotNull(fieldType, "fieldType"); in forRepeatedMessageField()
119 checkNotNull(messageClass, "messageClass"); in forRepeatedMessageField()
139 checkNotNull(field, "field"); in forFieldWithEnumVerifier()
163 checkNotNull(field, "field"); in forPackedFieldWithEnumVerifier()
[all …]
DProtobuf.java33 import static com.google.protobuf.Internal.checkNotNull;
89 checkNotNull(messageType, "messageType"); in schemaFor()
119 checkNotNull(messageType, "messageType"); in registerSchema()
120 checkNotNull(schema, "schema"); in registerSchema()
134 checkNotNull(messageType, "messageType"); in registerSchemaOverride()
135 checkNotNull(schema, "schema"); in registerSchemaOverride()
DMapFieldLite.java33 import static com.google.protobuf.Internal.checkNotNull;
95 checkNotNull(key); in put()
97 checkNotNull(value); in put()
120 checkNotNull(key); in checkForNullKeysAndValues()
121 checkNotNull(m.get(key)); in checkForNullKeysAndValues()
DStructuralMessageInfo.java33 import static com.google.protobuf.Internal.checkNotNull;
67 this.defaultInstance = (MessageLite) checkNotNull(defaultInstance, "defaultInstance"); in StructuralMessageInfo()
132 this.syntax = checkNotNull(syntax, "syntax"); in withSyntax()
DSingleFieldBuilder.java33 import static com.google.protobuf.Internal.checkNotNull;
80 this.message = checkNotNull(message); in SingleFieldBuilder()
160 this.message = checkNotNull(message); in setMessage()
DSingleFieldBuilderV3.java33 import static com.google.protobuf.Internal.checkNotNull;
80 this.message = checkNotNull(message); in SingleFieldBuilderV3()
160 this.message = checkNotNull(message); in setMessage()
DRepeatedFieldBuilderV3.java33 import static com.google.protobuf.Internal.checkNotNull;
280 checkNotNull(message); in setMessage()
301 checkNotNull(message); in addMessage()
322 checkNotNull(message); in addMessage()
343 checkNotNull(value); in addAllMessages()
DRepeatedFieldBuilder.java33 import static com.google.protobuf.Internal.checkNotNull;
280 checkNotNull(message); in setMessage()
301 checkNotNull(message); in addMessage()
322 checkNotNull(message); in addMessage()
343 checkNotNull(value); in addAllMessages()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DCldrDataProcessor.java5 import static com.google.common.base.Preconditions.checkNotNull;
289 this.matcher = checkNotNull(matcher); in PrefixBuilder()
290 this.newStateFn = checkNotNull(newStateFn); in PrefixBuilder()
291 this.doneFn = checkNotNull(doneFn); in PrefixBuilder()
395 this.matcher = checkNotNull(matcher); in PrefixAction()
396 this.newStateFn = checkNotNull(newStateFn); in PrefixAction()
397 this.doneFn = checkNotNull(doneFn); in PrefixAction()
417 this.matcher = checkNotNull(matcher); in ValueAction()
418 this.doFn = checkNotNull(doFn); in ValueAction()
436 this.processor = checkNotNull(processor); in DispatchingVisitor()
[all …]
DIcuConverterConfig.java6 import static com.google.common.base.Preconditions.checkNotNull;
62 this.outputDir = checkNotNull(outputDir); in setOutputDir()
73 this.specialsDir = checkNotNull(specialsDir); in setSpecialsDir()
108 this.minimumDraftStatus = checkNotNull(minimumDraftStatus); in setMinimumDraftStatus()
149 this.outputDir = checkNotNull(builder.outputDir); in IcuConverterConfig()
152 this.specialsDir = checkNotNull(builder.specialsDir, in IcuConverterConfig()
164 this.minimumDraftStatus = checkNotNull(builder.minimumDraftStatus); in IcuConverterConfig()
DLdmlConverterConfig.java15 import static com.google.common.base.Preconditions.checkNotNull;
69 this.icuVersion = checkNotNull(icuVersion); in IcuVersionInfo()
70 this.icuDataVersion = checkNotNull(icuDataVersion); in IcuVersionInfo()
71 this.cldrVersion = checkNotNull(cldrVersion); in IcuVersionInfo()
DPathValueTransformer.java5 import static com.google.common.base.Preconditions.checkNotNull;
41 this.key = checkNotNull(key); in Result()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
DRule.java5 import static com.google.common.base.Preconditions.checkNotNull;
78 this.dtdType = checkNotNull(dtdType); in Rule()
79 this.pathPrefix = checkNotNull(pathPrefix); in Rule()
81 this.xpathSpec = checkNotNull(xpathSpec); in Rule()
171 this.varString = checkNotNull(varString); in DynamicRule()
172 this.dynamicVarFn = checkNotNull(varFn); in DynamicRule()
DVarString.java5 import static com.google.common.base.Preconditions.checkNotNull;
52 this.varString = checkNotNull(varString); in VarString()
53 this.requiredChars = checkNotNull(requiredChars); in VarString()
54 this.varMap = checkNotNull(varMap); in VarString()
DNamedFunction.java7 import static com.google.common.base.Preconditions.checkNotNull;
39 this.fn = checkNotNull(fn); in NamedFunction()
46 return checkNotNull(apply(args), in call()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/testing/
DTestNumberingScheme.java19 import static com.google.common.base.Preconditions.checkNotNull;
113 this.callingCode = checkNotNull(cc); in TestNumberingScheme()
114 this.mainRegion = checkNotNull(main); in TestNumberingScheme()
184 csvRanges.assign(RangesTableSchema.TYPE, checkNotNull(type), ranges, OverwriteMode.NEVER); in addRanges()
185 csvRanges.assign(RangesTableSchema.TARIFF, checkNotNull(tariff), ranges, OverwriteMode.NEVER); in addRanges()
230 table.assign(ShortcodesTableSchema.TYPE, checkNotNull(type), ranges, OverwriteMode.NEVER); in addShortcodes()
231 table.assign(ShortcodesTableSchema.TARIFF, checkNotNull(tariff), ranges, OverwriteMode.NEVER); in addShortcodes()
243 checkNotNull(shortcodes.get(region), "no shortcodes in region %s", region); in forShortcodesIn()
362 this.region = checkNotNull(region); in ShortcodeModifier()
399 this.region = checkNotNull(region); in TypeModifier()
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DCsvKeyMarshaller.java18 import static com.google.common.base.Preconditions.checkNotNull;
53 this.serialize = checkNotNull(serialize); in CsvKeyMarshaller()
54 this.deserialize = checkNotNull(deserialize); in CsvKeyMarshaller()
55 this.ordering = checkNotNull(ordering); in CsvKeyMarshaller()
DDisjointRangeMap.java19 import static com.google.common.base.Preconditions.checkNotNull;
46 this.column = checkNotNull(column); in Builder()
56 T checkedValue = column.cast(checkNotNull(value)); in getRanges()
142 this.column = checkNotNull(column); in DisjointRangeMap()
DRangeException.java19 import static com.google.common.base.Preconditions.checkNotNull;
45 super(explain(checkNotNull(column), value, existing, ranges, intersection, checkNotNull(mode))); in RangeException()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DIndexer.java5 import static com.google.common.base.Preconditions.checkNotNull;
32 this.convertIndexFn = checkNotNull(convertIndexFn); in Indexer()
38 indexMap.putIfAbsent(checkNotNull(value), indexMap.size()); in apply()
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
DMetadataZipFileReader.java18 import static com.google.common.base.Preconditions.checkNotNull;
44 this.metadataZipFile = checkNotNull(metadataZipFile); in MetadataZipFileReader()
51 checkNotNull(file); in of()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DLocaleMapper.java5 import static com.google.common.base.Preconditions.checkNotNull;
66 this.unresolved = checkNotNull(unresolved); in LocaleMapper()
67 this.icuSpecialData = checkNotNull(icuSpecialData); in LocaleMapper()
DCollationMapper.java6 import static com.google.common.base.Preconditions.checkNotNull;
84 this.icuData = checkNotNull(icuData); in CollationMapper()
85 this.cldrVersion = checkNotNull(cldrVersion); in CollationMapper()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DRangeTreeFactorizer.java18 import static com.google.common.base.Preconditions.checkNotNull;
105 this.factor = checkNotNull(factor); in RangeTreeFactorizer()
177 this.path = checkNotNull(path); in MergingVisitor()
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
DResultSubject.java5 import static com.google.common.base.Preconditions.checkNotNull;
24 super(metadata, checkNotNull(result)); in ResultSubject()

123