Home
last modified time | relevance | path

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

1234567891011

/external/doclava/doclet_adapter/src/test/java/com/google/doclava/javadoc/
DArrayTypeImplTest.java139 public void isPrimitive() { in isPrimitive() method in ArrayTypeImplTest
140 assertFalse(string_2.isPrimitive()); in isPrimitive()
141 assertFalse(typeVar_3.isPrimitive()); in isPrimitive()
142 assertFalse(listOfStrings_4.isPrimitive()); in isPrimitive()
143 assertFalse(annotation_5.isPrimitive()); in isPrimitive()
145 assertTrue(int_1.isPrimitive()); in isPrimitive()
/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()
/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/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/
DIntrospectionUtils.java164 return !formalClass.isPrimitive(); in isMethodInvocationConvertible()
177 if (!formalClass.isPrimitive() && actual.isPrimitive()) in isMethodInvocationConvertible()
183 if (formalClass.isPrimitive()) in isMethodInvocationConvertible()
185 if (actual.isPrimitive()) in isMethodInvocationConvertible()
281 return !formalClass.isPrimitive(); in isStrictMethodInvocationConvertible()
291 if (formalClass.isPrimitive()) in isStrictMethodInvocationConvertible()
/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/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/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/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-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/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/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-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()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedArrayType.java93 if (baseType.isPrimitive() && other.asArrayType().getComponentType().isPrimitive()) { in isAssignableBy()
/external/dagger2/java/dagger/internal/codegen/xprocessing/
DXTypes.java71 public static boolean isPrimitive(XType type) { in isPrimitive() method in XTypes
72 return XConverters.toJavac(type).getKind().isPrimitive(); in isPrimitive()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DClassUtils.java1250 return !toClass.isPrimitive();
1254 if (cls.isPrimitive() && !toClass.isPrimitive()) {
1260 if (toClass.isPrimitive() && !cls.isPrimitive()) {
1270 if (cls.isPrimitive()) {
1271 if (!toClass.isPrimitive()) {
1433 return type.isPrimitive() || isPrimitiveWrapper(type);
1485 if (cls != null && cls.isPrimitive()) {
/external/gson/gson/src/main/java/com/google/gson/internal/
DPrimitives.java33 public static boolean isPrimitive(Type type) { in isPrimitive() method in Primitives
34 return type instanceof Class<?> && ((Class<?>) type).isPrimitive(); in isPrimitive()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DBundlerGenerator.java120 .filter(t -> !t.isPrimitive()) in addWriteToParcelMethod()
214 if (objectType.getKind().isPrimitive()) { in addReadFromParcelType()
234 !t.isPrimitive()) // We can't return a primitive array with return type Object[] in addCreateArrayMethod()
277 .filter(t -> !t.isPrimitive()) in addWriteToBundleMethod()
376 if (objectType.getKind().isPrimitive()) { in addReadFromBundleType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionFactory.txt2 Line 41) clazz.isPrimitive() ==> java.lang.Class.isPrimitive()
16 Line 68) c.isPrimitive() ==> java.lang.Class.isPrimitive()
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistFactory.txt4 Line 35) ctClazz.isPrimitive() ==> javassist.CtClass.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/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/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/utils/
DUtils.kt25 isPrimitive -> { in <lambda>()
46 isPrimitive -> {
/external/doclava/doclet_adapter/src/main/java/com/google/doclava/javadoc/
DArrayTypeImpl.java107 public boolean isPrimitive() { in isPrimitive() method in ArrayTypeImpl
108 return underlyingType.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()

1234567891011