Home
last modified time | relevance | path

Searched refs:getAnnotationValue (Results 1 – 25 of 37) sorted by relevance

12

/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java158 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "classValue"); in getTypeMirror()
166 AnnotationMirrors.getAnnotationValue(annotationMirror, "genericClassValue"); in getTypeMirrorGenericClass()
174 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "classValues"); in getTypeMirrors()
186 AnnotationMirrors.getAnnotationValue(annotationMirror, "insideAnnotationValue"); in getAnnotationMirror()
189 assertThat(AnnotationMirrors.getAnnotationValue(annotationMirror, "value").getValue()) in getAnnotationMirror()
197 AnnotationMirrors.getAnnotationValue(annotationMirror, "insideAnnotationValues"); in getAnnotationMirrors()
210 AnnotationMirrors.getAnnotationValue(annotationMirror, "value").getValue()) in getAnnotationMirrors()
217 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "stringValue"); in getString()
223 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "stringValues"); in getStrings()
229 AnnotationValue value = AnnotationMirrors.getAnnotationValue(annotationMirror, "enumValue"); in getEnum()
[all …]
DAnnotationMirrorsTest.java193 AnnotationValue value = AnnotationMirrors.getAnnotationValue( in testGetValueEntry()
200 AnnotationMirrors.getAnnotationValue(annotationOn(TestClassBlah.class), "a"); in testGetValueEntryFailure()
/external/dagger2/java/dagger/internal/codegen/base/
DMoreAnnotationValues.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
81 return (int) getAnnotationValue(annotation, valueName).getValue(); in getIntValue()
94 return (String) getAnnotationValue(annotation, valueName).getValue(); in getStringValue()
107 return asAnnotationValues(getAnnotationValue(annotation, valueName)).stream() in getIntArrayValue()
114 return asAnnotationValues(getAnnotationValue(annotation, valueName)).stream() in getStringArrayValue()
DModuleAnnotation.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
71 return asAnnotationValues(getAnnotationValue(annotation(), "includes")); in includesAsAnnotationValues()
90 return asAnnotationValues(getAnnotationValue(annotation(), "subcomponents")); in subcomponentsAsAnnotationValues()
DMoreAnnotationMirrors.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
68 return asAnnotationValues(getAnnotationValue(annotationMirror, name)) in getTypeListValue()
DComponentAnnotation.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
128 return asAnnotationValues(getAnnotationValue(annotation(), parameterName)); in getAnnotationValues()
/external/dagger2/java/dagger/hilt/processor/internal/
DAnnotationValues.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
119 return (int) getAnnotationValue(annotation, valueName).getValue(); in getIntValue()
132 return (String) getAnnotationValue(annotation, valueName).getValue(); in getStringValue()
145 return getAnnotationValues(getAnnotationValue(annotation, valueName)).stream() in getIntArrayValue()
152 return getAnnotationValues(getAnnotationValue(annotation, valueName)).stream() in getStringArrayValue()
/external/dagger2/java/dagger/android/processor/
DAndroidMapKeys.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
35 Object mapKeyClass = getAnnotationValue(mapKey, "value").getValue(); in injectedTypeFromMapKey()
DAndroidInjectorDescriptor.java20 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
126 getAnnotationValue(annotation, "modules").accept(new AllTypesVisitor(), null)) { in createIfValid()
/external/dagger2/java/dagger/grpc/server/processor/
DGrpcServiceModel.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
92 getAnnotationValue(grpcServiceAnnotation(), GRPC_SERVICE_PARAMETER_NAME); in validate()
110 getAnnotationValue(grpcServiceAnnotation(), GRPC_SERVICE_PARAMETER_NAME);
/external/auto/service/processor/src/main/java/com/google/auto/service/processor/
DAutoServiceProcessor.java18 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
259 return getAnnotationValue(annotationMirror, "value") in getValueFieldOfClasses()
/external/clang/lib/Parse/
DParsePragma.cpp333 static_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in HandlePragmaVisibility()
349 static_cast<PragmaPackInfo *>(Tok.getAnnotationValue()); in HandlePragmaPack()
364 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaMSStruct()
373 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaAlign()
381 reinterpret_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in HandlePragmaDump()
425 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFPContract()
464 OpenCLExtData::getFromOpaqueValue(Tok.getAnnotationValue()); in HandlePragmaOpenCLExtension()
500 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaMSPointersToMembers()
507 uintptr_t Value = reinterpret_cast<uintptr_t>(Tok.getAnnotationValue()); in HandlePragmaMSVtorDisp()
519 (std::pair<std::unique_ptr<Token[]>, size_t> *)Tok.getAnnotationValue(); in HandlePragmaMSPragma()
[all …]
DParser.cpp559 Tok.getAnnotationValue())); in ParseTopLevelDecl()
565 Tok.getAnnotationValue())); in ParseTopLevelDecl()
571 Tok.getAnnotationValue())); in ParseTopLevelDecl()
1385 Id = static_cast<TemplateIdAnnotation *>(tok.getAnnotationValue()); in takeTemplateIdAnnotation()
2059 Tok.getAnnotationValue()), Tok.getLocation()); in parseMisplacedModuleImport()
2066 Tok.getAnnotationValue())); in parseMisplacedModuleImport()
/external/llvm-project/clang/lib/Parse/
DParsePragma.cpp559 static_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in HandlePragmaVisibility()
575 static_cast<PragmaPackInfo *>(Tok.getAnnotationValue()); in HandlePragmaPack()
595 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaMSStruct()
604 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaAlign()
614 reinterpret_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in HandlePragmaDump()
658 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFPContract()
685 uintptr_t Value = reinterpret_cast<uintptr_t>(Tok.getAnnotationValue()); in HandlePragmaFloatControl()
697 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFEnvAccess()
719 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFEnvRound()
762 OpenCLExtData *Data = static_cast<OpenCLExtData*>(Tok.getAnnotationValue()); in HandlePragmaOpenCLExtension()
[all …]
DParser.cpp660 Tok.getAnnotationValue())); in ParseTopLevelDecl()
666 Tok.getAnnotationValue())); in ParseTopLevelDecl()
672 Tok.getAnnotationValue())); in ParseTopLevelDecl()
1594 Id = static_cast<TemplateIdAnnotation *>(tok.getAnnotationValue()); in takeTemplateIdAnnotation()
2390 HeaderUnit = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in ParseModuleImport()
2491 Tok.getAnnotationValue())); in parseMisplacedModuleImport()
2503 Tok.getAnnotationValue())); in parseMisplacedModuleImport()
2512 Tok.getAnnotationValue())); in parseMisplacedModuleImport()
DParseTentative.cpp1023 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in TryParseDeclarator()
1503 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isCXXDeclarationSpecifier()
2146 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isExplicitBool()
/external/auto/common/src/main/java/com/google/auto/common/
DAnnotationMirrors.java112 public static AnnotationValue getAnnotationValue( in getAnnotationValue() method in AnnotationMirrors
/external/llvm-project/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp765 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in PrintPreprocessedTokens()
770 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in PrintPreprocessedTokens()
778 Module *M = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in PrintPreprocessedTokens()
/external/clang/include/clang/Lex/
DToken.h223 void *getAnnotationValue() const { in getAnnotationValue() function
/external/llvm-project/clang/include/clang/Lex/
DToken.h226 void *getAnnotationValue() const { in getAnnotationValue() function
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DAggregatedDepsProcessor.java19 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
405 .map(mirror -> asString(getOnlyElement(asList(getAnnotationValue(mirror, "value"))))) in isDaggerGeneratedModule()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DAutoValueOrOneOfProcessor.java18 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
798 AnnotationValue listValue = getAnnotationValue(maybeAnnotation.get(), "value"); in warnAboutPrimitiveArrays()
921 (List<AnnotationValue>) getAnnotationValue(maybeAnnotation.get(), "exclude").getValue(); in getExcludedAnnotationTypes()
DAutoOneOfProcessor.java138 AnnotationMirrors.getAnnotationValue(oneOfAnnotation.get(), "value"); in mirrorForKindType()
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/
DMemoizeExtension.java18 import static com.google.auto.common.AnnotationMirrors.getAnnotationValue;
349 (List<AnnotationValue>) getAnnotationValue(maybeAnnotation.get(), "exclude").getValue(); in getExcludedAnnotationTypes()
/external/llvm-project/clang/include/clang/Parse/
DParser.h795 if (!Tok.getAnnotationValue()) in getTypeAnnotation()
797 return ParsedType::getFromOpaquePtr(Tok.getAnnotationValue()); in getTypeAnnotation()
808 return static_cast<NamedDecl*>(Tok.getAnnotationValue()); in getNonTypeAnnotation()
816 return static_cast<IdentifierInfo*>(Tok.getAnnotationValue()); in getIdentifierAnnotation()
826 return ExprResult::getFromOpaquePointer(Tok.getAnnotationValue()); in getExprAnnotation()

12