/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | ParameterizedTypeName.java | 34 public final List<TypeName> typeArguments; field in ParameterizedTypeName 37 List<TypeName> typeArguments) { in ParameterizedTypeName() argument 38 this(enclosingType, rawType, typeArguments, new ArrayList<>()); in ParameterizedTypeName() 42 List<TypeName> typeArguments, List<AnnotationSpec> annotations) { in ParameterizedTypeName() argument 46 this.typeArguments = Util.immutableList(typeArguments); in ParameterizedTypeName() 48 checkArgument(!this.typeArguments.isEmpty() || enclosingType != null, in ParameterizedTypeName() 50 for (TypeName typeArgument : this.typeArguments) { in ParameterizedTypeName() 58 enclosingType, rawType, typeArguments, concatAnnotations(annotations)); in annotated() 64 enclosingType, rawType.withoutAnnotations(), typeArguments, new ArrayList<>()); in withoutAnnotations() 79 if (!typeArguments.isEmpty()) { in emit() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
D | MethodReferenceExpr.java | 62 private NodeList<Type> typeArguments; field in MethodReferenceExpr 72 public MethodReferenceExpr(Expression scope, NodeList<Type> typeArguments, String identifier) { in MethodReferenceExpr() argument 73 this(null, scope, typeArguments, identifier); in MethodReferenceExpr() 80 …ReferenceExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, String identi… in MethodReferenceExpr() argument 83 setTypeArguments(typeArguments); in MethodReferenceExpr() 121 return Optional.ofNullable(typeArguments); in getTypeArguments() 131 public MethodReferenceExpr setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument 132 if (typeArguments == this.typeArguments) { in setTypeArguments() 135 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments() 136 if (this.typeArguments != null) in setTypeArguments() [all …]
|
D | FieldAccessExpr.java | 54 private NodeList<Type> typeArguments; field in FieldAccessExpr 67 …public FieldAccessExpr(final Expression scope, final NodeList<Type> typeArguments, final SimpleNam… in FieldAccessExpr() argument 68 this(null, scope, typeArguments, name); in FieldAccessExpr() 75 …public FieldAccessExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, Simp… in FieldAccessExpr() argument 78 setTypeArguments(typeArguments); in FieldAccessExpr() 166 return Optional.ofNullable(typeArguments); in getTypeArguments() 176 public FieldAccessExpr setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument 177 if (typeArguments == this.typeArguments) { in setTypeArguments() 180 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments() 181 if (this.typeArguments != null) in setTypeArguments() [all …]
|
D | MethodCallExpr.java | 58 private NodeList<Type> typeArguments; field in MethodCallExpr 89 …public MethodCallExpr(final Expression scope, final NodeList<Type> typeArguments, final SimpleName… in MethodCallExpr() argument 90 this(null, scope, typeArguments, name, arguments); in MethodCallExpr() 97 …public MethodCallExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, Simpl… in MethodCallExpr() argument 100 setTypeArguments(typeArguments); in MethodCallExpr() 176 return Optional.ofNullable(typeArguments); in getTypeArguments() 186 public MethodCallExpr setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument 187 if (typeArguments == this.typeArguments) { in setTypeArguments() 190 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments() 191 if (this.typeArguments != null) in setTypeArguments() [all …]
|
D | ObjectCreationExpr.java | 65 private NodeList<Type> typeArguments; field in ObjectCreationExpr 88 …pression scope, final ClassOrInterfaceType type, final NodeList<Type> typeArguments, final NodeLis… in ObjectCreationExpr() argument 89 this(null, scope, type, typeArguments, arguments, anonymousClassBody); in ObjectCreationExpr() 96 …kenRange, Expression scope, ClassOrInterfaceType type, NodeList<Type> typeArguments, NodeList<Expr… in ObjectCreationExpr() argument 100 setTypeArguments(typeArguments); in ObjectCreationExpr() 214 return Optional.ofNullable(typeArguments); in getTypeArguments() 224 public ObjectCreationExpr setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument 225 if (typeArguments == this.typeArguments) { in setTypeArguments() 228 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments() 229 if (this.typeArguments != null) in setTypeArguments() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ |
D | ExplicitConstructorInvocationStmt.java | 57 private NodeList<Type> typeArguments; field in ExplicitConstructorInvocationStmt 75 …public ExplicitConstructorInvocationStmt(final NodeList<Type> typeArguments, final boolean isThis,… in ExplicitConstructorInvocationStmt() argument 76 this(null, typeArguments, isThis, expression, arguments); in ExplicitConstructorInvocationStmt() 83 …public ExplicitConstructorInvocationStmt(TokenRange tokenRange, NodeList<Type> typeArguments, bool… in ExplicitConstructorInvocationStmt() argument 85 setTypeArguments(typeArguments); in ExplicitConstructorInvocationStmt() 178 return Optional.ofNullable(typeArguments); in getTypeArguments() 188 public ExplicitConstructorInvocationStmt setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument 189 if (typeArguments == this.typeArguments) { in setTypeArguments() 192 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments() 193 if (this.typeArguments != null) in setTypeArguments() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/ |
D | ClassOrInterfaceType.java | 68 private NodeList<Type> typeArguments; field in ClassOrInterfaceType 85 …Type(final ClassOrInterfaceType scope, final SimpleName name, final NodeList<Type> typeArguments) { in ClassOrInterfaceType() argument 86 this(null, scope, name, typeArguments, new NodeList<>()); in ClassOrInterfaceType() 90 …assOrInterfaceType scope, final SimpleName name, final NodeList<Type> typeArguments, final NodeLis… in ClassOrInterfaceType() argument 91 this(null, scope, name, typeArguments, annotations); in ClassOrInterfaceType() 98 …kenRange, ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<Anno… in ClassOrInterfaceType() argument 102 setTypeArguments(typeArguments); in ClassOrInterfaceType() 174 return Optional.ofNullable(typeArguments); in getTypeArguments() 184 public ClassOrInterfaceType setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument 185 if (typeArguments == this.typeArguments) { in setTypeArguments() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/ |
D | MethodReferenceExpr.java | 48 private List<Type<?>> typeArguments; field in MethodReferenceExpr 56 List<Type<?>> typeArguments, String identifier) { in MethodReferenceExpr() argument 60 setTypeArguments(typeArguments); in MethodReferenceExpr() 86 return typeArguments; in getTypeArguments() 91 this.typeArguments = types; in setTypeArguments() 92 setAsParentNodeOf(this.typeArguments); in setTypeArguments()
|
D | FieldAccessExpr.java | 39 private List<Type<?>> typeArguments; field in FieldAccessExpr 51 …ssExpr(final Range range, final Expression scope, final List<Type<?>> typeArguments, final String … in FieldAccessExpr() argument 54 setTypeArguments(typeArguments); in FieldAccessExpr() 98 return typeArguments; in getTypeArguments() 103 this.typeArguments = types; in setTypeArguments() 104 setAsParentNodeOf(this.typeArguments); in setTypeArguments()
|
D | MethodCallExpr.java | 41 private List<Type<?>> typeArguments; field in MethodCallExpr 61 …public MethodCallExpr(final Range range, final Expression scope, final List<Type<?>> typeArguments… in MethodCallExpr() argument 64 setTypeArguments(typeArguments); in MethodCallExpr() 136 return typeArguments; in getTypeArguments() 141 this.typeArguments = types; in setTypeArguments() 142 setAsParentNodeOf(this.typeArguments); in setTypeArguments()
|
D | ObjectCreationExpr.java | 55 private List<Type<?>> typeArguments; field in ObjectCreationExpr 79 final Expression scope, final ClassOrInterfaceType type, final List<Type<?>> typeArguments, in ObjectCreationExpr() argument 84 setTypeArguments(typeArguments); in ObjectCreationExpr() 156 return typeArguments; in getTypeArguments() 161 this.typeArguments = types; in setTypeArguments() 162 setAsParentNodeOf(this.typeArguments); in setTypeArguments()
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 355 private final Type[] typeArguments; field in MoreTypes.ParameterizedTypeImpl 357 public ParameterizedTypeImpl(Type ownerType, Type rawType, Type... typeArguments) { in ParameterizedTypeImpl() argument 363 this.typeArguments = typeArguments.clone(); in ParameterizedTypeImpl() 364 for (int t = 0; t < this.typeArguments.length; t++) { in ParameterizedTypeImpl() 365 checkNotNull(this.typeArguments[t], "type parameter"); in ParameterizedTypeImpl() 366 checkNotPrimitive(this.typeArguments[t], "type parameters"); in ParameterizedTypeImpl() 367 this.typeArguments[t] = canonicalize(this.typeArguments[t]); in ParameterizedTypeImpl() 373 return typeArguments.clone(); in getActualTypeArguments() 396 for (Type type : typeArguments) { in isFullySpecified() 413 return Arrays.hashCode(typeArguments) ^ rawType.hashCode() ^ hashCodeOrZero(ownerType); in hashCode() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/ |
D | ExplicitConstructorInvocationStmt.java | 40 private List<Type<?>> typeArguments; field in ExplicitConstructorInvocationStmt 59 final List<Type<?>> typeArguments, final boolean isThis, in ExplicitConstructorInvocationStmt() argument 62 setTypeArguments(typeArguments); in ExplicitConstructorInvocationStmt() 110 return typeArguments; in getTypeArguments() 115 this.typeArguments = types; in setTypeArguments() 116 setAsParentNodeOf(this.typeArguments); in setTypeArguments()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/ |
D | ClassOrInterfaceType.java | 47 private List<Type<?>> typeArguments; field in ClassOrInterfaceType 61 …ge range, final ClassOrInterfaceType scope, final String name, final List<Type<?>> typeArguments) { in ClassOrInterfaceType() argument 65 setTypeArguments(typeArguments); in ClassOrInterfaceType() 110 return typeArguments; in getTypeArguments() 115 this.typeArguments = types; in setTypeArguments() 116 setAsParentNodeOf(this.typeArguments); in setTypeArguments()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/ |
D | Java5Validator.java | 17 …Optional<NodeList<Type>> typeArguments = ((NodeWithTypeArguments<? extends Node>) node).getTypeArg… 18 if (typeArguments.isPresent() && typeArguments.get().isEmpty()) { 26 …Optional<NodeList<Type>> typeArguments = ((NodeWithTypeArguments<? extends Node>) node).getTypeArg… 27 typeArguments.ifPresent(types -> types.forEach(ty -> {
|
/external/doclava/src/com/google/doclava/ |
D | TypeInfo.java | 144 if (other.typeArguments() != null) { in TypeInfo() 145 mTypeArguments = new ArrayList<TypeInfo>(other.typeArguments()); in TypeInfo() 288 public ArrayList<TypeInfo> typeArguments() { in typeArguments() method in TypeInfo 526 public TypeInfo getTypeWithArguments(Map<String, TypeInfo> typeArguments) { in getTypeWithArguments() argument 527 if (typeArguments.containsKey(fullName())) { in getTypeWithArguments() 528 return typeArguments.get(fullName()); in getTypeWithArguments() 532 if (typeArguments() != null) { in getTypeWithArguments() 534 for (TypeInfo t : typeArguments()) { in getTypeWithArguments() 535 newArgs.add(t.getTypeWithArguments(typeArguments)); in getTypeWithArguments() 548 if (generic != null && generic.typeArguments() != null) { in getTypeArgumentMapping() [all …]
|
/external/guice/core/src/com/google/inject/util/ |
D | Types.java | 48 public static ParameterizedType newParameterizedType(Type rawType, Type... typeArguments) { in newParameterizedType() argument 49 return newParameterizedTypeWithOwner(null, rawType, typeArguments); in newParameterizedType() 59 Type ownerType, Type rawType, Type... typeArguments) { in newParameterizedTypeWithOwner() argument 60 return new ParameterizedTypeImpl(ownerType, rawType, typeArguments); in newParameterizedTypeWithOwner()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithTypeArguments.java | 48 T setTypeArguments(List<Type<?>> typeArguments); in setTypeArguments() argument 77 default T setTypeArguments(Type<?>... typeArguments) { in setTypeArguments() argument 78 setTypeArguments(arrayToList(typeArguments)); in setTypeArguments()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithTypeArguments.java | 53 N setTypeArguments(NodeList<Type> typeArguments); in setTypeArguments() argument 80 default N setTypeArguments(Type... typeArguments) { in setTypeArguments() argument 81 return setTypeArguments(nodeList(typeArguments)); in setTypeArguments()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/ |
D | ModifierVisitorAdapter.java | 340 final List<Type<?>> typeArguments = n.getTypeArguments(); in visit() local 341 if (typeArguments != null) { in visit() 342 for (int i = 0; i < typeArguments.size(); i++) { in visit() 343 typeArguments.set(i, (Type<?>) typeArguments.get(i).accept(this, arg)); in visit() 345 removeNulls(typeArguments); in visit() 526 final List<Type<?>> typeArguments = n.getTypeArguments(); in visit() local 527 if (typeArguments != null) { in visit() 528 for (int i = 0; i < typeArguments.size(); i++) { in visit() 529 typeArguments.set(i, (Type<?>) typeArguments.get(i).accept(this, arg)); in visit() 531 removeNulls(typeArguments); in visit() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/ |
D | ResolvedReferenceType.java | 59 …ReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> typeArguments) { in ResolvedReferenceType() argument 63 …if (typeArguments.size() > 0 && typeArguments.size() != typeDeclaration.getTypeParameters().size()… in ResolvedReferenceType() 66 typeDeclaration.getTypeParameters().size(), typeArguments.size())); in ResolvedReferenceType() 69 for (int i = 0; i < typeArguments.size(); i++) { in ResolvedReferenceType() 70 …ypeParametersMapBuilder.setValue(typeDeclaration.getTypeParameters().get(i), typeArguments.get(i)); in ResolvedReferenceType()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_ast_nodeTypes_NodeWithTypeArguments.txt | 6 …Line 78) setTypeArguments(arrayToList(typeArguments)) ==> com.github.javaparser.ast.nodeTypes.Node… 7 Line 78) arrayToList(typeArguments) ==> com.github.javaparser.utils.Utils.arrayToList(T[])
|
D | com_github_javaparser_ast_expr_MethodReferenceExpr.txt | 3 …Line 60) setTypeArguments(typeArguments) ==> com.github.javaparser.ast.expr.MethodReferenceExpr.se… 7 …Line 92) setAsParentNodeOf(this.typeArguments) ==> com.github.javaparser.ast.Node.setAsParentNodeO…
|
D | com_github_javaparser_ast_expr_FieldAccessExpr.txt | 4 …Line 54) setTypeArguments(typeArguments) ==> com.github.javaparser.ast.expr.FieldAccessExpr.setTyp… 12 …Line 104) setAsParentNodeOf(this.typeArguments) ==> com.github.javaparser.ast.Node.setAsParentNode…
|
D | com_github_javaparser_ast_type_ClassOrInterfaceType.txt | 6 …Line 65) setTypeArguments(typeArguments) ==> com.github.javaparser.ast.type.ClassOrInterfaceType.s… 13 …Line 116) setAsParentNodeOf(this.typeArguments) ==> com.github.javaparser.ast.Node.setAsParentNode…
|