Add retention/targets to annotations
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
package net.runelite.mapping;
|
package net.runelite.mapping;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Target(ElementType.FIELD)
|
||||||
public @interface ObfuscatedGetter
|
public @interface ObfuscatedGetter
|
||||||
{
|
{
|
||||||
int intValue() default 0;
|
int intValue() default 0;
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
package net.runelite.mapping;
|
package net.runelite.mapping;
|
||||||
|
|
||||||
|
import java.lang.annotation.ElementType;
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
|
||||||
public @interface ObfuscatedName
|
public @interface ObfuscatedName
|
||||||
{
|
{
|
||||||
String value();
|
String value();
|
||||||
|
|||||||
Reference in New Issue
Block a user