Home
last modified time | relevance | path

Searched refs:TypeVariableName (Results 1 – 8 of 8) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DTypeVariableName.java32 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()
DClassWriter.java39 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()
DMethodWriter.java36 private final List<TypeVariableName> typeParameters;
55 public void addTypeParameter(TypeVariableName typeVariableName) { in addTypeParameter()
59 public void addTypeParameters(Iterable<TypeVariableName> typeVariableNames) { in addTypeParameters()
DInterfaceWriter.java29 private final List<TypeVariableName> typeVariables;
35 public void addTypeVariable(TypeVariableName typeVariable) { in addTypeVariable()
DTypeNames.java60 return TypeVariableName.fromTypeVariable(t); in forTypeMirror()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMembersInjectorGenerator.java41 import dagger.internal.codegen.writer.TypeVariableName;
125 List<TypeVariableName> typeParameters = Lists.newArrayList();
127 typeParameters.add(TypeVariableName.fromTypeParameterElement(typeParameter));
317 List<TypeVariableName> typeParameters,
DFactoryGenerator.java39 import dagger.internal.codegen.writer.TypeVariableName;
112 List<TypeVariableName> typeParameters = Lists.newArrayList(); in write()
114 typeParameters.add(TypeVariableName.fromTypeParameterElement(typeParameter)); in write()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java66 .isEqualTo(ParameterizedTypeName.create(Set.class, TypeVariableName.named("E"))); in forTypeMirror_typeVariables()