Skip to content

Commit

Permalink
Merge pull request #107 from serjsysoev/remove-redundant
Browse files Browse the repository at this point in the history
Remove annotation targets that were not there before, cleanup
  • Loading branch information
amaembo authored Jun 5, 2024
2 parents 8dded6b + 31c2564 commit bf48b41
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 278 deletions.
1 change: 0 additions & 1 deletion multiplatform-annotations/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ kotlin {
compilations.all {
compilerOptions.configure {
freeCompilerArgs.add("-XXLanguage:-EnumEntries")
freeCompilerArgs.add("-Xexpect-actual-classes")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ package org.jetbrains.annotations
*/
@MustBeDocumented
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER)
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE)
annotation class BlockingExecutor
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ package org.jetbrains.annotations
AnnotationTarget.LOCAL_VARIABLE,
AnnotationTarget.CLASS,
AnnotationTarget.TYPE,
AnnotationTarget.TYPE_PARAMETER,
AnnotationTarget.FILE
)
annotation class Nls(val capitalization: Capitalization = Capitalization.NotSpecified) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ package org.jetbrains.annotations
*/
@MustBeDocumented
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER)
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE)
annotation class NonBlockingExecutor
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ package org.jetbrains.annotations
AnnotationTarget.LOCAL_VARIABLE,
AnnotationTarget.CLASS,
AnnotationTarget.TYPE,
AnnotationTarget.TYPE_PARAMETER,
AnnotationTarget.FILE
)
annotation class NonNls

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ package org.jetbrains.annotations
AnnotationTarget.VALUE_PARAMETER,
AnnotationTarget.LOCAL_VARIABLE,
AnnotationTarget.FIELD,
AnnotationTarget.CLASS,
AnnotationTarget.TYPE,
AnnotationTarget.TYPE_PARAMETER
)
annotation class PropertyKey(
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ package org.jetbrains.annotations
*/
@MustBeDocumented
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER)
@Target(AnnotationTarget.TYPE)
annotation class Range(
/**
* @return minimal allowed value (inclusive)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ package org.jetbrains.annotations
*/
@MustBeDocumented
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE, AnnotationTarget.TYPE_PARAMETER)
@Target(AnnotationTarget.TYPE)
annotation class Unmodifiable

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit bf48b41

Please sign in to comment.