Add PARAMETER ElementType to Pc annotation

This is required to annotate the exception variable in a catch block.

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 5 years ago
parent 462ae7cb9c
commit 4a7a5f28b1
  1. 2
      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.ElementType;
import java.lang.annotation.Target; import java.lang.annotation.Target;
@Target({ ElementType.LOCAL_VARIABLE }) @Target({ ElementType.LOCAL_VARIABLE, ElementType.PARAMETER })
public @interface Pc { public @interface Pc {
int value(); int value();
} }

Loading…
Cancel
Save