Home
last modified time | relevance | path

Searched refs:typeParameters (Results 1 – 25 of 79) sorted by relevance

1234

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DClassOrInterfaceDeclaration.java63 private NodeList<TypeParameter> typeParameters; field in ClassOrInterfaceDeclaration
79 …an isInterface, final SimpleName name, final NodeList<TypeParameter> typeParameters, final NodeLis… in ClassOrInterfaceDeclaration() argument
80 …this(null, modifiers, annotations, isInterface, name, typeParameters, extendedTypes, implementedTy… in ClassOrInterfaceDeclaration()
87 …tions, boolean isInterface, SimpleName name, NodeList<TypeParameter> typeParameters, NodeList<Clas… in ClassOrInterfaceDeclaration() argument
90 setTypeParameters(typeParameters); in ClassOrInterfaceDeclaration()
120 return typeParameters; in getTypeParameters()
167 …ublic ClassOrInterfaceDeclaration setTypeParameters(final NodeList<TypeParameter> typeParameters) { in setTypeParameters() argument
168 assertNotNull(typeParameters); in setTypeParameters()
169 if (typeParameters == this.typeParameters) { in setTypeParameters()
172 … notifyPropertyChange(ObservableProperty.TYPE_PARAMETERS, this.typeParameters, typeParameters); in setTypeParameters()
[all …]
DCallableDeclaration.java57 private NodeList<TypeParameter> typeParameters; field in CallableDeclaration
69 …fiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName na… in CallableDeclaration() argument
70 …this(null, modifiers, annotations, typeParameters, name, parameters, thrownExceptions, receiverPar… in CallableDeclaration()
77 …fiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName na… in CallableDeclaration() argument
80 setTypeParameters(typeParameters); in CallableDeclaration()
173 return typeParameters; in getTypeParameters()
178 public T setTypeParameters(final NodeList<TypeParameter> typeParameters) { in setTypeParameters() argument
179 assertNotNull(typeParameters); in setTypeParameters()
180 if (typeParameters == this.typeParameters) { in setTypeParameters()
183 … notifyPropertyChange(ObservableProperty.TYPE_PARAMETERS, this.typeParameters, typeParameters); in setTypeParameters()
[all …]
DMethodDeclaration.java82 … NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameters, final Type ty… in MethodDeclaration() argument
83 …this(null, modifiers, annotations, typeParameters, type, name, parameters, thrownExceptions, body,… in MethodDeclaration()
87 … NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameters, final Type ty… in MethodDeclaration() argument
88 …this(null, modifiers, annotations, typeParameters, type, name, parameters, thrownExceptions, body,… in MethodDeclaration()
95 … NodeList<AnnotationExpr> annotations, final NodeList<TypeParameter> typeParameters, final Type ty… in MethodDeclaration() argument
96 …this(null, modifiers, annotations, typeParameters, type, name, parameters, thrownExceptions, body,… in MethodDeclaration()
104 …fiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, Type type, Si… in MethodDeclaration() argument
105 …super(tokenRange, modifiers, annotations, typeParameters, name, parameters, thrownExceptions, rece… in MethodDeclaration()
187 public MethodDeclaration setTypeParameters(final NodeList<TypeParameter> typeParameters) { in setTypeParameters() argument
188 return super.setTypeParameters(typeParameters); in setTypeParameters()
DConstructorDeclaration.java74 …fiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName na… in ConstructorDeclaration() argument
75 …this(null, modifiers, annotations, typeParameters, name, parameters, thrownExceptions, body, null); in ConstructorDeclaration()
79 …fiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName na… in ConstructorDeclaration() argument
80 …this(null, modifiers, annotations, typeParameters, name, parameters, thrownExceptions, body, recei… in ConstructorDeclaration()
87 …fiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName na… in ConstructorDeclaration() argument
88 …super(tokenRange, modifiers, annotations, typeParameters, name, parameters, thrownExceptions, rece… in ConstructorDeclaration()
151 public ConstructorDeclaration setTypeParameters(final NodeList<TypeParameter> typeParameters) { in setTypeParameters() argument
152 return super.setTypeParameters(typeParameters); in setTypeParameters()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DClassOrInterfaceDeclaration.java47 private List<TypeParameter> typeParameters; field in ClassOrInterfaceDeclaration
66 final List<TypeParameter> typeParameters, in ClassOrInterfaceDeclaration() argument
72 setTypeParameters(typeParameters); in ClassOrInterfaceDeclaration()
80 final List<TypeParameter> typeParameters, in ClassOrInterfaceDeclaration() argument
86 setTypeParameters(typeParameters); in ClassOrInterfaceDeclaration()
113 typeParameters = ensureNotNull(typeParameters); in getTypeParameters()
114 return typeParameters; in getTypeParameters()
156 public ClassOrInterfaceDeclaration setTypeParameters(final List<TypeParameter> typeParameters) { in setTypeParameters() argument
157 this.typeParameters = typeParameters; in setTypeParameters()
158 setAsParentNodeOf(this.typeParameters); in setTypeParameters()
DConstructorDeclaration.java53 private List<TypeParameter> typeParameters; field in ConstructorDeclaration
72 List<TypeParameter> typeParameters, in ConstructorDeclaration() argument
77 setTypeParameters(typeParameters); in ConstructorDeclaration()
85 … List<AnnotationExpr> annotations, List<TypeParameter> typeParameters, String name, in ConstructorDeclaration() argument
89 setTypeParameters(typeParameters); in ConstructorDeclaration()
139 typeParameters = ensureNotNull(typeParameters); in getTypeParameters()
140 return typeParameters; in getTypeParameters()
175 public ConstructorDeclaration setTypeParameters(List<TypeParameter> typeParameters) { in setTypeParameters() argument
176 this.typeParameters = typeParameters; in setTypeParameters()
177 setAsParentNodeOf(this.typeParameters); in setTypeParameters()
DMethodDeclaration.java69 private List<TypeParameter> typeParameters; field in MethodDeclaration
106 final List<TypeParameter> typeParameters, in MethodDeclaration() argument
116 setTypeParameters(typeParameters); in MethodDeclaration()
129 final List<TypeParameter> typeParameters, in MethodDeclaration() argument
139 setTypeParameters(typeParameters); in MethodDeclaration()
209 typeParameters = ensureNotNull(typeParameters); in getTypeParameters()
210 return typeParameters; in getTypeParameters()
268 public MethodDeclaration setTypeParameters(final List<TypeParameter> typeParameters) { in setTypeParameters() argument
269 this.typeParameters = typeParameters; in setTypeParameters()
270 setAsParentNodeOf(typeParameters); in setTypeParameters()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
DMethodReferenceExpr.java44 private List<TypeParameter> typeParameters; field in MethodReferenceExpr
53 List<TypeParameter> typeParameters, String identifier) { in MethodReferenceExpr() argument
58 setTypeParameters(typeParameters); in MethodReferenceExpr()
82 return typeParameters; in getTypeParameters()
85 public void setTypeParameters(List<TypeParameter> typeParameters) { in setTypeParameters() argument
86 this.typeParameters = typeParameters; in setTypeParameters()
87 setAsParentNodeOf(this.typeParameters); in setTypeParameters()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DClassOrInterfaceDeclaration.java41 private List<TypeParameter> typeParameters; field in ClassOrInterfaceDeclaration
58 final List<TypeParameter> typeParameters, final List<ClassOrInterfaceType> extendsList, in ClassOrInterfaceDeclaration() argument
62 setTypeParameters(typeParameters); in ClassOrInterfaceDeclaration()
70 final List<TypeParameter> typeParameters, final List<ClassOrInterfaceType> extendsList, in ClassOrInterfaceDeclaration() argument
74 setTypeParameters(typeParameters); in ClassOrInterfaceDeclaration()
96 return typeParameters; in getTypeParameters()
117 public void setTypeParameters(final List<TypeParameter> typeParameters) { in setTypeParameters() argument
118 this.typeParameters = typeParameters; in setTypeParameters()
119 setAsParentNodeOf(this.typeParameters); in setTypeParameters()
DConstructorDeclaration.java46 private List<TypeParameter> typeParameters; field in ConstructorDeclaration
64 …torDeclaration(int modifiers, List<AnnotationExpr> annotations, List<TypeParameter> typeParameters, in ConstructorDeclaration() argument
68 setTypeParameters(typeParameters); in ConstructorDeclaration()
76 … List<AnnotationExpr> annotations, List<TypeParameter> typeParameters, String name, in ConstructorDeclaration() argument
80 setTypeParameters(typeParameters); in ConstructorDeclaration()
134 return typeParameters; in getTypeParameters()
164 public void setTypeParameters(List<TypeParameter> typeParameters) { in setTypeParameters() argument
165 this.typeParameters = typeParameters; in setTypeParameters()
166 setAsParentNodeOf(this.typeParameters); in setTypeParameters()
DMethodDeclaration.java46 private List<TypeParameter> typeParameters; field in MethodDeclaration
79 final List<TypeParameter> typeParameters, final Type type, final String name, in MethodDeclaration() argument
83 setTypeParameters(typeParameters); in MethodDeclaration()
94 final List<TypeParameter> typeParameters, final Type type, final String name, in MethodDeclaration() argument
98 setTypeParameters(typeParameters); in MethodDeclaration()
161 return typeParameters; in getTypeParameters()
200 public void setTypeParameters(final List<TypeParameter> typeParameters) { in setTypeParameters() argument
201 this.typeParameters = typeParameters; in setTypeParameters()
202 setAsParentNodeOf(typeParameters); in setTypeParameters()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java113 …TypeVariable<?>[] typeParameters = ((Class<?>) parameterizedType.getRawType()).getTypeParameters(); in registerTypeVariablesOn() local
116 TypeVariable<?> typeParameter = typeParameters[i]; in registerTypeVariablesOn()
128 protected void registerTypeParametersOn(TypeVariable<?>[] typeParameters) { in registerTypeParametersOn() argument
129 for (TypeVariable<?> type : typeParameters) { in registerTypeParametersOn()
203 TypeVariable<?>[] typeParameters = rawType().getTypeParameters(); in actualTypeArguments() local
206 for (TypeVariable<?> typeParameter : typeParameters) { in actualTypeArguments()
351 private final TypeVariable<?>[] typeParameters; field in GenericMetadataSupport.ParameterizedReturnType
353 …meterizedReturnType(GenericMetadataSupport source, TypeVariable<?>[] typeParameters, Parameterized… in ParameterizedReturnType() argument
355 this.typeParameters = typeParameters; in ParameterizedReturnType()
363 registerTypeParametersOn(typeParameters); in readTypeParameters()
[all …]
/external/turbine/java/com/google/turbine/binder/bound/
DSourceHeaderBoundClass.java35 private final ImmutableMap<String, TyVarSymbol> typeParameters; field in SourceHeaderBoundClass
41 ImmutableMap<String, TyVarSymbol> typeParameters) { in SourceHeaderBoundClass() argument
45 this.typeParameters = typeParameters; in SourceHeaderBoundClass()
80 public ImmutableMap<String, TyVarSymbol> typeParameters() { in typeParameters() method in SourceHeaderBoundClass
81 return typeParameters; in typeParameters()
DSourceTypeBoundClass.java42 private final ImmutableMap<String, TyVarSymbol> typeParameters; field in SourceTypeBoundClass
67 ImmutableMap<String, TyVarSymbol> typeParameters, in SourceTypeBoundClass() argument
84 this.typeParameters = typeParameters; in SourceTypeBoundClass()
138 public ImmutableMap<String, TyVarSymbol> typeParameters() { in typeParameters() method in SourceTypeBoundClass
139 return typeParameters; in typeParameters()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DContextHelper.java49 … Context invokationContext, List<ResolvedType> typeParameters) { in solveMethodAsUsage() argument
51 …claration).solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters); in solveMethodAsUsage()
53 …claration).solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters); in solveMethodAsUsage()
55 …claration).solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters); in solveMethodAsUsage()
57 …claration).solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters); in solveMethodAsUsage()
59 …claration).solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters); in solveMethodAsUsage()
61 …claration).solveMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters); in solveMethodAsUsage()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DMethodType.java21 private List<ResolvedTypeParameterDeclaration> typeParameters; field in MethodType
31 …public MethodType(List<ResolvedTypeParameterDeclaration> typeParameters, List<ResolvedType> formal… in MethodType() argument
34 this.typeParameters = typeParameters; in MethodType()
41 return typeParameters; in getTypeParameters()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DClassWriter.java39 private final List<TypeVariableName> typeParameters; field in ClassWriter
45 this.typeParameters = Lists.newArrayList(); in ClassWriter()
77 this.typeParameters.add(typeVariableName); in addTypeParameter()
81 Iterables.addAll(typeParameters, typeVariableNames); in addTypeParameters()
84 public List<TypeVariableName> typeParameters() { in typeParameters() method in ClassWriter
85 return ImmutableList.copyOf(typeParameters); in typeParameters()
99 Writables.join(", ", typeParameters, "<", ">", appendable, context); in write()
149 .append(typeParameters) in referencedClasses()
DMethodWriter.java36 private final List<TypeVariableName> typeParameters; field in MethodWriter
43 this.typeParameters = Lists.newArrayList(); in MethodWriter()
56 this.typeParameters.add(typeVariableName); in addTypeParameter()
60 Iterables.addAll(typeParameters, typeVariableNames); in addTypeParameters()
96 Writables.join(", ", typeParameters, "<", "> ", appendable, context); in write()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_expr_MethodReferenceExpr.txt13 Line 58) setTypeParameters(typeParameters) ==> void
19 Line 82) typeParameters ==> java.util.List<com.github.javaparser.ast.TypeParameter>
20 …Line 86) this.typeParameters = typeParameters ==> java.util.List<com.github.javaparser.ast.TypePar…
21 Line 87) setAsParentNodeOf(this.typeParameters) ==> void
Dcom_github_javaparser_ast_body_ClassOrInterfaceDeclaration.txt19 Line 62) setTypeParameters(typeParameters) ==> void
31 Line 74) setTypeParameters(typeParameters) ==> void
38 Line 96) typeParameters ==> java.util.List<com.github.javaparser.ast.TypeParameter>
45 …Line 118) this.typeParameters = typeParameters ==> java.util.List<com.github.javaparser.ast.TypePa…
46 Line 119) setAsParentNodeOf(this.typeParameters) ==> void
Dcom_github_javaparser_ast_body_ConstructorDeclaration.txt15 Line 68) setTypeParameters(typeParameters) ==> void
26 Line 80) setTypeParameters(typeParameters) ==> void
43 Line 134) typeParameters ==> java.util.List<com.github.javaparser.ast.TypeParameter>
53 …Line 165) this.typeParameters = typeParameters ==> java.util.List<com.github.javaparser.ast.TypePa…
54 Line 166) setAsParentNodeOf(this.typeParameters) ==> void
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_ContextHelper.txt1 …veMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.githu…
2 …veMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.githu…
3 …veMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.githu…
4 …veMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.githu…
5 …veMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.githu…
6 …veMethodAsUsage(name, argumentsTypes, typeSolver, invokationContext, typeParameters) ==> com.githu…
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_body_ClassOrInterfaceDeclaration.txt3 …Line 72) setTypeParameters(typeParameters) ==> com.github.javaparser.ast.body.ClassOrInterfaceDecl…
7 …Line 86) setTypeParameters(typeParameters) ==> com.github.javaparser.ast.body.ClassOrInterfaceDecl…
14 …Line 113) ensureNotNull(typeParameters) ==> com.github.javaparser.utils.Utils.ensureNotNull(java.u…
17 …Line 158) setAsParentNodeOf(this.typeParameters) ==> com.github.javaparser.ast.Node.setAsParentNod…
/external/desugar/java/com/google/devtools/common/options/
DGenericTypeHelper.java59 TypeVariable<?>[] typeParameters = rawInterfaceType.getTypeParameters(); in matchTypeVariable() local
60 for (int i = 0; i < typeParameters.length; i++) { in matchTypeVariable()
61 if (variable.equals(typeParameters[i])) { in matchTypeVariable()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DFactoryGenerator.java112 List<TypeVariableName> typeParameters = Lists.newArrayList(); in write() local
114 typeParameters.add(TypeVariableName.fromTypeParameterElement(typeParameter)); in write()
124 if (!typeParameters.isEmpty()) { in write()
131 classWriter.addTypeParameters(typeParameters); in write()
194 createMethodWriter.addTypeParameters(typeParameters); in write()
203 if (typeParameters.isEmpty()) { in write()

1234