/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/ |
D | ResolvedTypeVariable.java | 37 private ResolvedTypeParameterDeclaration typeParameter; field in ResolvedTypeVariable 39 public ResolvedTypeVariable(ResolvedTypeParameterDeclaration typeParameter) { in ResolvedTypeVariable() argument 40 this.typeParameter = typeParameter; in ResolvedTypeVariable() 45 return "TypeVariable {" + typeParameter.getQualifiedName() + "}"; in toString() 49 return this.typeParameter.getQualifiedName(); in qualifiedName() 59 if (!typeParameter.getName().equals(that.typeParameter.getName())) return false; in equals() 60 if (typeParameter.declaredOnType() != that.typeParameter.declaredOnType()) return false; in equals() 61 if (typeParameter.declaredOnMethod() != that.typeParameter.declaredOnMethod()) return false; in equals() 68 return typeParameter.hashCode(); in hashCode() 83 if(tpToBeReplaced.getName().equals(this.typeParameter.getName())){ in replaceTypeVariables() [all …]
|
/external/annotation-tools/annotation-file-utilities/tests/converted/ |
D | WildcardAnnoBound.jaif | 36 …insert-annotation Class.typeParameter 0, TypeParameter.bound 0, ParameterizedType.typeArgument 0, … 44 insert-annotation Class.typeParameter 0, TypeParameter.bound 0: @A 48 …insert-annotation Class.typeParameter 0, TypeParameter.bound 1, ParameterizedType.typeArgument 0, … 49 …insert-annotation Class.typeParameter 0, TypeParameter.bound 2, ParameterizedType.typeArgument 0, … 50 …insert-annotation Class.typeParameter 0, TypeParameter.bound 1, ParameterizedType.typeArgument 0: … 51 …insert-annotation Class.typeParameter 0, TypeParameter.bound 2, ParameterizedType.typeArgument 0: … 52 …insert-annotation Class.typeParameter 0, TypeParameter.bound 2, ParameterizedType.typeArgument 1: … 53 insert-annotation Class.typeParameter 0, TypeParameter.bound 0: @B 54 insert-annotation Class.typeParameter 0, TypeParameter.bound 1: @C 55 insert-annotation Class.typeParameter 0, TypeParameter.bound 2: @F [all …]
|
D | BoundClassMultiple.jaif | 18 insert-annotation Class.typeParameter 0, TypeParameter.bound 0: @java.lang.A 19 insert-annotation Class.typeParameter 1, TypeParameter.bound 0: @java.lang.B 20 insert-annotation Class.typeParameter 2, TypeParameter.bound 0: @java.lang.D 21 insert-annotation Class.typeParameter 1, TypeParameter.bound 1: @java.lang.C 22 …insert-annotation Class.typeParameter 2, TypeParameter.bound 0, ParameterizedType.typeArgument 0: …
|
D | ASTInsert.jaif | 105 …insert-annotation Class.typeParameter 0, TypeParameter.bound 0, ParameterizedType.typeArgument 0, … 113 insert-annotation Class.typeParameter 0, TypeParameter.bound 0: @A 117 …insert-annotation Class.typeParameter 0, TypeParameter.bound 1, ParameterizedType.typeArgument 0, … 118 …insert-annotation Class.typeParameter 0, TypeParameter.bound 2, ParameterizedType.typeArgument 0, … 119 …insert-annotation Class.typeParameter 0, TypeParameter.bound 1, ParameterizedType.typeArgument 0: … 120 …insert-annotation Class.typeParameter 0, TypeParameter.bound 2, ParameterizedType.typeArgument 0: … 121 …insert-annotation Class.typeParameter 0, TypeParameter.bound 2, ParameterizedType.typeArgument 1: … 122 insert-annotation Class.typeParameter 0, TypeParameter.bound 0: @B 123 insert-annotation Class.typeParameter 0, TypeParameter.bound 1: @C 124 insert-annotation Class.typeParameter 0, TypeParameter.bound 2: @F [all …]
|
D | TypeParamMethod.jaif | 9 insert-annotation Method.typeParameter 0: @java.lang.Tainted 13 insert-annotation Method.typeParameter 0: @java.lang.Tainted 17 insert-annotation Method.typeParameter 1: @java.lang.Tainted 21 insert-annotation Method.typeParameter 1: @java.lang.Tainted
|
D | BoundMethodMultiple.jaif | 28 insert-annotation Method.typeParameter 0, TypeParameter.bound 0: @java.lang.B 32 insert-annotation Method.typeParameter 0, TypeParameter.bound 0: @java.lang.C 33 insert-annotation Method.typeParameter 0, TypeParameter.bound 1: @java.lang.D 37 insert-annotation Method.typeParameter 0, TypeParameter.bound 0: @java.lang.E 38 insert-annotation Method.typeParameter 1, TypeParameter.bound 0: @java.lang.F
|
D | ImplicitUpper.jaif | 9 insert-annotation Class.typeParameter 0, TypeParameter.bound 0: @A 13 insert-annotation Class.typeParameter 0, TypeParameter.bound 0: @B
|
D | BoundMethodSimple.jaif | 9 insert-annotation Method.typeParameter 0, TypeParameter.bound 0: @java.lang.Tainted 13 insert-annotation Method.typeParameter 0, TypeParameter.bound 0: @java.lang.Tainted
|
D | BoundClassSimple.jaif | 6 insert-annotation Class.typeParameter 0, TypeParameter.bound 0: @java.lang.Tainted
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/ |
D | com_github_javaparser_symbolsolver_model_typesystem_TypeVariable.txt | 1 …Line 39) typeParameter.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declaration… 2 …Line 43) this.typeParameter.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declar… 5 …Line 53) typeParameter.getName().equals(that.typeParameter.getName()) ==> java.lang.String.equals(… 6 …Line 53) typeParameter.getName() ==> com.github.javaparser.symbolsolver.model.declarations.TypePar… 7 …Line 53) that.typeParameter.getName() ==> com.github.javaparser.symbolsolver.model.declarations.Ty… 8 …Line 54) typeParameter.declaredOnType() ==> com.github.javaparser.symbolsolver.model.declarations.… 9 …Line 54) that.typeParameter.declaredOnType() ==> com.github.javaparser.symbolsolver.model.declarat… 10 …Line 55) typeParameter.declaredOnMethod() ==> com.github.javaparser.symbolsolver.model.declaration… 11 …Line 55) that.typeParameter.declaredOnMethod() ==> com.github.javaparser.symbolsolver.model.declar… 12 Line 62) typeParameter.hashCode() ==> java.lang.Object.hashCode() [all …]
|
D | com_github_javaparser_symbolsolver_model_methods_MethodUsage.txt | 14 …Line 125) typeParametersMap.toBuilder().setValue(typeParameter, type).build() ==> com.github.javap… 15 …Line 125) typeParametersMap.toBuilder().setValue(typeParameter, type) ==> com.github.javaparser.sy… 19 …Line 130) originalParamType.replaceTypeVariables(typeParameter, type, inferredTypes) ==> com.githu… 21 …Line 134) oldReturnType.replaceTypeVariables(typeParameter, type, inferredTypes) ==> com.github.ja…
|
D | com_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParametersMap.txt | 3 …Line 54) typeParameter.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declaration… 5 Line 56) nameToDeclaration.put(qualifiedName, typeParameter) ==> java.util.Map.put(K, V) 12 …Line 99) typeParameter.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declaration…
|
D | com_github_javaparser_symbolsolver_model_typesystem_parametrization_TypeParameterValueProvider.txt | 3 …Line 27) typeParameter.declaredOnType() ==> com.github.javaparser.symbolsolver.model.declarations.… 4 …Line 28) typeParamValue(typeParameter) ==> com.github.javaparser.symbolsolver.model.typesystem.par…
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 116 TypeVariable<?> typeParameter = typeParameters[i]; in registerTypeVariablesOn() local 120 … contextualActualTypeParameters.put(typeParameter, boundsOf((WildcardType) actualTypeArgument)); in registerTypeVariablesOn() 121 } else if (typeParameter != actualTypeArgument) { in registerTypeVariablesOn() 122 contextualActualTypeParameters.put(typeParameter, actualTypeArgument); in registerTypeVariablesOn() 146 private BoundedType boundsOf(TypeVariable<?> typeParameter) { in boundsOf() argument 147 if (typeParameter.getBounds()[0] instanceof TypeVariable) { in boundsOf() 148 return boundsOf((TypeVariable<?>) typeParameter.getBounds()[0]); in boundsOf() 150 return new TypeVarBoundedType(typeParameter); in boundsOf() 206 for (TypeVariable<?> typeParameter : typeParameters) { in actualTypeArguments() 208 Type actualType = getActualTypeArgumentFor(typeParameter); in actualTypeArguments() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/parametrization/ |
D | ResolvedTypeParametersMap.java | 58 public Builder setValue(ResolvedTypeParameterDeclaration typeParameter, in setValue() argument 61 String qualifiedName = typeParameter.getQualifiedName(); in setValue() 63 nameToDeclaration.put(qualifiedName, typeParameter); in setValue() 106 public ResolvedType getValue(ResolvedTypeParameterDeclaration typeParameter) { in getValue() argument 107 String qualifiedName = typeParameter.getQualifiedName(); in getValue() 111 return new ResolvedTypeVariable(typeParameter); in getValue()
|
D | ResolvedTypeParameterValueProvider.java | 47 ResolvedTypeParameterDeclaration typeParameter = type.asTypeParameter(); in useThisTypeParametersOnTheGivenType() local 48 if (typeParameter.declaredOnType()) { in useThisTypeParametersOnTheGivenType() 49 Optional<ResolvedType> typeParam = typeParamValue(typeParameter); in useThisTypeParametersOnTheGivenType()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithTypeParameters.java | 44 default N setTypeParameter(int i, TypeParameter typeParameter) { in setTypeParameter() argument 45 getTypeParameters().set(i, typeParameter); in setTypeParameter() 50 default N addTypeParameter(TypeParameter typeParameter) { in addTypeParameter() argument 51 getTypeParameters().add(typeParameter); in addTypeParameter()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/ |
D | MethodUsage.java | 153 …public MethodUsage replaceTypeParameter(ResolvedTypeParameterDeclaration typeParameter, ResolvedTy… in replaceTypeParameter() argument 160 typeParametersMap.toBuilder().setValue(typeParameter, type).build()); in replaceTypeParameter() 165 …ResolvedType newParamType = originalParamType.replaceTypeVariables(typeParameter, type, inferredTy… in replaceTypeParameter() 170 … ResolvedType newType = originalType.replaceTypeVariables(typeParameter, type, inferredTypes); in replaceTypeParameter() 174 …ResolvedType newReturnType = oldReturnType.replaceTypeVariables(typeParameter, type, inferredTypes… in replaceTypeParameter()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/declarations/common/ |
D | MethodDeclarationCommonLogic.java | 71 ResolvedTypeParameterDeclaration typeParameter = type.asTypeParameter(); in replaceTypeParams() local 72 if (typeParameter.declaredOnType()) { in replaceTypeParams() 73 … Optional<ResolvedType> typeParam = typeParamByName(typeParameter.getName(), typeSolver, context); in replaceTypeParams()
|
/external/annotation-tools/scene-lib/src/type/ |
D | DeclaredType.java | 86 public void addTypeParameter(Type typeParameter) { in addTypeParameter() argument 88 typeParameters.add(typeParameter); in addTypeParameter()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserTypeAdapter.txt | 22 …Line 81) typeParameter.getName().getId().equals(name) ==> java.lang.String.equals(java.lang.Object) 23 …Line 81) typeParameter.getName().getId() ==> com.github.javaparser.ast.nodeTypes.NodeWithIdentifie… 24 Line 81) typeParameter.getName() ==> com.github.javaparser.ast.type.TypeParameter.getName() 25 …Line 82) SymbolReference.solved(new JavaParserTypeVariableDeclaration(typeParameter, typeSolver)) …
|
D | com_github_javaparser_symbolsolver_declarations_common_MethodDeclarationCommonLogic.txt | 18 …Line 72) typeParameter.declaredOnType() ==> com.github.javaparser.symbolsolver.model.declarations.… 19 …Line 73) typeParamByName(typeParameter.getName(), typeSolver, context) ==> com.github.javaparser.s… 20 …Line 73) typeParameter.getName() ==> com.github.javaparser.symbolsolver.model.declarations.TypePar…
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserTypeAdapter.java | 86 for (com.github.javaparser.ast.type.TypeParameter typeParameter : typeParameters) { in solveType() 87 if (typeParameter.getName().getId().equals(name)) { in solveType() 88 … return SymbolReference.solved(new JavaParserTypeVariableDeclaration(typeParameter, typeSolver)); in solveType()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | FauxveridesTest.java | 246 TypeParameterSignature(TypeVariable<?> typeParameter) { in TypeParameterSignature() argument 247 name = typeParameter.getName(); in TypeParameterSignature() 248 bounds = Arrays.asList(typeParameter.getBounds()); in TypeParameterSignature()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionFactory.java | 59 …ResolvedTypeParameterDeclaration typeParameter = new ReflectionTypeParameter(tv, declaredOnClass, … in typeUsageFor() local 60 return new ResolvedTypeVariable(typeParameter); in typeUsageFor()
|