Files
tubestation/mobile/android/base/annotation/ReflectionTarget.java
Michael Comella e75704ac96 Bug 1155331 - Add ReflectionTarget annotation. r=nalexander
This is a clone of @JNITarget and @RobocopTarget.
2015-04-16 10:10:25 -07:00

19 lines
705 B
Java

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.gecko.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/*
* Used to indicate to ProGuard that this definition is accessed
* via reflection and should not be stripped from the source.
*/
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD})
@Retention(RetentionPolicy.CLASS)
public @interface ReflectionTarget {}