Searched refs:javaType (Results 1 – 6 of 6) sorted by relevance
94 private final JavaType javaType; field in FieldType100 FieldType(int id, Collection collection, JavaType javaType) { in FieldType() argument103 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()
151 FieldType(final JavaType javaType, final int wireType) { in FieldType() argument152 this.javaType = javaType; in FieldType()156 private final JavaType javaType; field in WireFormat.FieldType160 return javaType; in getJavaType()
1289 Type(final JavaType javaType) { in Type() argument1290 this.javaType = javaType; in Type()1293 private JavaType javaType; field in Descriptors.FieldDescriptor.Type1300 return javaType; in getJavaType()
65 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables() local67 (*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()
73 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables() local74 (*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()
433 const JavaType javaType = GetJavaType(field); in GetOneofStoredType() local434 switch (javaType) { in GetOneofStoredType()440 return BoxedPrimitiveTypeName(javaType); in GetOneofStoredType()