Home
last modified time | relevance | path

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

12345678910

/external/caliper/caliper/src/main/java/com/google/caliper/memory/
DObjectExplorer.java117 boolean isPrimitive = valueClass.getComponentType().isPrimitive(); in exploreObject()
124 if (isPrimitive) { in exploreObject()
156 boolean isPrimitive = field.getType().isPrimitive(); in exploreObject()
158 if (isPrimitive) { in exploreObject()
DChain.java106 public boolean isPrimitive() {
107 return getValueType().isPrimitive();
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DTypeHelper.java46 if (type.isPrimitive()) { in isProperType()
99 … if (s.isPrimitive() && t.isPrimitive() && areCompatibleThroughWideningPrimitiveConversion(s, t)) { in isCompatibleInALooseInvocationContext()
111 if (s.isPrimitive() && t.isReferenceType() && in isCompatibleInALooseInvocationContext()
118 if (isUnboxable(s) && s.isReferenceType() && t.isPrimitive() && in isCompatibleInALooseInvocationContext()
160 if (s.isPrimitive() && t.isPrimitive()) { in areCompatibleThroughWideningPrimitiveConversion()
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DInvocationInfo.java34 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) { in isValidReturnType()
59 return method.getReturnType().isPrimitive(); in returnsPrimitive()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeNameTest.java162 @Test public void isPrimitive() throws Exception { in isPrimitive() method in TypeNameTest
163 assertThat(TypeName.INT.isPrimitive()).isTrue(); in isPrimitive()
164 assertThat(ClassName.get("java.lang", "Integer").isPrimitive()).isFalse(); in isPrimitive()
165 assertThat(ClassName.get("java.lang", "String").isPrimitive()).isFalse(); in isPrimitive()
166 assertThat(TypeName.VOID.isPrimitive()).isFalse(); in isPrimitive()
167 assertThat(ClassName.get("java.lang", "Void").isPrimitive()).isFalse(); in isPrimitive()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/
Dcom_github_javaparser_symbolsolver_model_typesystem_ArrayType.txt7 …Line 88) baseType.isPrimitive() ==> com.github.javaparser.symbolsolver.model.typesystem.Type.isPri…
8 …asArrayType().getComponentType().isPrimitive() ==> com.github.javaparser.symbolsolver.model.typesy…
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DInferenceContext.java101 } else if (formalType instanceof InferenceVariableType && !actualType.isPrimitive()) { in registerCorrespondance()
148 } else if (actualType.isPrimitive()) { in registerCorrespondance()
149 if (formalType.isPrimitive()) { in registerCorrespondance()
155 if (formalType.isPrimitive()) { in registerCorrespondance()
184 } else if (type.isNull() || type.isPrimitive() || type.isVoid()) { in placeInferenceVariables()
201 } else if (type.isNull() || type.isPrimitive() || type.isVoid()) { in resolve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-logic/com/github/javaparser/symbolsolver/logic/
DInferenceContext.java103 } else if (formalType instanceof InferenceVariableType && !actualType.isPrimitive()) { in registerCorrespondance()
150 } else if (actualType.isPrimitive()) { in registerCorrespondance()
151 if (formalType.isPrimitive()) { in registerCorrespondance()
176 } else if (type.isNull() || type.isPrimitive() || type.isVoid()) { in placeInferenceVariables()
193 } else if (type.isNull() || type.isPrimitive() || type.isVoid()) { in resolve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DWildcardUsageTest.java87 assertEquals(false, unbounded.isPrimitive()); in testIsPrimitive()
88 assertEquals(false, superFoo.isPrimitive()); in testIsPrimitive()
89 assertEquals(false, superBar.isPrimitive()); in testIsPrimitive()
90 assertEquals(false, extendsFoo.isPrimitive()); in testIsPrimitive()
91 assertEquals(false, extendsBar.isPrimitive()); in testIsPrimitive()
/external/mockito/src/main/java/org/mockito/internal/creation/instance/
DConstructorInstantiator.java125 if (types[i].isPrimitive()) { in paramsMatch()
128 } else if ((!types[i].isPrimitive() && !types[i].isInstance(params[i])) || in paramsMatch()
129 … (types[i].isPrimitive() && !types[i].equals(Primitives.primitiveTypeOf(params[i].getClass())))) { in paramsMatch()
166 if (!paramType.isPrimitive()) { in evaluateConstructor()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/
DMethodResolutionLogic.java122 … if (actualType.isWildcard() && withWildcardTolerance && !expectedType.isPrimitive()) { in isApplicable()
243 } else if (type.isPrimitive()) { in replaceTypeParam()
496 else if (paramTypeA.isPrimitive() == argType.isPrimitive() && in isMoreSpecific()
497 paramTypeB.isPrimitive() != argType.isPrimitive() && in isMoreSpecific()
501 } else if (paramTypeB.isPrimitive() == argType.isPrimitive() && in isMoreSpecific()
502 paramTypeA.isPrimitive() != argType.isPrimitive() && in isMoreSpecific()
669 if (source.isPrimitive() || target.isPrimitive()) { in inferTypes()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/
DArrayType.java88 if (baseType.isPrimitive() && other.asArrayType().getComponentType().isPrimitive()) { in isAssignableBy()
DPrimitiveType.java83 public boolean isPrimitive() { in isPrimitive() method in PrimitiveType
104 if (other.isPrimitive()) { in isAssignableBy()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedArrayType.java93 if (baseType.isPrimitive() && other.asArrayType().getComponentType().isPrimitive()) { in isAssignableBy()
DResolvedPrimitiveType.java84 public boolean isPrimitive() { in isPrimitive() method in ResolvedPrimitiveType
105 if (other.isPrimitive()) { in isAssignableBy()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DType.java57 public boolean isPrimitive() { in isPrimitive() method in Type
58 return getTypeMirror().getKind().isPrimitive(); in isPrimitive()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistFactory.txt4 Line 35) ctClazz.isPrimitive() ==> javassist.CtClass.isPrimitive()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionFactory.txt2 Line 41) clazz.isPrimitive() ==> java.lang.Class.isPrimitive()
16 Line 68) c.isPrimitive() ==> java.lang.Class.isPrimitive()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/
DLazyType.java34 public boolean isPrimitive() { in isPrimitive() method in LazyType
35 return getType().isPrimitive(); in isPrimitive()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/
DLazyType.java35 public boolean isPrimitive() { in isPrimitive() method in LazyType
36 return getType().isPrimitive(); in isPrimitive()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJavaType.java282 return _class.isPrimitive(); in isConcrete()
319 public final boolean isPrimitive() { return _class.isPrimitive(); } in isPrimitive() method in JavaType
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFieldWalker.kt103 type.isArray && !type.componentType.isPrimitive -> { in <lambda>()
156 !it.type.isPrimitive in <lambda>()
158 && !(it.type.isArray && it.type.componentType.isPrimitive) in <lambda>()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_utils_ClassUtils.txt14 Line 51) type.isPrimitive() ==> java.lang.Class.isPrimitive()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DTypeSameAsType.java53 if (isInferenceVariable(S) && !T.isPrimitive()) { in reduce()
60 if (isInferenceVariable(T) && !S.isPrimitive()) { in reduce()
DTypeCompatibleWithType.java45 if (s.isPrimitive()) { in reduce()
53 if (t.isPrimitive()) { in reduce()

12345678910