Home
last modified time | relevance | path

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

12345678910>>...13

/external/auto/value/src/test/java/com/google/auto/value/processor/
DAutoValueCompilationTest.java23 import static com.google.testing.compile.Compiler.javac;
129 javac() in simpleSuccess()
230 javac() in importTwoWays()
255 javac() in testNoWarningsFromGenerics()
363 javac() in testNestedParameterizedTypesWithTypeAnnotations()
427 javac() in testTypeParametersWithAnnotationsOnBounds()
459 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in testAbstractVoid()
480 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in testAbstractWithParams()
504 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in testPrimitiveArrayWarning()
533 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in testPrimitiveArrayWarningFromParent()
[all …]
DAutoBuilderCompilationTest.java21 import static com.google.testing.compile.Compiler.javac;
128 javac() in simpleSuccess()
161 javac() in simpleRecord()
205 javac() in buildOtherPackage()
226 javac() in autoBuilderOnEnum()
253 javac() in autoBuilderPrivate()
280 javac() in autoBuilderClassMustHaveNoArgConstructor()
310 javac() in autoBuilderClassMustHaveVisibleNoArgConstructor()
360 javac().withProcessors(new AutoBuilderProcessor()).compile(javaFileObject); in autoBuilderMissingBuildMethod()
388 javac() in autoBuilderNestedInPrivate()
[all …]
DAutoOneOfCompilationTest.java19 import static com.google.testing.compile.Compiler.javac;
238 javac() in success()
323 javac() in voidInstanceWithoutGenericTypeParameters()
350 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in noKindGetter()
375 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in kindGetterHasParam()
401 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in twoKindGetters()
429 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in enumMissingCase()
457 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in enumExtraCase()
485 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in mustBeClass()
514 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in cantBeNullable()
[all …]
DAutoAnnotationErrorsTest.java19 import static com.google.testing.compile.Compiler.javac;
60 javac().withProcessors(new AutoAnnotationProcessor()).compile(TEST_ANNOTATION, testSource); in testCorrect()
79 javac().withProcessors(new AutoAnnotationProcessor()).compile(TEST_ANNOTATION, testSource); in testDoesNotReturnAnnotation()
106 javac().withProcessors(new AutoAnnotationProcessor()).compile(TEST_ANNOTATION, testSource); in testOverload()
146 javac() in testSameNameDifferentPackagesDoesNotTriggerOverload()
168 javac().withProcessors(new AutoAnnotationProcessor()).compile(TEST_ANNOTATION, testSource); in testWrongName()
191 javac().withProcessors(new AutoAnnotationProcessor()).compile(TEST_ANNOTATION, testSource); in testWrongType()
235 javac().withProcessors(new AutoAnnotationProcessor()).compile(testSource, testAnnotation); in testWrongTypeCollection()
262 javac().withProcessors(new AutoAnnotationProcessor()).compile(TEST_ANNOTATION, testSource); in testExtraParameters()
287 javac().withProcessors(new AutoAnnotationProcessor()).compile(TEST_ANNOTATION, testSource); in testMissingParameters()
[all …]
/external/javaparser/javaparser-core-testing/src/test/resources/com/github/javaparser/bulk_test_results/
Dopenjdk_src_repo_test_results.txt25 langtools-19293ea3999f/test/tools/javac/6302184/T6302184.java
28 langtools-19293ea3999f/test/tools/javac/6440583/A.java
31 langtools-19293ea3999f/test/tools/javac/annotations/AnnotationTypeElementModifiers.java
53 langtools-19293ea3999f/test/tools/javac/annotations/FinalReceiverTest.java
58 langtools-19293ea3999f/test/tools/javac/annotations/neg/AnnComma.java
61 langtools-19293ea3999f/test/tools/javac/annotations/neg/NoDefault.java
64 langtools-19293ea3999f/test/tools/javac/annotations/neg/NoDefaultAbstract.java
67 langtools-19293ea3999f/test/tools/javac/annotations/neg/NoStatic.java
70 langtools-19293ea3999f/test/tools/javac/annotations/neg/NoStaticAbstract.java
73 langtools-19293ea3999f/test/tools/javac/annotations/neg/Syntax1.java
[all …]
/external/google-java-format/.mvn/
Djvm.config1 --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
2 --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
3 --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
4 --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
5 --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
6 --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
7 --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
8 --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
9 --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
10 --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
/external/turbine/.mvn/
Djvm.config1 --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
2 --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
3 --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
4 --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
5 --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
6 --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
7 --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
8 --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
9 --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
10 --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
/external/connectedappssdk/tests/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileCallbackTest.java34 import static com.google.testing.compile.Compiler.javac;
96 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_compiles()
112 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_defaultPackage_hasError()
132 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_notInterface_hasError()
150 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_noMethods_hasError()
170 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_simple_moreThanOneMethod_hasError()
190 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_moreThanOneMethod_compiles()
208 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_defaultMethod_hasError()
228 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_staticMethod_hasError()
247 Compilation compilation = javac().withProcessors(new Processor()).compile(callbackInterface); in crossProfileCallbackInterface_nonVoidReturnType_hasError()
[all …]
DCrossProfileTest.java36 import static com.google.testing.compile.Compiler.javac;
88 javac() in validCrossProfileAnnotation_compiles()
111 javac() in staticCrossProfileMethod_compiles()
133 javac() in crossProfileMethodWithUnsupportedReturnType_hasError()
158 javac() in crossProfileMethodWithContextReturnType_hasError()
182 javac() in crossProfileMethodWithUnsupportedReturnTypeArray_hasError()
206 javac() in crossProfileMethodWithUnsupportedReturnTypeInGeneric_hasError()
231 javac() in crossProfileMethodWithContextReturnTypeInGeneric_hasError()
256 javac() in crossProfileMethodWithUnsupportedReturnTypeInGenericParcelable_compiles()
283 javac() in crossProfileMethodWithUnsupportedReturnTypeInGenericSerializable_compiles()
[all …]
DInterfaceTest.java22 import static com.google.testing.compile.Compiler.javac;
52 javac() in compile_generatesSingleSenderInterface()
75 javac() in compile_singleAnnotatedMethod_singleSenderInterfaceHasMethod()
103 javac() in compile_multipleAnnotatedMethods_singleSenderInterfaceHasAllMethods()
135 javac() in compile_multipleMethods_singleSenderInterfaceDoesNotHaveUnannotatedMethods()
162 javac() in compile_generatesSingleSenderCanThrowCacheableInterface()
187 javac() in compile_generatesSingleSenderCanThrowCacheableInterfaceWithCorrectJavadoc()
222 javac() in compile_multipleAnnotatedMethods_singleSenderCanThrowCacheableInterfaceHasAllMethods()
254 javac() in compile_singleSenderCanThrowCacheableInterfaceHasMethodWithCorrectJavadoc()
291 javac() in compile_multipleMethods_singleSenderCanThrowCacheableInterfaceDoesNotHaveUnannotatedMethods()
[all …]
DCustomFutureWrapperTest.java22 import static com.google.testing.compile.Compiler.javac;
719 javac().withProcessors(new Processor()).compile(SIMPLE_FUTURE_WRAPPER, SIMPLE_FUTURE); in validFutureWrapperAnnotation_compiles()
727 javac() in futureWrapperAnnotation_isNotGeneric_hasError()
739 javac() in futureWrapperAnnotation_hasMultipleTypeParameters_hasError()
751 javac() in futureWrapperAnnotation_doesNotExtendFutureWrapper_hasError()
763 javac() in futureWrapperAnnotation_noCreateMethod_hasError()
775 javac() in futureWrapperAnnotation_incorrectCreateMethod_hasError()
787 javac() in futureWrapperAnnotation_noGetFutureMethod_hasError()
799 javac() in futureWrapperAnnotation_incorrectGetFutureMethod_hasError()
811 javac() in futureWrapperAnnotation_noResolveFutureMethod_hasError()
[all …]
DCustomParcelableWrapperTest.java22 import static com.google.testing.compile.Compiler.javac;
689 javac().withProcessors(new Processor()).compile(CUSTOM_WRAPPER, PARCELABLE_CUSTOM_WRAPPER); in validParcelableWrapperAnnotation_compiles()
697 javac() in validParcelableWrapperAnnotation_notGeneric_compiles()
707 javac() in parcelableWrapper_doesNotImplementParcelable_hasError()
719 javac() in parcelableWrapper_hasNoOfMethod_hasError()
731 javac() in parcelableWrapper_ofMethodWrongReturnType_hasError()
743 javac() in parcelableWrapper_ofMethodWrongArguments_hasError()
755 javac() in parcelableWrapper_hasNoGetMethod_hasError()
767 javac() in parcelableWrapper_getMethodWrongReturnType_hasError()
779 javac() in parcelableWrapper_noCreator_hasError()
[all …]
DCacheableTest.java11 import static com.google.testing.compile.Compiler.javac;
65 Compilation compilation = javac().withProcessors(new Processor()).compile(validCacheableMethod); in validCacheableAnnotation_compiles()
85 Compilation compilation = javac().withProcessors(new Processor()).compile(validCacheableMethod); in cacheableAnnotationOnClass_hasError()
107 Compilation compilation = javac().withProcessors(new Processor()).compile(voidMethod); in cacheableMethodReturnsVoid_hasError()
132 javac().withProcessors(new Processor()).compile(nonSerializableMethod); in cacheableMethodReturnsNonSerializable_hasError()
157 javac() in cacheableMethodReturnSerializable_compiles()
182 javac() in cacheableMethodReturnsFutureWithSerializableResult_compiles()
208 javac() in cacheableMethodReturnsFutureWithNonSerializableResult_hasError()
234 javac() in cacheableMethodHasSimpleCallbackParameter_compiles()
259 javac() in cacheableMethodHasNonSimpleCallbackParameter_hasError()
[all …]
DProcessorCrossProfileConfigurationTest.java27 import static com.google.testing.compile.Compiler.javac;
88 javac() in multipleConfigurations_compiles()
108 Compilation compilation = javac().withProcessors(new Processor()).compile(configuration); in providersContainsNoProviders_compiles()
124 Compilation compilation = javac().withProcessors(new Processor()).compile(configuration); in providersContainsNoProvidersAndNoConnector_generatesCrossProfileConnectorService()
166 javac() in providersContainsProviderWithoutConnectorAndNoConnector_generatesCrossProfileConnectorService()
188 javac() in providersContainsSingleValidProvider_compiles()
211 javac() in providersContainsMultipleValidProviders_compiles()
234 Compilation compilation = javac().withProcessors(new Processor()).compile(configuration); in providersContainsNonProvider_hasError()
253 javac().withProcessors(new Processor()).compile(notAbstractConfiguration); in isNotAbstract_compiles()
316 javac() in hasCrossProfileTypeWithDifferentConnectors_hasError()
[all …]
DCrossProfileProviderClassTest.java24 import static com.google.testing.compile.Compiler.javac;
78 javac() in hasACustomNoArgsConstructor_compiles()
102 javac() in hasNonPublicNoArgsConstructor_hasError()
128 javac() in hasNoNoArgsConstructor_hasError()
155 javac() in hasPublicConstructorTakingContext_compiles()
182 javac() in hasMoreThanOnePublicConstructor_errors()
235 javac() in hasCrossProfileTypesWithDifferentConnectors_hasError()
262 javac() in staticTypes_onlyReferencesStaticTypes_compiles()
282 javac() in staticTypes_referencesNonStaticType_hasError()
314 javac().withProcessors(new Processor()).compile(notesProvider, staticType); in staticProvidedClass_usedTypeIsIncludedInBundler()
DCrossProfileProviderTest.java23 import static com.google.testing.compile.Compiler.javac;
76 javac() in providesAValidCrossProfileType_compiles()
102 javac() in providesANotCrossProfileType_hasError()
128 javac() in takesContextArgument_compiles()
150 javac() in takesNonContextArgument_hasError()
176 javac() in takesMultipleContextArguments_hasError()
202 javac() in isStaticMethod_hasError()
230 javac() in providesSameTypeTwice_hasError()
265 javac() in providesSameTypeTwiceInDifferentProviders_hasError()
301 javac() in providesSameTypeTwiceInStaticAndNonStaticProviders_hasError()
[all …]
DGeneratedProfileConnectorTest.java22 import static com.google.testing.compile.Compiler.javac;
53 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in isNotInterface_hasError()
69 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in doesNotExtendProfileConnector_hasError()
89 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in addsAdditionalMethod_hasError()
108 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in generatedProfileConnector_compiles()
125 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in generatedProfileConnector_extendsAbstractProfileConnector()
145 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in generatedProfileConnector_implementsConnector()
DGeneratedUserConnectorTest.java22 import static com.google.testing.compile.Compiler.javac;
53 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in isNotInterface_hasError()
69 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in doesNotExtendProfileConnector_hasError()
89 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in addsAdditionalMethod_hasError()
108 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in generatedUserConnector_compiles()
125 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in generatedUserConnector_extendsAbstractUserConnector()
145 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in generatedUserConnector_implementsConnector()
DInternalProviderClassTest.java22 import static com.google.testing.compile.Compiler.javac;
52 javac() in generatesInternalProviderClass()
64 javac() in internalProviderClassHasPrivateConstructor()
79 javac() in internalProviderClassHasPublicCallMethod()
96 javac() in internalProviderClassHasInstanceMethod()
111 javac() in internalProviderClassHasProviderClassGetter()
139 javac() in providerClassHasField_compiles()
DCustomProfileConnectorTest.java22 import static com.google.testing.compile.Compiler.javac;
57 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in isNotInterface_hasError()
74 javac().withProcessors(new Processor()).compile(notImplementingBaseConnector); in doesNotExtendProfileConnector_hasError()
93 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in includesNonParcelableWrapperInParcelableWrappers_hasError()
112 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in includesNonFutureWrapperInFutureWrappers_hasError()
129 Compilation compilation = javac().withProcessors(new Processor()).compile(connector); in imports_containsNonProfileConnector_hasError()
156 javac().withProcessors(new Processor()).compile(connector, connector2); in imports_containsProfileConnector_compiles()
/external/nullaway/buildSrc/src/main/groovy/
Dnullaway.java-test-conventions.gradle52 "--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
53 "--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
54 "--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
55 "--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED",
56 "--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
57 "--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED",
58 "--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
59 "--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
60 "--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
61 "--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED",
[all …]
/external/auto/factory/src/test/java/com/google/auto/factory/processor/
DAutoFactoryProcessorNegativeTest.java31 private final Compiler javac = Compiler.javac().withProcessors(new AutoFactoryProcessor()); field in AutoFactoryProcessorNegativeTest
36 Compilation compilation = javac.compile(file); in failsWithMixedFinals()
53 Compilation compilation = javac.compile(file); in providedButNoAutoFactory()
65 Compilation compilation = javac.compile(file); in providedOnMethodParameter()
76 Compilation compilation = javac.compile(file); in invalidCustomName()
88 Compilation compilation = javac.compile(file); in factoryExtendingAbstractClass_withConstructorParams()
102 Compilation compilation = javac.compile(file); in factoryExtendingInterface()
115 Compilation compilation = javac.compile(file); in factoryExtendingEnum()
128 Compilation compilation = javac.compile(file); in factoryExtendingFinalClass()
145 Compilation compilation = javac.compile(file); in annotationsToApplyMultiple()
[all …]
/external/nullaway/sample-app/
Dbuild.gradle54 "--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
55 "--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
56 "--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
57 "--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED",
58 "--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
59 "--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED",
60 "--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
61 "--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
62 "--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
63 "--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED"
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/generics/
DPreservedAnnotationTreeVisitor.java14 import com.sun.tools.javac.code.Attribute;
15 import com.sun.tools.javac.code.Type;
16 import com.sun.tools.javac.code.TypeMetadata;
17 import com.sun.tools.javac.util.ListBuffer;
74 com.sun.tools.javac.util.List<Attribute.TypeCompound> nullableAnnotationCompound = in visitParameterizedType()
76 ? com.sun.tools.javac.util.List.from( in visitParameterizedType()
79 nullableType, com.sun.tools.javac.util.List.nil(), null))) in visitParameterizedType()
80 : com.sun.tools.javac.util.List.nil(); in visitParameterizedType()
89 type.getEnclosingType(), com.sun.tools.javac.util.List.from(newTypeArgs), type.tsym); in visitParameterizedType()
104 TypeMetadata create(com.sun.tools.javac.util.List<Attribute.TypeCompound> attrs); in create()
[all …]
/external/jspecify/
Dgradle.properties3 org.gradle.jvmargs = --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
4 --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
5 --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
6 --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
7 --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

12345678910>>...13