Home
last modified time | relevance | path

Searched refs:declaredType (Results 1 – 25 of 31) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DPropertyBuilder.java92 BeanPropertyDefinition propDef, JavaType declaredType, JsonSerializer<?> ser, in buildWriter() argument
100 serializationType = findSerializationType(am, defaultUseStaticTyping, declaredType); in buildWriter()
103 return prov.reportBadDefinition(declaredType, ClassUtil.exceptionMessage(e)); in buildWriter()
115 serializationType = declaredType; in buildWriter()
131 JavaType actualType = (serializationType == null) ? declaredType : serializationType; in buildWriter()
230 am, _beanDesc.getClassAnnotations(), declaredType, in buildWriter()
258 …otected JavaType findSerializationType(Annotated a, boolean useStaticTyping, JavaType declaredType) in findSerializationType() argument
261 … JavaType secondary = _annotationIntrospector.refineSerializationType(_config, a, declaredType); in findSerializationType()
265 if (secondary != declaredType) { in findSerializationType()
268 Class<?> rawDeclared = declaredType.getRawClass(); in findSerializationType()
[all …]
DVirtualBeanPropertyWriter.java33 Annotations contextAnnotations, JavaType declaredType) in VirtualBeanPropertyWriter() argument
35 this(propDef, contextAnnotations, declaredType, null, null, null, in VirtualBeanPropertyWriter()
53 Annotations contextAnnotations, JavaType declaredType, in VirtualBeanPropertyWriter() argument
57 super(propDef, propDef.getPrimaryMember(), contextAnnotations, declaredType, in VirtualBeanPropertyWriter()
65 Annotations contextAnnotations, JavaType declaredType, in VirtualBeanPropertyWriter() argument
69 this(propDef, contextAnnotations, declaredType, ser, typeSer, serType, inclusion, null); in VirtualBeanPropertyWriter()
DBeanPropertyWriter.java212 JavaType declaredType, in BeanPropertyWriter() argument
224 _declaredType = declaredType; in BeanPropertyWriter()
254 JavaType declaredType, in BeanPropertyWriter() argument
258 this(propDef, member, contextAnnotations, declaredType, in BeanPropertyWriter()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DAttributePropertyWriter.java34 Annotations contextAnnotations, JavaType declaredType) { in AttributePropertyWriter() argument
35 this(attrName, propDef, contextAnnotations, declaredType, propDef.findInclusion()); in AttributePropertyWriter()
39 Annotations contextAnnotations, JavaType declaredType, in AttributePropertyWriter() argument
42 super(propDef, contextAnnotations, declaredType, in AttributePropertyWriter()
53 JavaType declaredType) in construct() argument
56 contextAnnotations, declaredType); in construct()
/external/guava/android/guava/src/com/google/common/base/
DThrowables.java73 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf() argument
75 if (declaredType.isInstance(throwable)) { in throwIfInstanceOf()
76 throw declaredType.cast(throwable); in throwIfInstanceOf()
102 @NullableDecl Throwable throwable, Class<X> declaredType) throws X { in propagateIfInstanceOf() argument
104 throwIfInstanceOf(throwable, declaredType); in propagateIfInstanceOf()
183 @NullableDecl Throwable throwable, Class<X> declaredType) throws X { in propagateIfPossible() argument
184 propagateIfInstanceOf(throwable, declaredType); in propagateIfPossible()
/external/guava/guava/src/com/google/common/base/
DThrowables.java73 Throwable throwable, Class<X> declaredType) throws X { in throwIfInstanceOf() argument
75 if (declaredType.isInstance(throwable)) { in throwIfInstanceOf()
76 throw declaredType.cast(throwable); in throwIfInstanceOf()
102 @Nullable Throwable throwable, Class<X> declaredType) throws X { in propagateIfInstanceOf() argument
104 throwIfInstanceOf(throwable, declaredType); in propagateIfInstanceOf()
183 @Nullable Throwable throwable, Class<X> declaredType) throws X { in propagateIfPossible() argument
184 propagateIfInstanceOf(throwable, declaredType); in propagateIfPossible()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DDaggerTypes.java105 DeclaredType declaredType = MoreTypes.asDeclared(type); in unwrapTypeOrDefault() local
106 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in unwrapTypeOrDefault()
111 return getOnlyElement(declaredType.getTypeArguments(), defaultType); in unwrapTypeOrDefault()
207 public Void visitDeclared(DeclaredType declaredType, Void p) { in checkTypePresent()
208 declaredType.getTypeArguments().forEach(t -> t.accept(this, p)); in checkTypePresent()
236 public Boolean visitDeclared(DeclaredType declaredType, Void p) { in hasTypeVariable() argument
237 return declaredType.getTypeArguments().stream().anyMatch(type -> type.accept(this, p)); in hasTypeVariable()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DOptionalish.java71 DeclaredType declaredType = MoreTypes.asDeclared(type); in isOptional() local
72 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in isOptional()
74 && typeElement.getTypeParameters().size() == declaredType.getTypeArguments().size(); in isOptional()
DTypeSimplifier.java373 DeclaredType declaredType = (DeclaredType) type; in isJavaLangObject() local
374 TypeElement typeElement = (TypeElement) declaredType.asElement(); in isJavaLangObject()
DTypeEncoder.java143 private static String className(DeclaredType declaredType) { in className() argument
144 return MoreElements.asType(declaredType.asElement()).getQualifiedName().toString(); in className()
/external/dagger2/java/dagger/internal/codegen/binding/
DKeyVariableNamer.java53 public Void visitDeclared(DeclaredType declaredType, StringBuilder builder) {
54 TypeElement element = MoreTypes.asTypeElement(declaredType);
62 declaredType.getTypeArguments().iterator();
DBindingFactory.java547 DeclaredType declaredType, Optional<TypeMirror> resolvedType) { in membersInjectionBinding() argument
549 if (!declaredType.getTypeArguments().isEmpty() && resolvedType.isPresent()) { in membersInjectionBinding()
553 types.isSameType(types.erasure(resolved), types.erasure(declaredType)), in membersInjectionBinding()
556 types.erasure(declaredType)); in membersInjectionBinding()
557 declaredType = resolved; in membersInjectionBinding()
560 injectionSiteFactory.getInjectionSites(declaredType); in membersInjectionBinding()
566 Key key = keyFactory.forMembersInjectedType(declaredType); in membersInjectionBinding()
567 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in membersInjectionBinding()
DMethodSignatureFormatter.java53 public Formatter<ExecutableElement> typedFormatter(DeclaredType declaredType) { in typedFormatter() argument
59 MoreTypes.asExecutable(types.asMemberOf(declaredType, method)), in typedFormatter()
DInjectionSiteFactory.java66 ImmutableSortedSet<InjectionSite> getInjectionSites(DeclaredType declaredType) { in getInjectionSites() argument
70 for (Optional<DeclaredType> currentType = Optional.of(declaredType); in getInjectionSites()
/external/dagger2/java/dagger/internal/codegen/validation/
DProducesMethodValidator.java129 DeclaredType declaredType = MoreTypes.asDeclared(type); in unwrapListenableFuture() local
130 if (declaredType.getTypeArguments().isEmpty()) { in unwrapListenableFuture()
134 return Optional.of((TypeMirror) getOnlyElement(declaredType.getTypeArguments())); in unwrapListenableFuture()
DMembersInjectionValidator.java125 public Boolean visitDeclared(DeclaredType declaredType, Void p) {
126 for (TypeMirror arg : declaredType.getTypeArguments()) {
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/utils/
DTestStringSerializerFactory.java45 DeclaredType declaredType = MoreTypes.asDeclared(typeMirror); in getSerializer() local
46 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in getSerializer()
/external/turbine/javatests/com/google/turbine/lower/testdata/
Dgenericexn.test6 Throwable throwable, Class<X> declaredType) throws X {
/external/guava/android/guava/src/com/google/common/io/
DCloser.java165 public <X extends Exception> RuntimeException rethrow(Throwable e, Class<X> declaredType) in rethrow() argument
170 Throwables.propagateIfPossible(e, declaredType); in rethrow()
/external/guava/guava/src/com/google/common/io/
DCloser.java165 public <X extends Exception> RuntimeException rethrow(Throwable e, Class<X> declaredType) in rethrow() argument
170 Throwables.propagateIfPossible(e, declaredType); in rethrow()
/external/llvm-project/clang-tools-extra/clangd/
DAST.h108 QualType declaredType(const TypeDecl *D);
/external/deqp-deps/glslang/glslang/HLSL/
DhlslGrammar.cpp364 TType declaredType; in acceptDeclaration() local
377 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration()
386 switch (declaredType.getQualifier().storage) { in acceptDeclaration()
408 … parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration()
414 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration()
441 parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType); in acceptDeclaration()
444 …if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel(… in acceptDeclaration()
445 declaredType.getQualifier().storage = EvqUniform; in acceptDeclaration()
454 variableType.shallowCopy(declaredType); in acceptDeclaration()
460 variableType.copyArrayInnerSizes(declaredType.getArraySizes()); in acceptDeclaration()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslGrammar.cpp366 TType declaredType; in acceptDeclaration() local
379 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration()
388 switch (declaredType.getQualifier().storage) { in acceptDeclaration()
410 … parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration()
416 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration()
443 parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType); in acceptDeclaration()
446 …if (declaredType.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel(… in acceptDeclaration()
447 declaredType.getQualifier().storage = EvqUniform; in acceptDeclaration()
456 variableType.shallowCopy(declaredType); in acceptDeclaration()
462 variableType.copyArrayInnerSizes(declaredType.getArraySizes()); in acceptDeclaration()
[all …]
/external/auto/common/src/test/java/com/google/auto/common/
DSimpleTypeAnnotationValueTest.java67 public void declaredType() { in declaredType() method in SimpleTypeAnnotationValueTest
/external/auto/common/src/main/java/com/google/auto/common/
DOverrides.java409 DeclaredType declaredType = MoreTypes.asDeclared(typeMirror); in asTypeElement() local
410 Element element = declaredType.asElement(); in asTypeElement()

12