Home
last modified time | relevance | path

Searched refs:typeVariableName (Results 1 – 5 of 5) sorted by relevance

/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeVariableName.java118 TypeVariableName typeVariableName = typeVariables.get(element); in get() local
119 if (typeVariableName == null) { in get()
124 typeVariableName = new TypeVariableName(element.getSimpleName().toString(), visibleBounds); in get()
125 typeVariables.put(element, typeVariableName); in get()
131 return typeVariableName; in get()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DMethodWriter.java55 public void addTypeParameter(TypeVariableName typeVariableName) { in addTypeParameter() argument
56 this.typeParameters.add(typeVariableName); in addTypeParameter()
DClassWriter.java76 public void addTypeParameter(TypeVariableName typeVariableName) { in addTypeParameter() argument
77 this.typeParameters.add(typeVariableName); in addTypeParameter()
/external/javapoet/src/test/java/com/squareup/javapoet/
DAbstractTypesTest.java156 TypeVariableName typeVariableName = (TypeVariableName) typeName.typeArguments.get(0); in getTypeVariableTypeMirrorRecursive() local
159 typeVariableName.bounds.set(0, null); in getTypeVariableTypeMirrorRecursive()
164 assertThat(typeVariableName.toString()).isEqualTo("T"); in getTypeVariableTypeMirrorRecursive()
165 assertThat(typeVariableName.bounds.toString()) in getTypeVariableTypeMirrorRecursive()
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DGenericMetadataSupportTest.java202 …private Type typeVariableValue(Map<TypeVariable<?>, Type> typeVariables, String typeVariableName) { in typeVariableValue() argument
204 if (typeVariableTypeEntry.getKey().getName().equals(typeVariableName)) { in typeVariableValue()
209 fail("'" + typeVariableName + "' was not found in " + typeVariables); in typeVariableValue()