/external/guava/guava/src/com/google/common/reflect/ |
D | TypeToken.java | 176 public final Class<? super T> getRawType() { in getRawType() method in TypeToken 177 Class<?> rawType = getRawType(runtimeType); in getRawType() 295 Type superclass = getRawType().getGenericSuperclass(); in getGenericSuperclass() 306 if (token.getRawType().isInterface()) { in boundAsSuperclass() 334 for (Type interfaceType : getRawType().getGenericInterfaces()) { in getGenericInterfaces() 348 if (boundType.getRawType().isInterface()) { in boundsAsInterfaces() 376 checkArgument(superclass.isAssignableFrom(getRawType()), in getSupertype() 404 checkArgument(getRawType().isAssignableFrom(subclass), in getSubtype() 522 checkArgument(constructor.getDeclaringClass() == getRawType(), 523 "%s not declared by %s", constructor, getRawType()); [all …]
|
D | TypeResolver.java | 129 checkArgument(fromParameterizedType.getRawType().equals(toParameterizedType.getRawType()), in populateTypeMappings() 197 Type resolvedRawType = resolveType(type.getRawType()); in resolveParameterizedType() 331 Class<?> rawClass = (Class<?>) parameterizedType.getRawType(); in visitParameterizedType() 401 (Class<?>) parameterizedType.getRawType(), in capture()
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenResolutionTest.java | 45 return new TypeToken<A>(getClass()) {}.getRawType(); in getClassA() 49 return new TypeToken<B>(getClass()) {}.getRawType(); in getClassB() 53 return new TypeToken<A[]>(getClass()) {}.getRawType(); in getArrayClassA() 61 return new TypeToken<B[]>(getClass()) {}.getRawType(); in getArrayClassB() 111 @Override public Type getRawType() { in parameterizedType() method in TypeTokenResolutionTest.Parameterized 126 assertEquals(Bar.class, resolved.getRawType()); 144 .getRawType()); 163 return new TypeToken<X>(getClass()) {}.getRawType(); 169 return new TypeToken<T>(getClass()) {}.getRawType(); 288 assertEquals(String.class, typeExpression.getRawType()); [all …]
|
/external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/ |
D | BoundFieldModule.java | 205 if (isTransparentProvider(type.getRawType())) { in getNaturalFieldType() 293 Class<?> naturalRawType = fieldInfo.naturalType.get().getRawType(); in bindField() 294 Class<?> boundRawType = fieldInfo.boundType.getRawType(); in bindField() 316 if (isTransparentProvider(fieldInfo.type.getRawType())) { in bindField() 364 while (currentClassType.getRawType() != Object.class) { in configure() 365 for (Field field : currentClassType.getRawType().getDeclaredFields()) { in configure() 378 currentClassType.getSupertype(currentClassType.getRawType().getSuperclass()); in configure()
|
/external/desugar/java/com/google/devtools/common/options/ |
D | GenericTypeHelper.java | 41 static Class<?> getRawType(Type t) { in getRawType() method in GenericTypeHelper 45 return (Class<?>) ((ParameterizedType) t).getRawType(); in getRawType() 58 Class<?> rawInterfaceType = getRawType(type); in matchTypeVariable() 96 Class<?> rawType = getRawType(type); in getActualReturnType()
|
/external/guice/core/test/com/google/inject/spi/ |
D | InjectorSpiTest.java | 40 assertEquals(Foo.class, binding.getKey().getTypeLiteral().getRawType()); in testExistingBinding() 47 assertEquals(Provider.class, binding.getKey().getTypeLiteral().getRawType()); in testExistingBinding() 53 assertEquals(Baz.class, binding.getKey().getTypeLiteral().getRawType()); in testExistingBinding() 60 assertEquals(Provider.class, binding.getKey().getTypeLiteral().getRawType()); in testExistingBinding()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | NullPointerTester.java | 379 T defaultValue = (T) defaults.getInstance(type.getRawType()); in getDefaultValue() 384 T arbitrary = (T) ArbitraryInstances.get(type.getRawType()); in getDefaultValue() 388 if (type.getRawType() == Class.class) { in getDefaultValue() 391 T defaultClass = (T) getFirstTypeParameter(type.getType()).getRawType(); in getDefaultValue() 394 if (type.getRawType() == TypeToken.class) { in getDefaultValue() 400 if (type.getRawType() == Converter.class) { in getDefaultValue() 409 if (type.getRawType().isInterface()) { in getDefaultValue() 457 return param.getType().getRawType().isPrimitive() || isNullable(param);
|
D | ClassSanityTester.java | 542 if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) { in getFactoriesToTest() 600 if (params.get(i).getType().getRawType().isEnum()) { in testEqualsUsing() 686 for (Method method : type.getRawType().getDeclaredMethods()) { in getFactories() 697 if (!Modifier.isAbstract(type.getRawType().getModifiers())) { in getFactories() 698 for (Constructor<?> constructor : type.getRawType().getDeclaredConstructors()) { in getFactories() 733 Class<? super T> rawType = type.getRawType(); in getDummyValue()
|
/external/guice/core/src/com/google/inject/internal/ |
D | MoreTypes.java | 103 if (typeLiteral.getRawType() == javax.inject.Provider.class) { in canonicalizeForKey() 166 p.getRawType(), p.getActualTypeArguments()); in canonicalize() 182 public static Class<?> getRawType(Type type) { in getRawType() method in MoreTypes 193 Type rawType = parameterizedType.getRawType(); in getRawType() 200 return Array.newInstance(getRawType(componentType), 0).getClass(); in getRawType() 234 && pa.getRawType().equals(pb.getRawType()) in equals() 379 public Type getRawType() { in getRawType() method in MoreTypes.ParameterizedTypeImpl
|
D | AbstractBindingProcessor.java | 73 Class<?> rawType = key.getTypeLiteral().getRawType(); in putBinding() 131 key.getTypeLiteral().getRawType(), source, errors); in validateKey() 147 rawType = key.getTypeLiteral().getRawType(); in Processor()
|
D | ConstructorBindingImpl.java | 81 ? key.getTypeLiteral().getRawType() in create() 82 : (Class) constructorInjector.getDeclaringType().getRawType(); in create() 268 dependency.getKey().getTypeLiteral().getRawType(), provisionCallback); in get()
|
D | TypeConverterBindingProcessor.java | 71 return Enum.valueOf((Class) toType.getRawType(), value); in prepareBuiltInConverters() 81 return typeLiteral.getRawType() == Class.class; in prepareBuiltInConverters()
|
D | InjectorImpl.java | 288 return key.getTypeLiteral().getRawType().equals(Provider.class); in isProvider() 292 return key.getTypeLiteral().getRawType().equals(TypeLiteral.class); in isTypeLiteral() 312 return key.getTypeLiteral().getRawType().equals(MembersInjector.class) in isMembersInjector() 444 if (!type.getRawType().isInstance(converted)) { 627 Class<?> rawType = key.getTypeLiteral().getRawType(); 701 Class<?> rawType = key.getTypeLiteral().getRawType(); 731 Class<?> rawType = key.getTypeLiteral().getRawType(); 881 Object source = key.getTypeLiteral().getRawType();
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTest.java | 140 assertEquals(primitives[t], primitiveTl.getRawType()); in testDifferentiationBetweenWrappersAndPrimitives() 141 assertEquals(wrappers[t], wrapperTl.getRawType()); in testDifferentiationBetweenWrappersAndPrimitives() 154 assertEquals(Object.class, aTl.getRawType()); in testTypeVariableWithNoBound() 169 assertEquals(Object.class, cTl.getRawType()); in testTypeVariablesWithSingleBound() 184 assertEquals(Object.class, bTl.getRawType()); in testTypeVariableWithMultipleBounds()
|
D | ProvisionListenerTest.java | 139 return binding.getKey().getRawType().equals(DependsOnFooBombInField.class); in testExceptionInFieldProvision() 169 return binding.getKey().getRawType().equals(DependsOnFooBombInCxtor.class); in testExceptionInCxtorProvision() 479 Class<? super T> expected = provision.getBinding().getKey().getRawType(); in onProvision() 483 assertEquals(provision.getBinding().getKey().getRawType(), provisioned.getClass()); in onProvision() 539 actual.add(dep.getDependency().getKey().getRawType()); in onProvision() 542 provisionList.add(provision.getBinding().getKey().getRawType()); in onProvision() 568 totalList.add(provision.getBinding().getKey().getRawType()); 672 assertEquals(notifyType, provision.getBinding().getKey().getRawType()); 679 provision.getDependencyChain().get(1).getDependency().getKey().getRawType());
|
/external/guice/core/src/com/google/inject/spi/ |
D | InjectionPoint.java | 19 import static com.google.inject.internal.MoreTypes.getRawType; 222 if (type.getRawType() != constructor.getDeclaringClass()) { in forConstructor() 241 Class<?> rawType = getRawType(type.getType()); in forConstructorOf() 339 if (type.getRawType().isInterface()) { in forStaticMethodsAndFields() 340 errors.staticInjectionOnInterface(type.getRawType()); in forStaticMethodsAndFields() 675 for (Field field : current.getRawType().getDeclaredFields()) { in getInjectionPoints() 688 for (Method method : current.getRawType().getDeclaredMethods()) { in getInjectionPoints() 803 while (current.getRawType() != Object.class) { in hierarchyFor() 805 current = current.getSupertype(current.getRawType().getSuperclass()); in hierarchyFor()
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
D | FactoryProvider.java | 186 for (Method method : factoryType.getRawType().getMethods()) { in newFactory() 256 for (Constructor<?> constructor : implementationType.getRawType().getDeclaredConstructors()) { in createMethodMapping() 268 Method[] factoryMethods = factoryType.getRawType().getMethods(); in createMethodMapping() 287 if (!method.getReturnType().isAssignableFrom(implementationType.getRawType())) { in createMethodMapping() 377 Class<F> factoryRawType = (Class<F>) (Class<?>) factoryType.getRawType(); in get()
|
D | FactoryProvider2.java | 217 Class<F> factoryRawType = (Class<F>) (Class<?>) factoryType.getRawType(); in FactoryProvider2() 252 validateFactoryReturnType(errors, returnType.getTypeLiteral().getRawType(), factoryRawType); in FactoryProvider2() 259 Class<?> underlylingType = paramKey.getTypeLiteral().getRawType(); in FactoryProvider2() 276 Annotations.findScopeAnnotation(errors, implementation.getRawType()); in FactoryProvider2() 281 scope, implementation.getRawType(), factoryType); in FactoryProvider2() 302 if(isValidForOptimizedAssistedInject(deps, implementation.getRawType(), factoryType)) { in FactoryProvider2() 468 Class<?> rawType = implementation.getRawType(); in findMatchingConstructorInjectionPoint() 571 if (!implementation.getRawType().isInterface()) { in getDependencies() 627 …if (dependency.getKey().getTypeLiteral().getRawType().equals(Provider.class)) { // And a Provider.… in isInjectorOrAssistedProvider() 630 …} else if (dependency.getKey().getTypeLiteral().getRawType().equals(Injector.class)) { // If it's … in isInjectorOrAssistedProvider()
|
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/ |
D | AstTypeAnalysis.java | 34 Type currentOuterType = t.getRawType(); in AstTypeAnalysis() 46 type = t.getRawType(); in AstTypeAnalysis()
|
/external/guice/core/src/com/google/inject/ |
D | TypeLiteral.java | 80 this.rawType = (Class<? super T>) MoreTypes.getRawType(type); in TypeLiteral() 90 this.rawType = (Class<? super T>) MoreTypes.getRawType(this.type); in TypeLiteral() 119 public final Class<? super T> getRawType() { in getRawType() method in TypeLiteral 221 ? Types.newParameterizedTypeWithOwner(newOwnerType, original.getRawType(), args) in resolveType()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_reflectionmodel_ReflectionFactory.txt | 6 …Line 60) typeUsageFor(pt.getRawType(), typeSolver).asReferenceType() ==> com.github.javaparser.sym… 7 …Line 60) typeUsageFor(pt.getRawType(), typeSolver) ==> com.github.javaparser.symbolsolver.reflecti… 8 Line 60) pt.getRawType() ==> java.lang.reflect.ParameterizedType.getRawType()
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | CheckedProvideUtils.java | 45 Class<?> rawType = typeLiteral.getRawType(); in findThrowingConstructor() 83 Class<?> exActual = exType.getRawType(); in validateExceptions()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | GenericMetadataSupport.java | 93 return (Class<?>) ((ParameterizedType) type).getRawType(); in extractRawTypeOf() 113 …TypeVariable<?>[] typeParameters = ((Class<?>) parameterizedType.getRawType()).getTypeParameters(); in registerTypeVariablesOn() 342 return (Class<?>) parameterizedType.getRawType(); in rawType() 372 return (Class<?>) parameterizedType.getRawType(); in rawType()
|
/external/llvm/lib/IR/ |
D | LLVMContextImpl.h | 557 Line(N->getLine()), Type(N->getRawType()), 570 Type == RHS->getRawType() && IsLocalToUnit == RHS->isLocalToUnit() && 725 : Name(N->getRawName()), Type(N->getRawType()) {} 728 return Name == RHS->getRawName() && Type == RHS->getRawType(); 742 : Tag(N->getTag()), Name(N->getRawName()), Type(N->getRawType()), 747 Type == RHS->getRawType() && Value == RHS->getValue(); 775 Line(N->getLine()), Type(N->getRawType()), 784 Type == RHS->getRawType() && IsLocalToUnit == RHS->isLocalToUnit() && 812 Line(N->getLine()), Type(N->getRawType()), Arg(N->getArg()), 818 Type == RHS->getRawType() && Arg == RHS->getArg() && [all …]
|
/external/guice/extensions/mini/src/com/google/inject/mini/ |
D | MiniGuice.java | 110 && (((ParameterizedType) key.type).getRawType() == Provider.class in requireKey() 111 || ((ParameterizedType) key.type).getRawType() == javax.inject.Provider.class)) { in requireKey() 365 public Type getRawType() { in getRawType() method in MiniGuice.ProviderType 381 && that.getRawType() == rawType; in equals()
|