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;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Admin {
}
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class Admin

View File

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

View File

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