Home
last modified time | relevance | path

Searched refs:typeVariables (Results 1 – 10 of 10) sorted by relevance

/external/doclava/src/com/google/doclava/
DParameterInfo.java70 public void makeHDF(Data data, String base, boolean isLastVararg, HashSet<String> typeVariables) { in makeHDF() argument
71 makeHDF(data, base, isLastVararg, typeVariables, Collections.<String, TypeInfo>emptyMap()); in makeHDF()
74 public void makeHDF(Data data, String base, boolean isLastVararg, HashSet<String> typeVariables, in makeHDF() argument
78 data, base + ".type", isLastVararg, typeVariables); in makeHDF()
82 HashSet<String> typeVariables) { in makeHDF() argument
83 makeHDF(data, base, params, isVararg, typeVariables, Collections.<String, TypeInfo>emptyMap()); in makeHDF()
87 HashSet<String> typeVariables, Map<String, TypeInfo> typeMapping) { in makeHDF() argument
90 data, base + "." + i, isVararg && (i == params.length - 1), typeVariables, typeMapping); in makeHDF()
DTypeInfo.java289 public void makeHDF(Data data, String base, boolean isLastVararg, HashSet<String> typeVariables) { in makeHDF() argument
290 makeHDFRecursive(data, base, false, isLastVararg, typeVariables); in makeHDF()
293 public void makeQualifiedHDF(Data data, String base, HashSet<String> typeVariables) { in makeQualifiedHDF() argument
294 makeHDFRecursive(data, base, true, false, typeVariables); in makeQualifiedHDF()
339 HashSet<String> typeVariables) { in makeHDF() argument
342 type.makeHDFRecursive(data, base + "." + i++, qualified, false, typeVariables); in makeHDF()
387 public static HashSet<String> typeVariables(ArrayList<TypeInfo> params) { in typeVariables() method in TypeInfo
388 return typeVariables(params, new HashSet<String>()); in typeVariables()
391 static HashSet<String> typeVariables(ArrayList<TypeInfo> params, HashSet<String> result) { in typeVariables() method in TypeInfo
DMethodInfo.java392 result.append(param.type().fullNameNoDimension(typeVariables())).append("..."); in getHashableName()
394 result.append(param.type().fullName(typeVariables())); in getHashableName()
614 data, base + ".returnType", false, typeVariables()); in makeHDF()
637 new ParameterInfo[mParameters.size()]), isVarArgs(), typeVariables(), typeMapping); in makeHDF()
671 public HashSet<String> typeVariables() { in typeVariables() method in MethodInfo
672 HashSet<String> result = TypeInfo.typeVariables(mTypeParameters); in typeVariables()
677 TypeInfo.typeVariables(types, result); in typeVariables()
DInfoBuilder.java889 ArrayList<TypeInfo> typeVariables = new ArrayList<TypeInfo>(); in buildTypeVariables() local
948 typeVariables.add(type); in buildTypeVariables()
951 return typeVariables; in buildTypeVariables()
DClassInfo.java304 public HashSet<String> typeVariables() { in typeVariables() method in ClassInfo
305 HashSet<String> result = TypeInfo.typeVariables(mTypeInfo.typeArguments()); in typeVariables()
310 TypeInfo.typeVariables(types, result); in typeVariables()
DStubs.java786 stream.print(method.returnType().fullName(method.typeVariables()) + " "); in writeMethod()
1886 String fullTypeName = type.fullName(method.typeVariables()); in fullParameterTypeName()
1891 fullTypeName = type.fullNameNoDimension(method.typeVariables()) + "..."; in fullParameterTypeName()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DInterfaceWriter.java29 private final List<TypeVariableName> typeVariables; field in InterfaceWriter
32 this.typeVariables = Lists.newArrayList(); in InterfaceWriter()
36 this.typeVariables.add(typeVariable); in addTypeVariable()
50 if (!typeVariables.isEmpty()) { in write()
52 Joiner.on(", ").appendTo(appendable, typeVariables); in write()
/external/guice/core/test/com/google/inject/
DTypeLiteralTest.java150 TypeVariable<Class<HasTypeParameters>>[] typeVariables in testTypeVariableWithNoBound() local
153 TypeLiteral<?> aTl = TypeLiteral.get(typeVariables[0]); in testTypeVariableWithNoBound()
165 TypeVariable<Class<HasTypeParameters>>[] typeVariables in testTypeVariablesWithSingleBound() local
168 TypeLiteral<?> cTl = TypeLiteral.get(typeVariables[2]); in testTypeVariablesWithSingleBound()
180 TypeVariable<Class<HasTypeParameters>>[] typeVariables in testTypeVariableWithMultipleBounds() local
183 TypeLiteral<?> bTl = TypeLiteral.get(typeVariables[1]); in testTypeVariableWithMultipleBounds()
189 assertEquals(ImmutableList.<Type>of(Types.listOf(typeVariables[0]), Runnable.class), in testTypeVariableWithMultipleBounds()
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DGenericMetadataSupportTest.java202 …private Type typeVariableValue(Map<TypeVariable<?>, Type> typeVariables, String typeVariableName) { in typeVariableValue() argument
203 for (Map.Entry<TypeVariable<?>, Type> typeVariableTypeEntry : typeVariables.entrySet()) { in typeVariableValue()
209 fail("'" + typeVariableName + "' was not found in " + typeVariables); in typeVariableValue()
/external/doclava/src/com/google/doclava/apicheck/
DApiFile.java336 typeVariableNames = TypeInfo.typeVariables(typeParameters); in parseMethod()
494 HashSet<String> variables = cl.typeVariables(); in parseTypeParameterList()