| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 7.1.0-dev" type="baseline" client="gradle" dependencies="false" name="AGP (7.1.0-dev)" variant="all" version="7.1.0-dev"> |
| |
| <issue |
| id="ExperimentalAnnotationRetention" |
| message="Experimental annotation has `RUNTIME` retention, should use default (`CLASS`)" |
| errorLine1="public @interface ExperimentalJavaAnnotationWrongRetention {}" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/ExperimentalJavaAnnotationWrongRetention.java" |
| line="28" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="ExperimentalAnnotationRetention" |
| message="Experimental annotation has default (`RUNTIME`) retention, should use `BINARY`" |
| errorLine1="annotation class ExperimentalKotlinAnnotationWrongRetention" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/ExperimentalKotlinAnnotationWrongRetention.kt" |
| line="21" |
| column="18"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" static class ConcreteExperimentalInterface implements ExperimentalInterface { // unsafe" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava192562469.java" |
| line="34" |
| column="59"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" public void experimentalMethod() {} // unsafe override" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava192562469.java" |
| line="36" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" ExperimentalInterface anonymous = new ExperimentalInterface() { // unsafe" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava192562469.java" |
| line="62" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" public void experimentalMethod() {} // unsafe override" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava192562469.java" |
| line="64" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" ExperimentalInterface lambda = () -> {}; // unsafe" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava192562469.java" |
| line="67" |
| column="40"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" public void experimentalMethod() {} // unsafe override" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava192562926.java" |
| line="39" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" public void experimentalMethod() {} // unsafe override" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava192562926.java" |
| line="49" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" StableInterface lambda = () -> {}; // unsafe override" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava192562926.java" |
| line="52" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" foo.defaultExperimentalMethod(); // unsafe in Java but safe in Kotlin" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava193110413.java" |
| line="92" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" foo.experimentalMethod(); // unsafe" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava193110413.java" |
| line="93" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" Bar bar = new Bar(); // unsafe" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava193110413.java" |
| line="95" |
| column="19"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" bar.stableMethodLevelOptIn(); // unsafe due to experimental class scope" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava193110413.java" |
| line="96" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" bar.experimentalMethod(); // unsafe" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/RegressionTestJava193110413.java" |
| line="97" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" AnnotatedJavaClass experimentalObject = new AnnotatedJavaClass();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalClassFromJava.java" |
| line="31" |
| column="49"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return experimentalObject.field;" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalClassFromJava.java" |
| line="32" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" AnnotatedJavaClass experimentalObject = new AnnotatedJavaClass();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalClassFromJava.java" |
| line="39" |
| column="49"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return experimentalObject.method();" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalClassFromJava.java" |
| line="40" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return AnnotatedJavaClass.FIELD_STATIC;" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalClassFromJava.java" |
| line="47" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return AnnotatedJavaClass.methodStatic();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalClassFromJava.java" |
| line="54" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTime` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTime.class)`" |
| errorLine1=" DateProvider dateProvider = new DateProvider();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromJava.java" |
| line="25" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTime` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTime.class)`" |
| errorLine1=" return dateProvider.getDate();" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromJava.java" |
| line="26" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalLocation` or `@OptIn(markerClass = sample.experimental.ExperimentalLocation.class)`" |
| errorLine1=" LocationProvider locationProvider = new LocationProvider();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromJava.java" |
| line="53" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalLocation` or `@OptIn(markerClass = sample.experimental.ExperimentalLocation.class)`" |
| errorLine1=" return dateProvider.getDate() + locationProvider.getLocation();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromJava.java" |
| line="54" |
| column="58"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" val experimentalObject = AnnotatedJavaClass()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="28" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTime` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTime.class)`" |
| errorLine1=" val dateProvider = DateProvider()" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromKt.kt" |
| line="29" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return experimentalObject.field" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="29" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTime` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTime.class)`" |
| errorLine1=" return dateProvider.date" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromKt.kt" |
| line="30" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTime` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTime.class)`" |
| errorLine1=" return dateProvider.date" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromKt.kt" |
| line="30" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" val experimentalObject = AnnotatedJavaClass()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="36" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return experimentalObject.method()" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="37" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return AnnotatedJavaClass.FIELD_STATIC" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="44" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return AnnotatedJavaClass.methodStatic()" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="51" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalLocation` or `@OptIn(markerClass = sample.experimental.ExperimentalLocation.class)`" |
| errorLine1=" val locationProvider = LocationProvider()" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromKt.kt" |
| line="57" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalLocation` or `@OptIn(markerClass = sample.experimental.ExperimentalLocation.class)`" |
| errorLine1=" return dateProvider.date + locationProvider.location" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromKt.kt" |
| line="58" |
| column="53"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalLocation` or `@OptIn(markerClass = sample.experimental.ExperimentalLocation.class)`" |
| errorLine1=" return dateProvider.date + locationProvider.location" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaExperimentalFromKt.kt" |
| line="58" |
| column="53"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return stableObject.field" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="77" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return stableObject.method()" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="85" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return AnnotatedJavaMembers.FIELD_STATIC" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="92" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return AnnotatedJavaMembers.methodStatic()" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="99" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation2` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation2.class)`" |
| errorLine1=" return experimentalObject.method() + AnnotatedJavaClass2.FIELD_STATIC" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalFromKt.kt" |
| line="108" |
| column="66"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return stableObject.field;" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalMembersFromJava.java" |
| line="30" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return stableObject.method();" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalMembersFromJava.java" |
| line="38" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return AnnotatedJavaMembers.FIELD_STATIC;" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalMembersFromJava.java" |
| line="45" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" return AnnotatedJavaMembers.methodStatic();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalMembersFromJava.java" |
| line="52" |
| column="37"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation2` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation2.class)`" |
| errorLine1=" AnnotatedJavaClass2 experimentalObject2 = new AnnotatedJavaClass2();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalMultipleMarkersFromJava.java" |
| line="33" |
| column="51"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation2` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation2.class)`" |
| errorLine1=" return experimentalObject.method() + experimentalObject2.field;" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaExperimentalMultipleMarkersFromJava.java" |
| line="34" |
| column="66"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.foo.ExperimentalPackage` or `@OptIn(markerClass = sample.experimental.foo.ExperimentalPackage.class)`" |
| errorLine1=" callPackageExperimental();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaPackageFromJava.java" |
| line="52" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" safePropagateMarker();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaPackageFromJava.java" |
| line="67" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.foo.ExperimentalPackage` or `@OptIn(markerClass = sample.experimental.foo.ExperimentalPackage.class)`" |
| errorLine1=" callPackageExperimental()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseJavaPackageFromKt.kt" |
| line="56" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" callPackageExperimental()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseJavaPackageFromKt.kt" |
| line="64" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTimeKt` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTimeKt.class)`" |
| errorLine1=" sample.experimental.DateProviderKt dateProvider = new sample.experimental.DateProviderKt();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseKtExperimentalFromJava.java" |
| line="25" |
| column="59"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTimeKt` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTimeKt.class)`" |
| errorLine1=" return dateProvider.getDate();" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseKtExperimentalFromJava.java" |
| line="26" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalKotlinAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalKotlinAnnotation.class)`" |
| errorLine1=" AnnotatedKotlinClass experimentalObject = new AnnotatedKotlinClass();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseKtExperimentalFromJava.java" |
| line="28" |
| column="51"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalKotlinAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalKotlinAnnotation.class)`" |
| errorLine1=" return experimentalObject.method();" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseKtExperimentalFromJava.java" |
| line="29" |
| column="35"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalLocationKt` or `@OptIn(markerClass = sample.experimental.ExperimentalLocationKt.class)`" |
| errorLine1=" LocationProviderKt locationProvider = new LocationProviderKt();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseKtExperimentalFromJava.java" |
| line="54" |
| column="47"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalLocationKt` or `@OptIn(markerClass = sample.experimental.ExperimentalLocationKt.class)`" |
| errorLine1=" return dateProvider.getDate() + locationProvider.getLocation();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseKtExperimentalFromJava.java" |
| line="55" |
| column="58"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalKotlinAnnotation2` or `@OptIn(markerClass = sample.optin.ExperimentalKotlinAnnotation2.class)`" |
| errorLine1=" return experimentalObject.method() + AnnotatedKotlinClass2.fieldStatic;" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseKtExperimentalFromJava.java" |
| line="56" |
| column="68"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTimeKt` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTimeKt.class)`" |
| errorLine1=" TimeProviderKt.getTimeStatically();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseKtExperimentalFromJava.java" |
| line="88" |
| column="24"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTimeKt` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTimeKt.class)`" |
| errorLine1=" TimeProviderKt.Companion.getTimeStatically();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseKtExperimentalFromJava.java" |
| line="89" |
| column="34"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTimeKt` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTimeKt.class)`" |
| errorLine1=" new TimeProviderKt().getTime();" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseKtExperimentalFromJava.java" |
| line="96" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.experimental.ExperimentalDateTime` or `@OptIn(markerClass = sample.experimental.ExperimentalDateTime.class)`" |
| errorLine1=" new TimeProviderKt().getTimeJava();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/experimental/UseKtExperimentalFromJava.java" |
| line="97" |
| column="30"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalKotlinAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalKotlinAnnotation.class)`" |
| errorLine1=" AnnotatedKotlinMembers.methodStatic();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseKtExperimentalFromJava.java" |
| line="97" |
| column="32"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalKotlinAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalKotlinAnnotation.class)`" |
| errorLine1=" AnnotatedKotlinMembers.Companion.methodStatic();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseKtExperimentalFromJava.java" |
| line="98" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalKotlinAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalKotlinAnnotation.class)`" |
| errorLine1=" new AnnotatedKotlinMembers().method();" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseKtExperimentalFromJava.java" |
| line="107" |
| column="38"/> |
| </issue> |
| |
| <issue |
| id="UnsafeOptInUsageError" |
| message="This declaration is opt-in and its usage should be marked with `@sample.optin.ExperimentalJavaAnnotation` or `@OptIn(markerClass = sample.optin.ExperimentalJavaAnnotation.class)`" |
| errorLine1=" new AnnotatedKotlinMembers().methodWithJavaMarker();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/sample/optin/UseKtExperimentalFromJava.java" |
| line="108" |
| column="38"/> |
| </issue> |
| |
| </issues> |