HomeSort by relevance Sort by last modified time
    Searched full:parameterizedtype (Results 1 - 25 of 31) sorted by null

1 2

  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
ParameterizedTypeTest.java 20 import java.lang.reflect.ParameterizedType;
34 assertInstanceOf(ParameterizedType.class, genericSuperclass);
35 ParameterizedType parameterizedType = (ParameterizedType) genericSuperclass;
36 assertEquals(ParameterizedTypeTest.class, parameterizedType.getOwnerType());
37 assertEquals(A.class, parameterizedType.getRawType());
39 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments();
50 assertInstanceOf(ParameterizedType.class, genericSuperclass);
51 ParameterizedType parameterizedType = (ParameterizedType) genericSuperclass
    [all...]
WildcardTypeTest.java 21 import java.lang.reflect.ParameterizedType;
70 assertInstanceOf(ParameterizedType.class, genericParameterType);
72 ParameterizedType parameterizedType = (ParameterizedType) genericParameterType;
74 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments();
92 assertInstanceOf(ParameterizedType.class, genericParameterType);
94 ParameterizedType parameterizedType = (ParameterizedType) genericParameterType
    [all...]
GenericArrayTypeTest.java 21 import java.lang.reflect.ParameterizedType;
59 assertInstanceOf(ParameterizedType.class, componentType);
60 ParameterizedType parameteriezdType = (ParameterizedType) componentType;
  /external/mockito/src/org/mockito/internal/util/reflection/
GenericMaster.java 8 import java.lang.reflect.ParameterizedType;
21 if (generic != null && generic instanceof ParameterizedType) {
22 Type actual = ((ParameterizedType) generic).getActualTypeArguments()[0];
25 } else if (actual instanceof ParameterizedType) {
27 return (Class) ((ParameterizedType) actual).getRawType();
GenericMetadataSupport.java 30 * <code>Class</code> or from a <code>ParameterizedType</code>, other types are not yet supported.</li>
41 * Set&lt;Number&gt; remove(Object key); // override with fixed ParameterizedType
69 if (!(classType instanceof ParameterizedType)) {
72 ParameterizedType parameterizedType = (ParameterizedType) classType;
73 TypeVariable[] typeParameters = ((Class<?>) parameterizedType.getRawType()).getTypeParameters();
74 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments();
84 // logger.log("For '" + parameterizedType + "' found type variable : { '" + typeParameter + "(" + System.identityHashCode(typeParameter) + ")" + "' : '" + actualTypeArgument + "(" + System.identityHashCode(typeParameter) + ")" + "' }");
195 if (genericReturnType instanceof ParameterizedType) {
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldGenericReflectionCornerCases.java 20 import java.lang.reflect.ParameterizedType;
50 assertInstanceOf(ParameterizedType.class, parameter);
51 ParameterizedType paramType = (ParameterizedType) parameter;
93 assertInstanceOf(ParameterizedType.class, parameter);
94 ParameterizedType paramType = (ParameterizedType) parameter;
137 assertInstanceOf(ParameterizedType.class, typeParameterBounds[1]);
138 ParameterizedType parameterizedType = (ParameterizedType) typeParameterBounds[1]
    [all...]
ClassLoaderReflectionTest.java 22 import java.lang.reflect.ParameterizedType;
152 assertTrue(actual.toString(), actual instanceof ParameterizedType);
153 ParameterizedType parameterizedType = (ParameterizedType) actual;
154 assertEquals(raw, parameterizedType.getRawType());
156 Arrays.asList(parameterizedType.getActualTypeArguments()));
OldGenericTypesTest.java 21 import java.lang.reflect.ParameterizedType;
166 assertInstanceOf(ParameterizedType.class, clazz.getGenericSuperclass());
167 ParameterizedType parameterizedSuperType = (ParameterizedType) clazz.getGenericSuperclass();
ReflectionTest.java 24 import java.lang.reflect.ParameterizedType;
151 ParameterizedType comparableT = (ParameterizedType) bounds[0];
  /external/junit/src/org/junit/runners/model/
NoGenericTypeParametersValidator.java 5 import java.lang.reflect.ParameterizedType;
27 } else if (type instanceof ParameterizedType)
28 validateNoTypeParameterOnParameterizedType((ParameterizedType) type, errors);
35 private void validateNoTypeParameterOnParameterizedType(ParameterizedType parameterized,
  /cts/tools/signature-tools/test/signature/converter/
ConvertParameterizedTypeTest.java 23 import java.lang.reflect.ParameterizedType;
88 ParameterizedType paramType = (ParameterizedType)field.getGenericType();
99 ParameterizedType paramType = (ParameterizedType)field.getGenericType();
112 ParameterizedType paramType = (ParameterizedType) field.getGenericType();
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
ReflectionUtils.java 21 import java.lang.reflect.ParameterizedType;
75 // ParameterizedType
76 if (type instanceof ParameterizedType) {
77 ParameterizedType parameterizedType = (ParameterizedType) type;
78 Type rawType = parameterizedType.getRawType();
85 for (Type typeArgument : parameterizedType.getActualTypeArguments()) {
  /libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
ImplForType.java 19 import java.lang.reflect.ParameterizedType;
22 public final class ImplForType implements ParameterizedType {
  /libcore/luni/src/main/java/java/lang/reflect/
ParameterizedType.java 26 public interface ParameterizedType extends Type {
AccessibleObject.java 278 } else if (obj instanceof ParameterizedType) {
  /cts/tools/signature-tools/test/signature/comparator/
ClassCompareTest.java 36 import java.lang.reflect.ParameterizedType;
210 ParameterizedType sC = (ParameterizedType)A0.class.getGenericSuperclass();
  /cts/tools/signature-tools/src/signature/converter/dex/
GenericSignatureParser.java 402 SigParameterizedType parameterizedType = factory
404 parentType = parameterizedType;
427 SigParameterizedType parameterizedType = factory
429 memberType = parameterizedType;
  /libcore/luni/src/test/java/libcore/java/lang/
OldClassTest.java 29 import java.lang.reflect.ParameterizedType;
449 assertEquals(Collection.class, ((ParameterizedType)types[0]).getRawType());
464 ParameterizedType type = (ParameterizedType) Vector.class.getGenericSuperclass();
    [all...]
  /cts/tests/SignatureTest/src/android/tests/sigtest/
JDiffClassDescription.java 24 import java.lang.reflect.ParameterizedType;
    [all...]
  /cts/tools/signature-tools/src/signature/converter/doclet/
DocletToSigConverter.java 77 import com.sun.javadoc.ParameterizedType;
344 ParameterizedType pType = type.asParameterizedType();
  /prebuilts/tools/common/easymock-tools/
easymock-3.1.jar 
  /prebuilts/tools/common/m2/internal/org/easymock/easymock/3.1/
easymock-3.1.jar 
  /external/jdiff/src/jdiff/
RootDocToXML.java 4 import com.sun.javadoc.ParameterizedType;
    [all...]
  /external/libvpx/libvpx/examples/includes/geshi/geshi/
java5.php 169 'AccessibleObject', 'AnnotatedElement', 'Constructor', 'Field', 'GenericArrayType', 'GenericDeclaration', 'GenericSignatureFormatError', 'InvocationHandler', 'InvocationTargetException', 'MalformedParameterizedTypeException', 'Member', 'Method', 'Modifier', 'ParameterizedType', 'ReflectPermission', 'Type', 'TypeVariable', 'UndeclaredThrowableException', 'WildcardType'
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.api.tools.ee.j2se15_1.0.0.200901281111/org/eclipse/pde/api/tools/internal/api_stubs/
J2SE-1.5.zip 

Completed in 1446 milliseconds

1 2