Home
last modified time | relevance | path

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

1234567

/external/auto/value/src/test/java/com/google/auto/value/processor/
DAutoValueCompilationTest.java21 import static com.google.testing.compile.Compiler.javac;
121 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in simpleSuccess()
219 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in importTwoWays()
241 javac() in testNoWarningsFromGenerics()
349 javac() in testNestedParameterizedTypesWithTypeAnnotations()
412 javac() in testTypeParametersWithAnnotationsOnBounds()
444 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in testAbstractVoid()
465 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in testAbstractWithParams()
489 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in testPrimitiveArrayWarning()
518 javac().withProcessors(new AutoValueProcessor()).compile(javaFileObject); in testPrimitiveArrayWarningFromParent()
[all …]
DAutoAnnotationErrorsTest.java19 import static com.google.testing.compile.Compiler.javac;
60 javac() in testCorrect()
82 javac() in testNotStatic()
106 javac() in testDoesNotReturnAnnotation()
135 javac() in testOverload()
177 javac() in testSameNameDifferentPackagesDoesNotTriggerOverload()
199 javac() in testWrongName()
224 javac() in testWrongType()
270 javac() in testWrongTypeCollection()
299 javac() in testExtraParameters()
[all …]
DAutoOneOfCompilationTest.java19 import static com.google.testing.compile.Compiler.javac;
224 javac() in success()
308 javac() in voidInstanceWithoutGenericTypeParameters()
334 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in noKindGetter()
359 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in kindGetterHasParam()
385 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in twoKindGetters()
413 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in enumMissingCase()
441 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in enumExtraCase()
471 javac().withProcessors(new AutoOneOfProcessor()).compile(javaFileObject); in cantBeNullable()
/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/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;
91 javac() in validCrossProfileAnnotation_compiles()
114 javac() in staticCrossProfileMethod_compiles()
136 javac() in crossProfileMethodWithUnsupportedReturnType_hasError()
161 javac() in crossProfileMethodWithContextReturnType_hasError()
185 javac() in crossProfileMethodWithUnsupportedReturnTypeArray_hasError()
209 javac() in crossProfileMethodWithUnsupportedReturnTypeInGeneric_hasError()
234 javac() in crossProfileMethodWithContextReturnTypeInGeneric_hasError()
259 javac() in crossProfileMethodWithUnsupportedReturnTypeInGenericParcelable_compiles()
286 javac() in crossProfileMethodWithUnsupportedReturnTypeInGenericSerializable_compiles()
[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 …]
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()
148 javac() in compile_generatesSingleSenderCanThrowInterface()
172 javac() in compile_singleAnnotatedMethod_singleSenderCanThrowInterfaceHasMethod()
200 javac() in compile_multipleAnnotatedMethods_singleSenderCanThrowInterfaceHasAllMethods()
232 javac() in compile_multipleMethods_singleSenderCanThrowInterfaceDoesNotHaveUnannotatedMethods()
256 javac() in compile_singleSenderCanThrowInterfaceHasIfAvailableMethod()
[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 …]
DCrossProfileTypeTest.java25 import static com.google.testing.compile.Compiler.javac;
91 javac().withProcessors(new Processor()).compile(crossProfileTypeInDefaultPackage); in crossProfileType_inDefaultPackage_hasError()
112 javac().withProcessors(new Processor()).compile(crossProfileTypeInNonPublicClass); in crossProfileType_inNonPublicClass_hasError()
134 javac().withProcessors(new Processor()).compile(crossProfileTypeWithoutConnector); in crossProfileType_doesNotSpecifyConnector_compiles()
154 javac() in crossProfileType_specifiesValidConnector_compiles()
175 Compilation compilation = javac().withProcessors(new Processor()).compile(crossProfileType); in crossProfileType_specifiesValidTimeoutMillis_compiles()
194 Compilation compilation = javac().withProcessors(new Processor()).compile(crossProfileType); in crossProfileType_specifiesNegativeTimeoutMillis_hasError()
213 Compilation compilation = javac().withProcessors(new Processor()).compile(crossProfileType); in crossProfileType_specifiesZeroTimeoutMillis_hasError()
239 javac().withProcessors(new Processor()).compile(crossProfileType, notesConnector); in crossProfileType_specifiesNotInterfaceConnector_hasError()
268 javac().withProcessors(new Processor()).compile(crossProfileType, notesConnector); in crossProfileType_specifiesConnectorNotExtendingProfileConnector_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 …]
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()
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()
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()
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()
DCustomUserConnectorTest.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 doesNotExtendUserConnector_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_containsNonUserConnector_hasError()
156 javac().withProcessors(new Processor()).compile(connector, connector2); in imports_containsUserConnector_compiles()
DIfAvailableTest.java24 import static com.google.testing.compile.Compiler.javac;
54 javac() in compile_generatesIfAvailableClass()
77 javac() in compile_synchronousVoidMethod_ifAvailableClassHasMethod()
102 javac() in compile_synchronousNotVoidMethod_ifAvailableClassHasMethod()
126 javac() in compile_callbackVoidMethod_ifAvailableClassHasMethod()
153 javac() in compile_callbackNotVoidMethod_ifAvailableClassHasMethod()
183 javac() in compile_futureMethod_ifAvailableClassHasMethod()
/external/google-java-format/
DAndroid.bp60 "--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
61 "--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
62 "--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
63 "--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED",
64 "--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
65 "--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
66 "--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
80 "--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
81 "--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
82 "--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
[all …]
/external/dagger2/java/dagger/internal/codegen/javac/
DBUILD16 # A library for javac the javac plugin module.
23 name = "javac",
27 ":javac-import",
30 ":javac-import",
40 # Replacement for @bazel_tools//third_party/java/jdk/langtools:javac, which seems to have gone away?
42 name = "javac-import",
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavacTokens.java21 import com.sun.tools.javac.parser.JavaTokenizer;
22 import com.sun.tools.javac.parser.Scanner;
23 import com.sun.tools.javac.parser.ScannerFactory;
24 import com.sun.tools.javac.parser.Tokens.Comment;
25 import com.sun.tools.javac.parser.Tokens.Comment.CommentStyle;
26 import com.sun.tools.javac.parser.Tokens.Token;
27 import com.sun.tools.javac.parser.Tokens.TokenKind;
28 import com.sun.tools.javac.parser.UnicodeReader;
29 import com.sun.tools.javac.util.Context;
DRemoveUnusedImports.java41 import com.sun.tools.javac.api.JavacTrees;
42 import com.sun.tools.javac.file.JavacFileManager;
43 import com.sun.tools.javac.parser.JavacParser;
44 import com.sun.tools.javac.parser.ParserFactory;
45 import com.sun.tools.javac.tree.DCTree;
46 import com.sun.tools.javac.tree.DCTree.DCReference;
47 import com.sun.tools.javac.tree.JCTree;
48 import com.sun.tools.javac.tree.JCTree.JCCompilationUnit;
49 import com.sun.tools.javac.tree.JCTree.JCFieldAccess;
50 import com.sun.tools.javac.tree.JCTree.JCIdent;
[all …]
/external/proguard/build/
DREADME15 javac -sourcepath src -d classes src/proguard/ProGuard.java
16 javac -sourcepath src -d classes src/proguard/gui/ProGuardGUI.java
17 javac -sourcepath src -d classes src/proguard/retrace/ReTrace.java
21 javac -sourcepath src -d classes -classpath lib/ant.jar \
26 javac -sourcepath src -d classes -classpath ..... \
31 javac -sourcepath src -d classes -classpath wtklib/kenv.zip \
/external/error_prone/javac/
DMETADATA3 "A repackaged copy of javac for error-prone to depend on"
8 value: "https://github.com/google/error-prone-javac"
12 …rvice/local/repositories/releases/content/com/google/errorprone/javac/9+181-r4173-1/javac-9+181-r4…

1234567