Home
last modified time | relevance | path

Searched refs:getComponentType (Results 1 – 25 of 202) sorted by relevance

123456789

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/type/
DArrayTypeTest.java45 ArrayType arrayType2 = arrayType1.getComponentType().asArrayType(); in getFieldDeclarationWithArrays()
46 ArrayType arrayType3 = arrayType2.getComponentType().asArrayType(); in getFieldDeclarationWithArrays()
47 ArrayType arrayType4 = arrayType3.getComponentType().asArrayType(); in getFieldDeclarationWithArrays()
48 PrimitiveType elementType = arrayType4.getComponentType().asPrimitiveType(); in getFieldDeclarationWithArrays()
67 ArrayType arrayType2 = arrayType1.getComponentType().asArrayType(); in getVariableDeclarationWithArrays()
68 ArrayType arrayType3 = arrayType2.getComponentType().asArrayType(); in getVariableDeclarationWithArrays()
69 ArrayType arrayType4 = arrayType3.getComponentType().asArrayType(); in getVariableDeclarationWithArrays()
70 PrimitiveType elementType = arrayType4.getComponentType().asPrimitiveType(); in getVariableDeclarationWithArrays()
88 ArrayType arrayType2 = arrayType1.getComponentType().asArrayType(); in getMethodDeclarationWithArrays()
89 Type elementType = arrayType2.getComponentType(); in getMethodDeclarationWithArrays()
[all …]
/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.txt8 …Line 88) other.asArrayType().getComponentType().isPrimitive() ==> com.github.javaparser.symbolsolv…
9 …e 88) other.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
11 …Line 89) baseType.equals(other.asArrayType().getComponentType()) ==> java.lang.Object.equals(java.…
12 …e 89) other.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
14 …Line 91) baseType.isAssignableBy(other.asArrayType().getComponentType()) ==> com.github.javaparser…
15 …e 91) other.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
Dcom_github_javaparser_symbolsolver_model_declarations_ParameterDeclaration.txt2 …Line 47) getType().asArrayType().getComponentType().describe() ==> com.github.javaparser.symbolsol…
3 …) getType().asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
Dcom_github_javaparser_symbolsolver_model_typesystem_Type.txt2 …Line 49) this.asArrayType().getComponentType().arrayLevel() ==> com.github.javaparser.symbolsolver…
3 …ne 49) this.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
/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.java81 public Type getComponentType() { in getComponentType() method in ArrayType
88 if (baseType.isPrimitive() && other.asArrayType().getComponentType().isPrimitive()) { in isAssignableBy()
89 return baseType.equals(other.asArrayType().getComponentType()); in isAssignableBy()
91 return baseType.isAssignableBy(other.asArrayType().getComponentType()); in isAssignableBy()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedArrayType.java86 public ResolvedType getComponentType() { in getComponentType() method in ResolvedArrayType
93 if (baseType.isPrimitive() && other.asArrayType().getComponentType().isPrimitive()) { in isAssignableBy()
94 return baseType.equals(other.asArrayType().getComponentType()); in isAssignableBy()
96 return baseType.isAssignableBy(other.asArrayType().getComponentType()); in isAssignableBy()
/external/javassist/src/main/javassist/
DCtArray.java52 mod |= getComponentType().getModifiers() in getModifiers()
90 && getComponentType().subtypeOf(clazz.getComponentType()); in subtypeOf()
94 public CtClass getComponentType() throws NotFoundException in getComponentType() method in CtArray
/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.txt2 …Line 34) typeUsageFor(ctClazz.getComponentType(), typeSolver) ==> com.github.javaparser.symbolsolv…
3 Line 34) ctClazz.getComponentType() ==> javassist.CtClass.getComponentType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt22 …Line 235) ClassUtils.isPrimitiveOrWrapper(clazz.getComponentType()) ==> com.github.javaparser.util…
23 Line 235) clazz.getComponentType() ==> java.lang.Class.getComponentType()
24 …Line 236) clazz.getComponentType().getName().startsWith("java.lang") ==> java.lang.String.startsWi…
25 Line 236) clazz.getComponentType().getName() ==> java.lang.Class.getName()
26 Line 236) clazz.getComponentType() ==> java.lang.Class.getComponentType()
27 …Line 237) addImport(clazz.getComponentType().getName()) ==> com.github.javaparser.ast.CompilationU…
28 Line 237) clazz.getComponentType().getName() ==> java.lang.Class.getName()
29 Line 237) clazz.getComponentType() ==> java.lang.Class.getComponentType()
Dcom_github_javaparser_ast_type_ArrayType.txt13 …Line 78) arrayType.getComponentType() ==> com.github.javaparser.ast.type.ArrayType.getComponentTyp…
/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.java113 …gisterCorrespondance(formalType.asArrayType().getComponentType(), actualType.asArrayType().getComp… in registerCorrespondance()
175 return new ArrayType(placeInferenceVariables(type.asArrayType().getComponentType())); in placeInferenceVariables()
196 return new ArrayType(resolve(type.asArrayType().getComponentType())); in resolve()
/external/javaparser/javaparser-symbol-solver-logic/src/main/java/com/github/javaparser/symbolsolver/logic/
DInferenceContext.java111 …gisterCorrespondance(formalType.asArrayType().getComponentType(), actualType.asArrayType().getComp… in registerCorrespondance()
183 … return new ResolvedArrayType(placeInferenceVariables(type.asArrayType().getComponentType())); in placeInferenceVariables()
204 return new ResolvedArrayType(resolve(type.asArrayType().getComponentType())); in resolve()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DMethodCallExprContext.java198 parameterType = parameterType.asArrayType().getComponentType(); in solveMethodAsUsage()
259 ResolvedType sourceComponentType = source.asArrayType().getComponentType(); in inferTypes()
260 ResolvedType targetComponentType = target.asArrayType().getComponentType(); in inferTypes()
311 … methodUsage.getDeclaration().getLastParam().getType().asArrayType().getComponentType(); in resolveMethodTypeParameters()
315 … actualParamTypes.get(actualParamTypes.size() - 1).asArrayType().getComponentType() : in resolveMethodTypeParameters()
365 expectedType.asArrayType().getComponentType(), in matchTypeParameters()
366 actualType.isNull() ? actualType : actualType.asArrayType().getComponentType(), in matchTypeParameters()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-logic/
Dcom_github_javaparser_symbolsolver_logic_InferenceContext.txt57 …gisterCorrespondance(formalType.asArrayType().getComponentType(), actualType.asArrayType().getComp…
58 … formalType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
60 … actualType.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
132 …Line 175) placeInferenceVariables(type.asArrayType().getComponentType()) ==> com.github.javaparser…
133 …e 175) type.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
153 …Line 196) resolve(type.asArrayType().getComponentType()) ==> com.github.javaparser.symbolsolver.lo…
154 …e 196) type.asArrayType().getComponentType() ==> com.github.javaparser.symbolsolver.model.typesyst…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/
DArrayType.java41 public Type getComponentType() { in getComponentType() method in ArrayType
78 type = arrayType.getComponentType(); in unwrapArrayTypes()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DJavassistHelper.java118 CtClass arrayType = parameterType.getComponentType(); in getSignature()
121 arrayType = arrayType.getComponentType(); in getSignature()
/external/guava/guava/src/com/google/common/reflect/
DTypeToken.java511 return getComponentType() != null; in isArray()
561 public final @Nullable TypeToken<?> getComponentType() { in getComponentType() method in TypeToken
562 Type componentType = Types.getComponentType(runtimeType); in getComponentType()
917 return of(fromClass.getComponentType()).isSubtypeOf(supertype.getGenericComponentType());
933 return of(subtype.getGenericComponentType()).isSubtypeOf(thisClass.getComponentType());
1156 toGenericType(cls.getComponentType()).runtimeType);
1223 checkNotNull(getComponentType(), "%s isn't a super type of %s", supertype, this);
1226 TypeToken<?> componentSupertype = componentType.getSupertype(supertype.getComponentType());
1237 TypeToken<?> componentSubtype = getComponentType().getSubtype(subclass.getComponentType());
/external/guava/android/guava/src/com/google/common/reflect/
DTypeToken.java513 return getComponentType() != null; in isArray()
564 public final TypeToken<?> getComponentType() { in getComponentType() method in TypeToken
565 Type componentType = Types.getComponentType(runtimeType); in getComponentType()
920 return of(fromClass.getComponentType()).isSubtypeOf(supertype.getGenericComponentType());
936 return of(subtype.getGenericComponentType()).isSubtypeOf(thisClass.getComponentType());
1160 toGenericType(cls.getComponentType()).runtimeType);
1227 checkNotNull(getComponentType(), "%s isn't a super type of %s", supertype, this);
1230 TypeToken<?> componentSupertype = componentType.getSupertype(supertype.getComponentType());
1241 TypeToken<?> componentSubtype = getComponentType().getSubtype(subclass.getComponentType());
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DArrayTypeTest.java144 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType() in testReplaceParam()
147 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType() in testReplaceParam()
152 arrayOfListOfA.replaceTypeVariables(tpA, OBJECT).asArrayType().getComponentType()); in testReplaceParam()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DTypeSameAsType.java83 S.asArrayType().getComponentType(), in reduce()
84 T.asArrayType().getComponentType())); in reduce()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java235 else if (clazz.isArray() && !ClassUtils.isPrimitiveOrWrapper(clazz.getComponentType()) in addImport()
236 && !clazz.getComponentType().getName().startsWith("java.lang")) in addImport()
237 return addImport(clazz.getComponentType().getName()); in addImport()
/external/dagger2/java/dagger/internal/codegen/validation/
DMembersInjectionValidator.java121 .getComponentType()
136 return arrayType.getComponentType().accept(this, null);
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DArrayBuilders.java219 T[] result = (T[]) Array.newInstance(array.getClass().getComponentType(), len);
232 T[] result = (T[]) Array.newInstance(array.getClass().getComponentType(), len+1);
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DResolvedParameterDeclaration.java59 return getType().asArrayType().getComponentType().describe() + "..."; in describeType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/declarations/
DParameterDeclaration.java47 return getType().asArrayType().getComponentType().describe() + "..."; in describeType()

123456789