Home
last modified time | relevance | path

Searched refs:isPrimitive (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DObjectStreamField.java140 type = (showType || ftype.isPrimitive()) ? ftype : Object.class; in ObjectStreamField()
198 return isPrimitive() ? null : signature; in getTypeString()
229 public boolean isPrimitive() { in isPrimitive() method in ObjectStreamField
253 boolean isPrim = isPrimitive(); in compareTo()
254 if (isPrim != other.isPrimitive()) { in compareTo()
292 if (cl.isPrimitive()) { in getClassSignature()
DObjectStreamClass.java736 if (!f.isPrimitive()) { in writeNonProxy()
825 (type == Object.class && !f.isPrimitive())) in getField()
1474 if (cl.isPrimitive()) { in getClassSignature()
1904 if (!f.isPrimitive()) { in FieldReflector()
2250 if ((f.isPrimitive() || lf.isPrimitive()) && in matchFields()
DObjectOutputStream.java1366 if (ccl.isPrimitive()) { in writeArray()
DObjectInputStream.java1684 } else if (ccl.isPrimitive()) { in readArray()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java519 assertFalse("Interface type claims to be primitive.", Runnable.class.isPrimitive()); in test_isPrimitive()
520 assertFalse("Object type claims to be primitive.", Object.class.isPrimitive()); in test_isPrimitive()
521 assertFalse("Prim Array type claims to be primitive.", int[].class.isPrimitive()); in test_isPrimitive()
522 assertFalse("Array type claims to be primitive.", Object[].class.isPrimitive()); in test_isPrimitive()
523 assertTrue("Prim type claims not to be primitive.", int.class.isPrimitive()); in test_isPrimitive()
524 assertFalse("Object type claims to be primitive.", Object.class.isPrimitive()); in test_isPrimitive()
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectStreamFieldTest.java165 osfArray[i].isPrimitive()); in test_isPrimitive()
169 osfArray[(osfArray.length - 1)].isPrimitive()); in test_isPrimitive()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/
DP.java40 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/
DP.java23 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp()
/libcore/ojluni/src/main/java/java/lang/
DClass.java287 return (isInterface() ? "interface " : (isPrimitive() ? "" : "class ")) in toString()
530 return !c.isPrimitive(); // Can assign any reference to java.lang.Object. in isAssignableFrom()
606 public boolean isPrimitive() { in isPrimitive() method in Class
733 if (isPrimitive()) { in getClassLoader()
/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceFieldUpdater.java314 if (vclass.isPrimitive()) in AtomicReferenceFieldUpdaterImpl()
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java736 if (!componentType.isPrimitive()) { in newArray()