Only allow `@PerformanceCritical` on methods

This commit is contained in:
Brady 2023-07-01 17:00:04 -05:00
parent 2953b1cfaf
commit 028405dd30
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 1 additions and 1 deletions

View File

@ -28,6 +28,6 @@ import java.lang.annotation.Target;
*
* @author Brady
*/
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
public @interface PerformanceCritical {}