Home
last modified time | relevance | path

Searched refs:typeArguments (Results 1 – 25 of 104) sorted by relevance

12345

/external/javapoet/src/main/java/com/squareup/javapoet/
DParameterizedTypeName.java34 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/
DMethodReferenceExpr.java60 private NodeList<Type> typeArguments; field in MethodReferenceExpr
70 public MethodReferenceExpr(Expression scope, NodeList<Type> typeArguments, String identifier) { in MethodReferenceExpr() argument
71 this(null, scope, typeArguments, identifier); in MethodReferenceExpr()
78 …ReferenceExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, String identi… in MethodReferenceExpr() argument
81 setTypeArguments(typeArguments); in MethodReferenceExpr()
119 return Optional.ofNullable(typeArguments); in getTypeArguments()
129 public MethodReferenceExpr setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument
130 if (typeArguments == this.typeArguments) { in setTypeArguments()
133 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments()
134 if (this.typeArguments != null) in setTypeArguments()
[all …]
DFieldAccessExpr.java58 private NodeList<Type> typeArguments; field in FieldAccessExpr
71 …public FieldAccessExpr(final Expression scope, final NodeList<Type> typeArguments, final SimpleNam… in FieldAccessExpr() argument
72 this(null, scope, typeArguments, name); in FieldAccessExpr()
79 …public FieldAccessExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, Simp… in FieldAccessExpr() argument
82 setTypeArguments(typeArguments); in FieldAccessExpr()
145 return Optional.ofNullable(typeArguments); in getTypeArguments()
155 public FieldAccessExpr setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument
156 if (typeArguments == this.typeArguments) { in setTypeArguments()
159 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments()
160 if (this.typeArguments != null) in setTypeArguments()
[all …]
DMethodCallExpr.java60 private NodeList<Type> typeArguments; field in MethodCallExpr
86 …public MethodCallExpr(final Expression scope, final NodeList<Type> typeArguments, final String nam… in MethodCallExpr() argument
87 this(null, scope, typeArguments, new SimpleName(name), arguments); in MethodCallExpr()
95 …public MethodCallExpr(final Expression scope, final NodeList<Type> typeArguments, final SimpleName… in MethodCallExpr() argument
96 this(null, scope, typeArguments, name, arguments); in MethodCallExpr()
103 …public MethodCallExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, Simpl… in MethodCallExpr() argument
106 setTypeArguments(typeArguments); in MethodCallExpr()
182 return Optional.ofNullable(typeArguments); in getTypeArguments()
192 public MethodCallExpr setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument
193 if (typeArguments == this.typeArguments) { in setTypeArguments()
[all …]
DObjectCreationExpr.java68 private NodeList<Type> typeArguments; field in ObjectCreationExpr
91 …pression scope, final ClassOrInterfaceType type, final NodeList<Type> typeArguments, final NodeLis… in ObjectCreationExpr() argument
92 this(null, scope, type, typeArguments, arguments, anonymousClassBody); in ObjectCreationExpr()
99 …kenRange, Expression scope, ClassOrInterfaceType type, NodeList<Type> typeArguments, NodeList<Expr… in ObjectCreationExpr() argument
103 setTypeArguments(typeArguments); in ObjectCreationExpr()
217 return Optional.ofNullable(typeArguments); in getTypeArguments()
227 public ObjectCreationExpr setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument
228 if (typeArguments == this.typeArguments) { in setTypeArguments()
231 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments()
232 if (this.typeArguments != null) in setTypeArguments()
[all …]
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/
DBundlerType.java31 private final List<BundlerType> typeArguments; field in BundlerType
37 public List<BundlerType> typeArguments() { in typeArguments() method in BundlerType
38 return typeArguments; in typeArguments()
41 private BundlerType(String rawTypeQualifiedName, List<BundlerType> typeArguments) { in BundlerType() argument
43 this.typeArguments = typeArguments; in BundlerType()
48 typeArguments = in.createTypedArrayList(BundlerType.CREATOR); in BundlerType()
54 dest.writeTypedList(typeArguments); in writeToParcel()
75 public static BundlerType of(String rawTypeQualifiedName, BundlerType... typeArguments) { in of() argument
76 return new BundlerType(rawTypeQualifiedName, Arrays.asList(typeArguments)); in of()
93 && typeArguments.equals(that.typeArguments); in equals()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DExplicitConstructorInvocationStmt.java58 private NodeList<Type> typeArguments; field in ExplicitConstructorInvocationStmt
76 …public ExplicitConstructorInvocationStmt(final NodeList<Type> typeArguments, final boolean isThis,… in ExplicitConstructorInvocationStmt() argument
77 this(null, typeArguments, isThis, expression, arguments); in ExplicitConstructorInvocationStmt()
84 …public ExplicitConstructorInvocationStmt(TokenRange tokenRange, NodeList<Type> typeArguments, bool… in ExplicitConstructorInvocationStmt() argument
86 setTypeArguments(typeArguments); in ExplicitConstructorInvocationStmt()
165 return Optional.ofNullable(typeArguments); in getTypeArguments()
175 public ExplicitConstructorInvocationStmt setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument
176 if (typeArguments == this.typeArguments) { in setTypeArguments()
179 notifyPropertyChange(ObservableProperty.TYPE_ARGUMENTS, this.typeArguments, typeArguments); in setTypeArguments()
180 if (this.typeArguments != null) in setTypeArguments()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DClassOrInterfaceType.java66 private NodeList<Type> typeArguments; field in ClassOrInterfaceType
83 …Type(final ClassOrInterfaceType scope, final SimpleName name, final NodeList<Type> typeArguments) { in ClassOrInterfaceType() argument
84 this(null, scope, name, typeArguments, new NodeList<>()); in ClassOrInterfaceType()
88 …assOrInterfaceType scope, final SimpleName name, final NodeList<Type> typeArguments, final NodeLis… in ClassOrInterfaceType() argument
89 this(null, scope, name, typeArguments, annotations); in ClassOrInterfaceType()
96 …kenRange, ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<Anno… in ClassOrInterfaceType() argument
100 setTypeArguments(typeArguments); in ClassOrInterfaceType()
172 return Optional.ofNullable(typeArguments); in getTypeArguments()
182 public ClassOrInterfaceType setTypeArguments(final NodeList<Type> typeArguments) { in setTypeArguments() argument
183 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/
DMethodReferenceExpr.java48 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()
DFieldAccessExpr.java39 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()
DMethodCallExpr.java41 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()
DObjectCreationExpr.java55 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/
DClassOrInterfaceType.java47 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-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DExplicitConstructorInvocationStmt.java40 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/guice/core/src/com/google/inject/internal/
DMoreTypes.java355 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-core/src/main/java/com/github/javaparser/ast/validator/
DJava5Validator.java21 …Optional<NodeList<Type>> typeArguments = ((NodeWithTypeArguments<? extends Node>) node).getTypeArg…
22 if (typeArguments.isPresent() && typeArguments.get().isEmpty()) {
30 …Optional<NodeList<Type>> typeArguments = ((NodeWithTypeArguments<? extends Node>) node).getTypeArg…
31 typeArguments.ifPresent(types -> types.forEach(ty -> {
/external/doclava/src/com/google/doclava/
DTypeInfo.java144 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithTypeArguments.java48 T setTypeArguments(List<Type<?>> typeArguments); in setTypeArguments() argument
77 default T setTypeArguments(Type<?>... typeArguments) { in setTypeArguments() argument
78 setTypeArguments(arrayToList(typeArguments)); in setTypeArguments()
/external/guice/core/src/com/google/inject/util/
DTypes.java48 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/dokka/core/src/main/kotlin/Kotlin/
DKotlinLanguageService.kt132 var typeArguments = node.details(NodeKind.Type) in <lambda>() variable
141 renderType(typeArguments.first(), renderMode) in <lambda>()
143 typeArguments = typeArguments.drop(1) in <lambda>()
146 renderList(typeArguments.take(typeArguments.size - 1), noWrap = true) { in <lambda>()
154 renderType(typeArguments.last(), renderMode) in <lambda>()
159 val typeArguments = details(NodeKind.Type) in <lambda>() constant
181 val typeArguments = node.details(NodeKind.Type) in <lambda>() constant
182 if (typeArguments.isNotEmpty()) { in <lambda>()
184 renderList(typeArguments, noWrap = true) { in <lambda>()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithTypeArguments.java55 N setTypeArguments(NodeList<Type> typeArguments); in setTypeArguments() argument
82 default N setTypeArguments(Type... typeArguments) { in setTypeArguments() argument
83 return setTypeArguments(nodeList(typeArguments)); in setTypeArguments()
/external/connectedappssdk/processor/src/main/resources/parcelablewrappers/
DParcelablePair.java67 BundlerType fType = type.typeArguments().get(0); in ParcelablePair()
68 BundlerType sType = type.typeArguments().get(1); in ParcelablePair()
90 BundlerType fType = type.typeArguments().get(0); in writeToParcel()
91 BundlerType sType = type.typeArguments().get(1); in writeToParcel()
DParcelableMap.java69 BundlerType keyType = type.typeArguments().get(0); in ParcelableMap()
70 BundlerType valueType = type.typeArguments().get(1); in ParcelableMap()
93 BundlerType keyType = type.typeArguments().get(0); in writeToParcel()
94 BundlerType valueType = type.typeArguments().get(1); in writeToParcel()
DParcelableImmutableMap.java75 BundlerType keyType = type.typeArguments().get(KEY_TYPE_INDEX); in ParcelableImmutableMap()
76 BundlerType valueType = type.typeArguments().get(VALUE_TYPE_INDEX); in ParcelableImmutableMap()
101 BundlerType keyType = type.typeArguments().get(0); in writeToParcel()
102 BundlerType valueType = type.typeArguments().get(1); in writeToParcel()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DOptionalish.java99 List<? extends TypeMirror> typeArguments = optionalType.getTypeArguments(); in getContainedType() local
100 switch (typeArguments.size()) { in getContainedType()
102 return typeArguments.get(0); in getContainedType()

12345