refactor: 어노테이션 코틀린 전환

This commit is contained in:
이상진 2025-07-13 20:31:59 +09:00
parent c4af933ee5
commit 1a0ec9d428
3 changed files with 12 additions and 30 deletions

View File

@ -1,11 +1,5 @@
package roomescape.system.auth.web.support; package roomescape.system.auth.web.support
import java.lang.annotation.ElementType; @Target(AnnotationTarget.FUNCTION)
import java.lang.annotation.Retention; @Retention(AnnotationRetention.RUNTIME)
import java.lang.annotation.RetentionPolicy; annotation class Admin
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Admin {
}

View File

@ -1,11 +1,5 @@
package roomescape.system.auth.web.support; package roomescape.system.auth.web.support
import java.lang.annotation.ElementType; @Target(AnnotationTarget.FUNCTION)
import java.lang.annotation.Retention; @Retention(AnnotationRetention.RUNTIME)
import java.lang.annotation.RetentionPolicy; annotation class LoginRequired
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface LoginRequired {
}

View File

@ -1,11 +1,5 @@
package roomescape.system.auth.web.support; package roomescape.system.auth.web.support
import java.lang.annotation.ElementType; @Target(AnnotationTarget.VALUE_PARAMETER)
import java.lang.annotation.Retention; @Retention(AnnotationRetention.RUNTIME)
import java.lang.annotation.RetentionPolicy; annotation class MemberId
import java.lang.annotation.Target;
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface MemberId {
}