Home
last modified time | relevance | path

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

/external/connectedappssdk/tests/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileTest.java77 private final AnnotationStrings annotationStrings; field in CrossProfileTest
79 public CrossProfileTest(AnnotationStrings annotationStrings) { in CrossProfileTest() argument
80 this.annotationStrings = annotationStrings; in CrossProfileTest()
85 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
94 annotatedNotesProvider(annotationStrings), in validCrossProfileAnnotation_compiles()
95 annotatedNotesCrossProfileType(annotationStrings)); in validCrossProfileAnnotation_compiles()
106 "import " + annotationStrings.crossProfileQualifiedName() + ";", in staticCrossProfileMethod_compiles()
108 annotationStrings.crossProfileAsAnnotation(), in staticCrossProfileMethod_compiles()
116 .compile(notesType, annotatedNotesProvider(annotationStrings)); in staticCrossProfileMethod_compiles()
127 "import " + annotationStrings.crossProfileQualifiedName() + ";", in crossProfileMethodWithUnsupportedReturnType_hasError()
[all …]
DCrossProfileCallbackTest.java73 private final AnnotationStrings annotationStrings; field in CrossProfileCallbackTest
75 public CrossProfileCallbackTest(AnnotationStrings annotationStrings) { in CrossProfileCallbackTest() argument
76 this.annotationStrings = annotationStrings; in CrossProfileCallbackTest()
81 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
90 "import " + annotationStrings.crossProfileCallbackQualifiedName() + ";", in crossProfileCallbackInterface_compiles()
91 annotationStrings.crossProfileCallbackAsAnnotation(), in crossProfileCallbackInterface_compiles()
106 "import " + annotationStrings.crossProfileCallbackQualifiedName() + ";", in crossProfileCallbackInterface_defaultPackage_hasError()
107 annotationStrings.crossProfileCallbackAsAnnotation(), in crossProfileCallbackInterface_defaultPackage_hasError()
116 formatErrorMessage(CALLBACK_INTERFACE_DEFAULT_PACKAGE_ERROR, annotationStrings)) in crossProfileCallbackInterface_defaultPackage_hasError()
126 "import " + annotationStrings.crossProfileCallbackQualifiedName() + ";", in crossProfileCallbackInterface_notInterface_hasError()
[all …]
DProcessorCrossProfileConfigurationTest.java54 private final AnnotationStrings annotationStrings; field in ProcessorCrossProfileConfigurationTest
56 public ProcessorCrossProfileConfigurationTest(AnnotationStrings annotationStrings) { in ProcessorCrossProfileConfigurationTest() argument
57 this.annotationStrings = annotationStrings; in ProcessorCrossProfileConfigurationTest()
62 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
71 "import " + annotationStrings.crossProfileConfigurationQualifiedName() + ";", in multipleConfigurations_compiles()
73 annotationStrings.crossProfileConfigurationAsAnnotation( in multipleConfigurations_compiles()
81 "import " + annotationStrings.crossProfileConfigurationQualifiedName() + ";", in multipleConfigurations_compiles()
82 annotationStrings.crossProfileConfigurationAsAnnotation( in multipleConfigurations_compiles()
101 "import " + annotationStrings.crossProfileConfigurationQualifiedName() + ";", in providersContainsNoProviders_compiles()
103 annotationStrings.crossProfileConfigurationAsAnnotation( in providersContainsNoProviders_compiles()
[all …]
DCrossProfileProviderTest.java50 private final AnnotationStrings annotationStrings; field in CrossProfileProviderTest
52 public CrossProfileProviderTest(AnnotationStrings annotationStrings) { in CrossProfileProviderTest() argument
53 this.annotationStrings = annotationStrings; in CrossProfileProviderTest()
58 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
67 "import " + annotationStrings.crossProfileProviderQualifiedName() + ";", in providesAValidCrossProfileType_compiles()
69 annotationStrings.crossProfileProviderAsAnnotation(), in providesAValidCrossProfileType_compiles()
78 .compile(validNotesProvider, annotatedNotesCrossProfileType(annotationStrings)); in providesAValidCrossProfileType_compiles()
89 "import " + annotationStrings.crossProfileProviderQualifiedName() + ";", in providesANotCrossProfileType_hasError()
91 annotationStrings.crossProfileProviderAsAnnotation(), in providesANotCrossProfileType_hasError()
95 annotationStrings.crossProfileProviderAsAnnotation(), in providesANotCrossProfileType_hasError()
[all …]
DCrossProfileProviderClassTest.java50 private final AnnotationStrings annotationStrings; field in CrossProfileProviderClassTest
52 public CrossProfileProviderClassTest(AnnotationStrings annotationStrings) { in CrossProfileProviderClassTest() argument
53 this.annotationStrings = annotationStrings; in CrossProfileProviderClassTest()
58 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
67 "import " + annotationStrings.crossProfileProviderQualifiedName() + ";", in hasACustomNoArgsConstructor_compiles()
71 annotationStrings.crossProfileProviderAsAnnotation(), in hasACustomNoArgsConstructor_compiles()
80 .compile(providerClass, annotatedNotesCrossProfileType(annotationStrings)); in hasACustomNoArgsConstructor_compiles()
91 "import " + annotationStrings.crossProfileProviderQualifiedName() + ";", in hasNonPublicNoArgsConstructor_hasError()
95 annotationStrings.crossProfileProviderAsAnnotation(), in hasNonPublicNoArgsConstructor_hasError()
104 .compile(providerClass, annotatedNotesCrossProfileType(annotationStrings)); in hasNonPublicNoArgsConstructor_hasError()
[all …]
DCrossProfileTypeTest.java67 private final AnnotationStrings annotationStrings; field in CrossProfileTypeTest
69 public CrossProfileTypeTest(AnnotationStrings annotationStrings) { in CrossProfileTypeTest() argument
70 this.annotationStrings = annotationStrings; in CrossProfileTypeTest()
75 return AnnotationFinder.annotationStrings(); in getAnnotationNames()
83 "import " + annotationStrings.crossProfileQualifiedName() + ";", in crossProfileType_inDefaultPackage_hasError()
85 annotationStrings.crossProfileAsAnnotation(), in crossProfileType_inDefaultPackage_hasError()
94 .hadErrorContaining(formatErrorMessage(DEFAULT_PACKAGE_ERROR, annotationStrings)) in crossProfileType_inDefaultPackage_hasError()
104 "import " + annotationStrings.crossProfileQualifiedName() + ";", in crossProfileType_inNonPublicClass_hasError()
106 annotationStrings.crossProfileAsAnnotation(), in crossProfileType_inNonPublicClass_hasError()
115 .hadErrorContaining(formatErrorMessage(NON_PUBLIC_CLASS_ERROR, annotationStrings)) in crossProfileType_inNonPublicClass_hasError()
[all …]
DCrossProfileTestTest.java45 private final AnnotationStrings annotationStrings; field in CrossProfileTestTest
47 public CrossProfileTestTest(AnnotationStrings annotationStrings) { in CrossProfileTestTest() argument
48 this.annotationStrings = annotationStrings; in CrossProfileTestTest()
53 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
62 "import " + annotationStrings.crossProfileTestQualifiedName() + ";", in crossProfileTest_compiles()
63 annotationStrings.crossProfileTestAsAnnotation( in crossProfileTest_compiles()
73 annotatedNotesConfigurationWithNotesProvider(annotationStrings), in crossProfileTest_compiles()
74 annotatedNotesProvider(annotationStrings), in crossProfileTest_compiles()
75 notesTypeWithDefaultConnector(annotationStrings)); in crossProfileTest_compiles()
86 "import " + annotationStrings.crossProfileTestQualifiedName() + ";", in crossProfileTest_referencesNonConfigurationClass_hasError()
[all …]
DDefaultProfileClassTest.java44 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DBundlerTest.java44 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DCrossProfileCallbackSupportedParameterTypeTest.java88 return combineParameters(AnnotationFinder.annotationStrings(), Arrays.asList(types)); in data()
DProcessorCurrentProfileTest.java44 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DOtherProfileTest.java44 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DAlwaysThrowsTest.java44 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DProcessorMultipleProfilesTest.java44 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DCrossProfileSupportedParameterTypeTest.java94 return combineParameters(AnnotationFinder.annotationStrings(), Arrays.asList(types)); in data()
DInternalCrossProfileTypeTest.java44 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DDispatcherTest.java49 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DInternalProviderClassTest.java46 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DServiceTest.java49 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DCrossProfileSupportedReturnTypeTest.java107 AnnotationFinder.annotationStrings(), Arrays.asList(typesWithReturnValues)); in data()
DIfAvailableTest.java48 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DProfileInterfaceTest.java48 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
DInterfaceTest.java46 return AnnotationFinder.annotationStrings(); in getAnnotationPrinters()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/annotationdiscovery/
DAnnotationFinder.java98 public static Iterable<AnnotationStrings> annotationStrings() { in annotationStrings() method in AnnotationFinder
115 for (AnnotationStrings annotationStrings : SUPPORTED_ANNOTATIONS) { in annotationNamesFor()
116 if (hasAnyAnnotationsOfClass(element, annotationStrings)) { in annotationNamesFor()
117 return annotationStrings; in annotationNamesFor()
130 for (AnnotationStrings annotationStrings : SUPPORTED_ANNOTATIONS) { in annotationNamesForClass()
131 if (hasAnyAnnotationsOfClass(typeElement, annotationStrings)) { in annotationNamesForClass()
132 return annotationStrings; in annotationNamesForClass()
140 if (hasAnyAnnotationsOfClass(method, annotationStrings)) { in annotationNamesForClass()
141 return annotationStrings; in annotationNamesForClass()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DAutoValueishProcessor.java420 annotationStrings(annotatedPropertyFields.get(propertyMethod)); in propertySet()
423 ImmutableList<String> methodAnnotations = annotationStrings(methodAnnotationMirrors); in propertySet()
469 static ImmutableList<String> annotationStrings(List<? extends AnnotationMirror> annotations) { in annotationStrings() method in AutoValueishProcessor
592 ImmutableList<String> annotations = annotationStrings(elementAnnotations); in nullableAnnotationFor()
966 return annotationStrings(annotationsToCopy); in copyAnnotations()