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>
pull/102/head
Graham 4 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.Target;
@Target({ ElementType.LOCAL_VARIABLE })
@Target({ ElementType.LOCAL_VARIABLE, ElementType.PARAMETER })
public @interface Pc {
int value();
}

Loading…
Cancel
Save