From 4a7a5f28b18947601c0066da01cd30d6e4595d48 Mon Sep 17 00:00:00 2001 From: Graham Date: Tue, 24 Mar 2020 21:40:20 +0000 Subject: [PATCH] Add PARAMETER ElementType to Pc annotation This is required to annotate the exception variable in a catch block. Signed-off-by: Graham --- .../src/main/java/dev/openrs2/deob/annotation/Pc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deob-annotations/src/main/java/dev/openrs2/deob/annotation/Pc.java b/deob-annotations/src/main/java/dev/openrs2/deob/annotation/Pc.java index 6fa802eb..775f7188 100644 --- a/deob-annotations/src/main/java/dev/openrs2/deob/annotation/Pc.java +++ b/deob-annotations/src/main/java/dev/openrs2/deob/annotation/Pc.java @@ -3,7 +3,7 @@ package dev.openrs2.deob.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Target; -@Target({ ElementType.LOCAL_VARIABLE }) +@Target({ ElementType.LOCAL_VARIABLE, ElementType.PARAMETER }) public @interface Pc { int value(); }