/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | TypeVariableName.java | 34 public final class TypeVariableName extends TypeName { class 38 private TypeVariableName(String name, List<TypeName> bounds) { in TypeVariableName() method in TypeVariableName 42 private TypeVariableName(String name, List<TypeName> bounds, List<AnnotationSpec> annotations) { in TypeVariableName() method in TypeVariableName 52 @Override public TypeVariableName annotated(List<AnnotationSpec> annotations) { in annotated() 53 return new TypeVariableName(name, bounds, annotations); in annotated() 57 return new TypeVariableName(name, bounds); in withoutAnnotations() 60 public TypeVariableName withBounds(Type... bounds) { in withBounds() 64 public TypeVariableName withBounds(TypeName... bounds) { in withBounds() 68 public TypeVariableName withBounds(List<? extends TypeName> bounds) { in withBounds() 72 return new TypeVariableName(name, newBounds, annotations); in withBounds() [all …]
|
D | TypeName.java | 247 final Map<TypeParameterElement, TypeVariableName> typeVariables) { in get() 303 return TypeVariableName.get(t, typeVariables); in get() 326 static TypeName get(Type type, Map<Type, TypeVariableName> map) { 348 return TypeVariableName.get((TypeVariable<?>) type, map); 363 static List<TypeName> list(Type[] types, Map<Type, TypeVariableName> map) {
|
D | MethodSpec.java | 50 public final List<TypeVariableName> typeVariables; 216 methodBuilder.addTypeVariable(TypeVariableName.get(var)); in overriding() 285 private List<TypeVariableName> typeVariables = new ArrayList<>(); 347 public Builder addTypeVariables(Iterable<TypeVariableName> typeVariables) { in addTypeVariables() 349 for (TypeVariableName typeVariable : typeVariables) { in addTypeVariables() 355 public Builder addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable()
|
D | ArrayTypeName.java | 97 ArrayType mirror, Map<TypeParameterElement, TypeVariableName> typeVariables) { in get() 106 static ArrayTypeName get(GenericArrayType type, Map<Type, TypeVariableName> map) { in get()
|
D | WildcardTypeName.java | 106 Map<TypeParameterElement, TypeVariableName> typeVariables) { in get() 124 static TypeName get(WildcardType wildcardName, Map<Type, TypeVariableName> map) { in get()
|
D | TypeSpec.java | 47 public final List<TypeVariableName> typeVariables; 400 private final List<TypeVariableName> typeVariables = new ArrayList<>(); 460 public Builder addTypeVariables(Iterable<TypeVariableName> typeVariables) { in addTypeVariables() 463 for (TypeVariableName typeVariable : typeVariables) { in addTypeVariables() 469 public Builder addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable()
|
D | CodeWriter.java | 187 public void emitTypeVariables(List<TypeVariableName> typeVariables) throws IOException { in emitTypeVariables() 192 for (TypeVariableName typeVariable : typeVariables) { in emitTypeVariables()
|
D | ParameterizedTypeName.java | 128 static ParameterizedTypeName get(ParameterizedType type, Map<Type, TypeVariableName> map) { in get()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | TypeVariableName.java | 32 public final class TypeVariableName implements TypeName { class 36 TypeVariableName(CharSequence name, Iterable<? extends TypeName> extendsBounds) { in TypeVariableName() method in TypeVariableName 76 if (obj instanceof TypeVariableName) { in equals() 77 TypeVariableName that = (TypeVariableName) obj; in equals() 90 static TypeVariableName named(CharSequence name) { in named() 91 return new TypeVariableName(name, ImmutableList.<TypeName>of()); in named() 94 public static TypeVariableName fromTypeVariable(TypeVariable variable) { in fromTypeVariable() 103 public static TypeVariableName fromTypeParameterElement(TypeParameterElement element) { in fromTypeParameterElement() 113 return new TypeVariableName(element.getSimpleName(), bounds); in fromTypeParameterElement()
|
D | ClassWriter.java | 39 private final List<TypeVariableName> typeParameters; 76 public void addTypeParameter(TypeVariableName typeVariableName) { in addTypeParameter() 80 public void addTypeParameters(Iterable<TypeVariableName> typeVariableNames) { in addTypeParameters() 84 public List<TypeVariableName> typeParameters() { in typeParameters()
|
D | MethodWriter.java | 36 private final List<TypeVariableName> typeParameters; 55 public void addTypeParameter(TypeVariableName typeVariableName) { in addTypeParameter() 59 public void addTypeParameters(Iterable<TypeVariableName> typeVariableNames) { in addTypeParameters()
|
D | InterfaceWriter.java | 29 private final List<TypeVariableName> typeVariables; 35 public void addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable()
|
D | TypeNames.java | 60 return TypeVariableName.fromTypeVariable(t); in forTypeMirror()
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | AbstractTypesTest.java | 132 .isEqualTo(TypeVariableName.get("Simple")); in getTypeVariableTypeMirror() 134 .isEqualTo(TypeVariableName.get("ExtendsClass", number)); in getTypeVariableTypeMirror() 136 .isEqualTo(TypeVariableName.get("ExtendsInterface", runnable)); in getTypeVariableTypeMirror() 138 .isEqualTo(TypeVariableName.get("ExtendsTypeVariable", TypeVariableName.get("Simple"))); in getTypeVariableTypeMirror() 140 .isEqualTo(TypeVariableName.get("Intersection", number, runnable)); in getTypeVariableTypeMirror() 142 .isEqualTo(TypeVariableName.get("IntersectionOfInterfaces", runnable, serializable)); in getTypeVariableTypeMirror() 143 assertThat(((TypeVariableName) TypeName.get(typeVariables.get(4).asType())).bounds) in getTypeVariableTypeMirror() 156 TypeVariableName typeVariableName = (TypeVariableName) typeName.typeArguments.get(0); in getTypeVariableTypeMirrorRecursive() 256 TypeVariableName type = TypeVariableName.get("T", CharSequence.class); in typeVariable()
|
D | TypeNameTest.java | 146 assertEqualsHashCodeAndToString(TypeVariableName.get(Object.class), in equalsAndHashCodeTypeVariableName() 147 TypeVariableName.get(Object.class)); in equalsAndHashCodeTypeVariableName() 148 TypeVariableName typeVar1 = TypeVariableName.get("T", Comparator.class, Serializable.class); in equalsAndHashCodeTypeVariableName() 149 TypeVariableName typeVar2 = TypeVariableName.get("T", Comparator.class, Serializable.class); in equalsAndHashCodeTypeVariableName()
|
D | TypeSpecTest.java | 546 TypeVariableName t = TypeVariableName.get("T"); in typeVariables() 547 TypeVariableName p = TypeVariableName.get("P", Number.class); in typeVariables() 602 TypeVariableName p = TypeVariableName.get("P", Number.class); in typeVariableWithBounds() 603 TypeVariableName q = (TypeVariableName) TypeVariableName.get("Q", Number.class).annotated(a); in typeVariableWithBounds() 1001 TypeVariableName typeVariable = TypeVariableName.get("T", Comparator.class, Serializable.class); in intersectionType() 1863 TypeVariableName.get("T"), in multipleTypeVariableAddition() 1864 TypeVariableName.get("P", Number.class))) in multipleTypeVariableAddition()
|
D | AnnotatedTypeNameTest.java | 107 annotatedEquivalence(TypeVariableName.get(Object.class)); in annotatedEquivalence()
|
D | JavaFileTest.java | 540 TypeVariableName.get("T", ClassName.get("com.taco.bell", "Taco"))) in conflictingTypeVariableBound()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | MembersInjectorGenerator.java | 41 import dagger.internal.codegen.writer.TypeVariableName; 125 List<TypeVariableName> typeParameters = Lists.newArrayList(); 127 typeParameters.add(TypeVariableName.fromTypeParameterElement(typeParameter)); 317 List<TypeVariableName> typeParameters,
|
D | FactoryGenerator.java | 39 import dagger.internal.codegen.writer.TypeVariableName; 112 List<TypeVariableName> typeParameters = Lists.newArrayList(); in write() 114 typeParameters.add(TypeVariableName.fromTypeParameterElement(typeParameter)); in write()
|
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/ |
D | OperatorProcessor.java | 29 import com.squareup.javapoet.TypeVariableName; 249 TypeVariableName tvn = TypeVariableName.get((TypeVariable) tp.asType()); in buildOpMethod()
|
/external/javapoet/ |
D | CHANGELOG.md | 93 * New: `TypeVariableName.withBounds()` adds bounds to a type variable. 115 * Fix: Don't stack overflow when `TypeVariableName` is part of `ParameterizedTypeName`. 129 * Fix: Don't stack overflow when `TypeVariableName` gets a self-referential type.
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/ |
D | TypeNamesTest.java | 66 .isEqualTo(ParameterizedTypeName.create(Set.class, TypeVariableName.named("E"))); in forTypeMirror_typeVariables()
|
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_dump.c | 1494 #define SVGA3D_DUMP_TYPE_CASE(TypeVariableName, CaseName) \ argument 1496 _debug_printf(SVGA3D_DUMP_STRINGIFY(\t\t.TypeVariableName = CaseName) "\n"); \ 1499 #define SVGA3D_DUMP_TYPE_DEFAULT(TypeVariableName) \ argument 1501 _debug_printf(SVGA3D_DUMP_STRINGIFY(\t\t.TypeVariableName = %i\n), (*cmd).TypeVariableName); \
|