Home
last modified time | relevance | path

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

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldType.java94 private final JavaType javaType; field in FieldType
100 FieldType(int id, Collection collection, JavaType javaType) { in FieldType() argument
103 this.javaType = javaType; in FieldType()
107 elementType = javaType.getBoxedType(); in FieldType()
110 elementType = javaType.getBoxedType(); in FieldType()
120 switch (javaType) { in FieldType()
143 return javaType; in getJavaType()
179 return javaType.getType().isAssignableFrom(field.getType()); in isValidForField()
185 if (!javaType.getType().isAssignableFrom(clazz)) { in isValidForList()
DWireFormat.java151 FieldType(final JavaType javaType, final int wireType) { in FieldType() argument
152 this.javaType = javaType; in FieldType()
156 private final JavaType javaType; field in WireFormat.FieldType
160 return javaType; in getJavaType()
DDescriptors.java1289 Type(final JavaType javaType) { in Type() argument
1290 this.javaType = javaType; in Type()
1293 private JavaType javaType; field in Descriptors.FieldDescriptor.Type
1300 return javaType; in getJavaType()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field.cc65 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables() local
67 (*variables)["type"] = PrimitiveTypeName(javaType); in SetPrimitiveVariables()
68 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(javaType); in SetPrimitiveVariables()
71 if (javaType == JAVATYPE_BOOLEAN || javaType == JAVATYPE_DOUBLE || in SetPrimitiveVariables()
72 javaType == JAVATYPE_FLOAT || javaType == JAVATYPE_INT || in SetPrimitiveVariables()
73 javaType == JAVATYPE_LONG) { in SetPrimitiveVariables()
75 PrimitiveTypeName(javaType), /*cap_first_letter=*/true); in SetPrimitiveVariables()
Djava_primitive_field_lite.cc73 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables() local
74 (*variables)["type"] = PrimitiveTypeName(javaType); in SetPrimitiveVariables()
75 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(javaType); in SetPrimitiveVariables()
87 PrimitiveTypeName(javaType), true /* cap_next_letter */); in SetPrimitiveVariables()
88 switch (javaType) { in SetPrimitiveVariables()
122 if (javaType == JAVATYPE_BYTES) { in SetPrimitiveVariables()
127 if (IsReferenceType(javaType)) { in SetPrimitiveVariables()
Djava_helpers.cc433 const JavaType javaType = GetJavaType(field); in GetOneofStoredType() local
434 switch (javaType) { in GetOneofStoredType()
440 return BoxedPrimitiveTypeName(javaType); in GetOneofStoredType()