Home
last modified time | relevance | path

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

12

/external/smali/smalidea/src/main/java/org/jf/smalidea/util/
DNameUtils.java88 public static String javaToSmaliType(@NotNull String javaType) { in javaToSmaliType() argument
89 if (javaType.charAt(javaType.length()-1) == ']') { in javaToSmaliType()
92 for (int i=0; i<javaType.length(); i++) { in javaToSmaliType()
93 if (javaType.charAt(i) == '[') { in javaToSmaliType()
105 convertSimpleJavaToSmaliType(javaType.substring(0, firstArrayChar), sb); in javaToSmaliType()
110 return simpleJavaToSmaliType(javaType); in javaToSmaliType()
113 …private static void convertSimpleJavaToSmaliType(@NotNull String javaType, @NotNull StringBuilder … in convertSimpleJavaToSmaliType() argument
114 String smaliType = javaToSmaliPrimitiveTypes.get(javaType); in convertSimpleJavaToSmaliType()
119 for (int i=0; i<javaType.length(); i++) { in convertSimpleJavaToSmaliType()
120 char c = javaType.charAt(i); in convertSimpleJavaToSmaliType()
[all …]
/external/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()
/external/smali/smalidea/src/test/java/org/jf/smalidea/util/
DNameUtilsTest.java78 private static void testConversion(String javaType, String smaliType) { in testConversion() argument
79 Assert.assertEquals(javaType, NameUtils.smaliToJavaType(smaliType)); in testConversion()
80 Assert.assertEquals(smaliType, NameUtils.javaToSmaliType(javaType)); in testConversion()
/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/
DAbstractTypeNode.java50 String javaType() { in javaType() method in AbstractTypeNode
69 writer.print(javaType()); in genJavaDeclaration()
75 return javaType() + " " + name; in javaParam()
DRepeatNode.java65 String javaType() { in javaType() method in RepeatNode
66 return member.javaType() + "[]"; in javaType()
93 writer.println(readLabel + " = new " + member.javaType() + in genJavaRead()
DNode.java119 String javaType() { in javaType() method in Node
155 writer.print(writeLabel + "(" + javaType() + "): \" + "); in genJavaDebugWrite()
176 writer.print(readLabel + "(" + javaType() + "): \" + "); in genJavaDebugRead()
DInterfaceTypeNode.java36 String javaType() { in javaType() method in InterfaceTypeNode
DThreadGroupObjectTypeNode.java36 String javaType() { in javaType() method in ThreadGroupObjectTypeNode
DArrayTypeNode.java36 String javaType() { in javaType() method in ArrayTypeNode
DClassLoaderObjectTypeNode.java36 String javaType() { in javaType() method in ClassLoaderObjectTypeNode
DClassTypeNode.java36 String javaType() { in javaType() method in ClassTypeNode
DClassObjectTypeNode.java36 String javaType() { in javaType() method in ClassObjectTypeNode
DThreadObjectTypeNode.java36 String javaType() { in javaType() method in ThreadObjectTypeNode
DStringObjectTypeNode.java36 String javaType() { in javaType() method in StringObjectTypeNode
DArrayObjectTypeNode.java36 String javaType() { in javaType() method in ArrayObjectTypeNode
DArrayRegionTypeNode.java37 String javaType() { in javaType() method in ArrayRegionTypeNode
DFrameTypeNode.java37 String javaType() { in javaType() method in FrameTypeNode
DStringTypeNode.java37 String javaType() { in javaType() method in StringTypeNode
DValueTypeNode.java37 String javaType() { in javaType() method in ValueTypeNode
DMethodTypeNode.java37 String javaType() { in javaType() method in MethodTypeNode
/external/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field.cc66 JavaType javaType = GetJavaType(descriptor); in SetPrimitiveVariables() local
68 (*variables)["type"] = PrimitiveTypeName(javaType); in SetPrimitiveVariables()
69 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(javaType); in SetPrimitiveVariables()
72 if (javaType == JAVATYPE_BOOLEAN || javaType == JAVATYPE_DOUBLE || in SetPrimitiveVariables()
73 javaType == JAVATYPE_FLOAT || javaType == JAVATYPE_INT || in SetPrimitiveVariables()
74 javaType == JAVATYPE_LONG) { in SetPrimitiveVariables()
76 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()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DVisibilityForSerializationTest.java160 JavaType javaType = om.getTypeFactory().constructType(TCls.class); in testVisibilityFeatures() local
161 BeanDescription desc = (BeanDescription) om.getSerializationConfig().introspect(javaType); in testVisibilityFeatures()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DDefaultSerializerProvider.java556 public void acceptJsonFormatVisitor(JavaType javaType, JsonFormatVisitorWrapper visitor) in acceptJsonFormatVisitor() argument
559 if (javaType == null) { in acceptJsonFormatVisitor()
566 findValueSerializer(javaType, null).acceptJsonFormatVisitor(visitor, javaType); in acceptJsonFormatVisitor()

12