mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-09 16:42:05 +02:00
java: Fix CalledFromNative target annotations
"TYPE" is for type *uses*, not type *definitions*.
This commit is contained in:
@@ -21,7 +21,7 @@ import kotlin.annotation.Target
|
||||
* or stripped unless annotated).
|
||||
*/
|
||||
@MustBeDocumented
|
||||
@Target(AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FIELD, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE)
|
||||
@Target(AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FIELD, AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
|
||||
public annotation class CalledFromNative {
|
||||
public class Enforcement {
|
||||
public companion object {
|
||||
|
||||
Reference in New Issue
Block a user