Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/io/
DObjectStreamField.java164 if (cl.isPrimitive()) { in getClassSignature()
177 if (cl.isPrimitive()) { in appendClassSignature()
199 type = (showType || ftype.isPrimitive()) ? ftype : Object.class; in ObjectStreamField()
268 return isPrimitive() ? null : getSignature(); in getTypeString()
299 public boolean isPrimitive() { in isPrimitive() method in ObjectStreamField
325 boolean isPrim = isPrimitive(); in compareTo()
326 if (isPrim != other.isPrimitive()) { in compareTo()
DObjectStreamClass.java802 if (!f.isPrimitive()) { in writeNonProxy()
904 (type == Object.class && !f.isPrimitive())) in getField()
1614 if (cl.isPrimitive()) { in getClassSignature()
2108 if (!f.isPrimitive()) { in FieldReflector()
2752 if (fields[i].isPrimitive()) in numberPrimValues()
2780 if (f.isPrimitive()) { in streamFieldExtractor()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java136 if (!cl.isPrimitive()) { in of()
145 if (!cl.isPrimitive()) { in of()
171 if (!ptype.isPrimitive()) { in create()
179 if (!rtype.isPrimitive()) { in create()
195 if (!ptypes[i].isPrimitive()) { in getReferenceIndex()
252 if (!returnType.isPrimitive()) { in copyReturnValueTo()
265 if (returnType.isPrimitive()) { in setReturnValueTo()
289 if (!type.isPrimitive()) { in getSize()
406 if (rtype.isPrimitive()) { in makeReturnValueAccessor()
586 if (ptype.isPrimitive()) { in buildTables()
/libcore/ojluni/src/main/java/sun/invoke/util/
DWrapper.java273 if (type.isPrimitive()) in forPrimitiveType()
347 if (type.isPrimitive()) in forBasicType()
422 if (type.isPrimitive()) { in asWrapperType()
446 return type.isPrimitive(); in isPrimitiveType()
453 if (!type.isPrimitive()) in basicTypeChar()
513 assert(!type.isPrimitive()); in convert()
548 type.isPrimitive() && forPrimitiveType(type) == findWrapperType(exampleType) || in forceType()
549 … exampleType.isPrimitive() && forPrimitiveType(exampleType) == findWrapperType(type) || in forceType()
550 type == Object.class && !exampleType.isPrimitive()); in forceType()
/libcore/ojluni/src/main/java/java/lang/
DClass.java362 return (isInterface() ? "interface " : (isPrimitive() ? "" : "class ")) in toString()
400 if (isPrimitive()) { in toGenericString()
875 return !cls.isPrimitive(); // Can assign any reference to java.lang.Object. in isAssignableFrom()
960 public boolean isPrimitive() { in isPrimitive() method in Class
1091 if (isPrimitive()) { in getClassLoader()
1305 if (c.isPrimitive()) { in getPackageName()
4625 if (isPrimitive() || isArray() || Void.TYPE.equals(this)) { in getNestHost()
4675 if (isPrimitive() || isArray() || in isNestmateOf()
4676 c.isPrimitive() || c.isArray()) { in isNestmateOf()
4742 if (isPrimitive() || isArray() || Void.TYPE.equals(this)) { in getNestMembers()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java523 assertFalse("Interface type claims to be primitive.", Runnable.class.isPrimitive()); in test_isPrimitive()
524 assertFalse("Object type claims to be primitive.", Object.class.isPrimitive()); in test_isPrimitive()
525 assertFalse("Prim Array type claims to be primitive.", int[].class.isPrimitive()); in test_isPrimitive()
526 assertFalse("Array type claims to be primitive.", Object[].class.isPrimitive()); in test_isPrimitive()
527 assertTrue("Prim type claims not to be primitive.", int.class.isPrimitive()); in test_isPrimitive()
528 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/ojluni/src/main/java/java/lang/constant/
DClassDesc.java245 default boolean isPrimitive() { in isPrimitive() method
296 if (isPrimitive()) in displayName()
DReferenceClassDescImpl.java72 if (c.isPrimitive()) in resolveConstantDesc()
DMethodTypeDescImpl.java57 if (cr.isPrimitive() && cr.descriptorString().equals("V")) in MethodTypeDescImpl()
DDirectMethodHandleDescImpl.java98 || (isVirtual && type.parameterType(0).isPrimitive())) { in validateFieldType()
/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/invoke/
DTypeDescriptor.java75 boolean isPrimitive(); in isPrimitive() method
DMethodType.java516 (ptype = ptypes[0]).isPrimitive()) in leadingReferenceParameter()
964 if (src.isPrimitive()) {
968 } else if (dst.isPrimitive()) {
991 if (src.isPrimitive()) {
996 if (dst.isPrimitive()) {
1003 } else if (dst.isPrimitive()) {
DConstantBootstraps.java93 if (requireNonNull(type).isPrimitive()) { in nullConstant()
227 Class<?> declaring = type.isPrimitive() in getStaticFinal()
DTransformers.java1236 if (lhs.isPrimitive() || rhs.isPrimitive()) { in exactMatch()
1303 if (componentType.isPrimitive()) { in transform()
1687 } else if (collectorRType.isPrimitive()) { in CollectArguments()
1761 } else if (combinerRType.isPrimitive()) { in FoldArguments()
2162 if (to.isPrimitive()) { in adaptArgument()
2163 if (from.isPrimitive()) { in adaptArgument()
2239 if (from.isPrimitive()) { in adaptArgument()
2336 if (to.isPrimitive()) { in explicitCastReturnValue()
2936 if (from.isPrimitive()) { in explicitCast()
2937 if (to.isPrimitive()) { in explicitCast()
[all …]
DMethodHandles.java140 if (targetClass.isPrimitive()) in privateLookupIn()
2304 if (componentType.isPrimitive()) { in arrayElementGetter()
2340 if (componentType.isPrimitive()) { in arrayElementSetter()
2998 if (type.isPrimitive()) { in constant()
3024 Wrapper btw = (type.isPrimitive() ? Wrapper.forPrimitiveType(type) : Wrapper.OBJECT); in identity()
3055 …return type.isPrimitive() ? zero(Wrapper.forPrimitiveType(type), type) : zero(Wrapper.OBJECT, typ… in zero()
3089 if (ptype.isPrimitive()) { in makeIdentity()
3180 if (!ptype.isPrimitive()) { in insertArguments()
DMethodTypeForm.java372 } else if (!t.isPrimitive()) { in canonicalize()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectStreamField.java73 public boolean isPrimitive() { in isPrimitive() method in ObjectStreamField
/libcore/ojluni/src/test/java/lang/invoke/
DVarargsArrayTest.java191 if (elemType.isPrimitive()) in makeTestArray()
221 if (elemType.isPrimitive()) { in toArrayString()
/libcore/ojluni/src/main/java/java/lang/runtime/
DObjectMethods.java182 return (clazz.isPrimitive() in equalator()
189 return (clazz.isPrimitive() in hasher()
196 return (clazz.isPrimitive() in stringifier()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceFieldUpdater.java366 if (vclass.isPrimitive()) in AtomicReferenceFieldUpdaterImpl()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java66 public boolean isPrimitive() { throw new RuntimeException("Stub!"); } in isPrimitive() method in Class
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java776 if (!componentType.isPrimitive()) { in newArray()

12