HomeSort by relevance Sort by last modified time
    Searched refs:getTypeParameters (Results 1 - 25 of 226) sorted by null

1 2 3 4 5 6 7 8 910

  /libcore/ojluni/src/main/java/java/lang/reflect/
GenericDeclaration.java 48 public TypeVariable<?>[] getTypeParameters();
Constructor.java 119 public TypeVariable<Constructor<T>>[] getTypeParameters() {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericReflectionTestsBase.java 34 TypeVariable<Method>[] typeParameters = method.getTypeParameters();
49 TypeVariable[] typeParameters = clazz.getTypeParameters();
TypeVariableTest.java 33 TypeVariable[] typeParameters = clazz.getTypeParameters();
51 TypeVariable<Method>[] typeParameters = method.getTypeParameters();
69 TypeVariable<?>[] typeParameters = constructor.getTypeParameters();
84 TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
109 TypeVariable<?>[] typeParameters = method.getTypeParameters();
134 TypeVariable<?>[] typeParameters = constructor.getTypeParameters();
156 TypeVariable[] typeParameters = clazz.getTypeParameters();
168 TypeVariable[] typeParameters = clazz.getTypeParameters();
GenericMethodsTests.java 48 assertLenghtZero(clazz.getTypeParameters());
111 TypeVariable<Method> typeParameter0 = method0.getTypeParameters()[0];
114 TypeVariable<Method> typeParameter1 = method1.getTypeParameters()[0];
GenericSignatureFormatErrorTest.java 76 TypeVariable[] tvs = clazz.getTypeParameters();
GenericArrayTypeTest.java 69 assertEquals(clazz.getTypeParameters()[0], parameterizedType.getActualTypeArguments()[0]);
BoundedGenericMethodsTests.java 105 assertLenghtOne(clazz.getTypeParameters());
  /external/guava/guava-tests/test/com/google/common/reflect/
TypeParameterTest.java 38 .getTypeParameters()[0];
TypeTokenResolutionTest.java 141 Type fType = Supplier.class.getTypeParameters()[0];
147 Type predicateParameterType = Predicate.class.getTypeParameters()[0];
241 .resolveType(Iterable.class.getTypeParameters()[0]).getType());
244 .resolveType(Iterable.class.getTypeParameters()[0]).getType());
260 Type keyType = Map.class.getTypeParameters()[0];
261 Type valueType = Map.class.getTypeParameters()[1];
280 assertEquals(GenericArray.class.getTypeParameters()[0], genericArray.t);
489 .resolveType(List.class.getTypeParameters()[0]).getType());
512 .resolveType(WithFalseRecursiveType.class.getTypeParameters()[0]);
520 .resolveType(WithFalseRecursiveType.class.getTypeParameters()[0])
    [all...]
InvokableTest.java 59 assertEquals(2, factory.getTypeParameters().length);
60 assertEquals(type.getTypeParameters()[0], factory.getTypeParameters()[0]);
61 assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
64 assertEquals(ImmutableList.copyOf(type.getTypeParameters()),
75 Prepender.constructor().getTypeParameters();
129 TypeVariable<?>[] variables = delegate.getTypeParameters();
200 assertEquals(0, delegate.getTypeParameters().length);
  /external/guava/guava/src/com/google/common/reflect/
Invokable.java 216 @Override public final TypeVariable<?>[] getTypeParameters() {
217 return method.getTypeParameters();
251 TypeVariable<?>[] typeParams = declaringClass.getTypeParameters();
289 @Override public final TypeVariable<?>[] getTypeParameters() {
290 TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters();
291 TypeVariable<?>[] declaredByConstructor = constructor.getTypeParameters();
  /external/guice/core/test/com/google/inject/
TypeLiteralTest.java 151 = HasTypeParameters.class.getTypeParameters();
161 assertEqualsBothWays(aTl, TypeLiteral.get(HasTypeParameters.class.getTypeParameters()[0]));
166 = HasTypeParameters.class.getTypeParameters();
176 assertEqualsBothWays(cTl, TypeLiteral.get(HasTypeParameters.class.getTypeParameters()[2]));
181 = HasTypeParameters.class.getTypeParameters();
192 assertEqualsBothWays(bTl, TypeLiteral.get(HasTypeParameters.class.getTypeParameters()[1]));
TypeLiteralTypeResolutionTest.java 63 Type mapK = Map.class.getTypeParameters()[0];
64 Type hashMapK = HashMap.class.getTypeParameters()[0];
290 ArrayList.class, ArrayList.class.getTypeParameters()));
292 newParameterizedType(AbstractCollection.class, ArrayList.class.getTypeParameters()),
298 Type anotherE = arraysAsListClass.getTypeParameters()[0];
  /external/guice/core/test/com/google/inject/internal/
MoreTypesTest.java 49 Type type = getClass().getMethod("testEquals_typeVariable").getTypeParameters()[0];
  /cts/tests/tests/media/src/android/media/cts/
RemoteControllerTest.java 156 Arrays.equals(method.getTypeParameters(),
157 potentialMatch.getTypeParameters())) {
  /external/desugar/java/com/google/devtools/common/options/
GenericTypeHelper.java 59 TypeVariable<?>[] typeParameters = rawInterfaceType.getTypeParameters();
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldGenericReflectionCornerCases.java 43 TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
86 TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
131 TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
183 TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
  /external/mockito/src/main/java/org/mockito/internal/util/reflection/
GenericMetadataSupport.java 113 TypeVariable<?>[] typeParameters = ((Class<?>) parameterizedType.getRawType()).getTypeParameters();
203 TypeVariable<?>[] typeParameters = rawType().getTypeParameters();
257 return new ParameterizedReturnType(this, method.getTypeParameters(), (ParameterizedType) type);
260 return new TypeVariableReturnType(this, method.getTypeParameters(), (TypeVariable<?>) type);
307 registerTypeParametersOn(clazz.getTypeParameters());
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
InjectMethodValidator.java 68 if (!methodElement.getTypeParameters().isEmpty()) {
Binding.java 238 if (element.getTypeParameters().isEmpty()) {
243 for (TypeParameterElement parameter : element.getTypeParameters()) {
BuilderValidator.java 91 if (!subject.getTypeParameters().isEmpty()) {
144 if (!method.getTypeParameters().isEmpty()) {
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
ParameterizedTypeName.java 103 checkArgument(parameterizedClass.getTypeParameters().length == parameters.length);
  /libcore/luni/src/main/java/libcore/reflect/
TypeVariableImpl.java 73 TypeVariable[] formalVars = layer.getTypeParameters();
  /frameworks/base/core/java/android/hardware/camera2/utils/
TypeReference.java 292 if (klass.getTypeParameters().length != 0) {
379 toString(klass.getTypeParameters(), out);

Completed in 618 milliseconds

1 2 3 4 5 6 7 8 910