Searched refs:declaredType (Results 1 – 6 of 6) sorted by relevance
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | MembersInjectionBinding.java | 168 boolean hasInjectedMembers(DeclaredType declaredType) { in hasInjectedMembers() argument 169 return !getInjectionSites(declaredType).isEmpty(); in hasInjectedMembers() 178 DeclaredType declaredType, Optional<TypeMirror> resolvedType) { in forInjectedType() argument 180 if (!declaredType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in forInjectedType() 184 types.isSameType(types.erasure(resolved), types.erasure(declaredType)), in forInjectedType() 187 types.erasure(declaredType)); in forInjectedType() 188 declaredType = resolved; in forInjectedType() 190 ImmutableSortedSet<InjectionSite> injectionSites = getInjectionSites(declaredType); in forInjectedType() 203 MoreTypes.nonObjectSuperclass(types, elements, declaredType) in forInjectedType() 212 Key key = keyFactory.forMembersInjectedType(declaredType); in forInjectedType() [all …]
|
D | ProducesMethodValidator.java | 176 DeclaredType declaredType = MoreTypes.asDeclared(type); in validateSingleReturnType() local 177 if (declaredType.getTypeArguments().isEmpty()) { in validateSingleReturnType() 180 validateKeyType(reportBuilder, Iterables.getOnlyElement(declaredType.getTypeArguments())); in validateSingleReturnType() 195 DeclaredType declaredType = MoreTypes.asDeclared(type); in validateSetType() local 196 if (!declaredType.asElement().equals(getSetElement())) { in validateSetType() 198 } else if (declaredType.getTypeArguments().isEmpty()) { in validateSetType() 203 Iterables.getOnlyElement(declaredType.getTypeArguments())); in validateSetType()
|
/external/guava/guava/src/com/google/common/base/ |
D | Throwables.java | 61 @Nullable Throwable throwable, Class<X> declaredType) throws X { in propagateIfInstanceOf() argument 63 if (throwable != null && declaredType.isInstance(throwable)) { in propagateIfInstanceOf() 64 throw declaredType.cast(throwable); in propagateIfInstanceOf() 107 @Nullable Throwable throwable, Class<X> declaredType) throws X { in propagateIfPossible() argument 108 propagateIfInstanceOf(throwable, declaredType); in propagateIfPossible()
|
/external/guava/guava/src/com/google/common/io/ |
D | Closer.java | 167 Class<X> declaredType) throws IOException, X { in rethrow() argument 171 Throwables.propagateIfPossible(e, declaredType); in rethrow()
|
/external/turbine/javatests/com/google/turbine/lower/testdata/ |
D | genericexn.test | 6 Throwable throwable, Class<X> declaredType) throws X {
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslGrammar.cpp | 364 TType declaredType; in acceptDeclaration() local 377 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration() 398 … parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration() 404 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration() 431 parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType); in acceptDeclaration() 434 …if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel(… in acceptDeclaration() 435 declaredType.getQualifier().storage = EvqUniform; in acceptDeclaration() 444 variableType.shallowCopy(declaredType); in acceptDeclaration() 450 variableType.copyArrayInnerSizes(declaredType.getArraySizes()); in acceptDeclaration() 508 …if (declaredType.getQualifier().storage == EvqGlobal && !parseContext.symbolTable.atGlobalLevel())… in acceptDeclaration()
|