blob: 9157a728860594c70ad9b5bfc3417e7fd406fbdf [file] [log] [blame]
package org.checkerframework.checker.interning.qual;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.checkerframework.framework.qual.InheritedAnnotation;
/**
* Method declaration annotation used to indicate that this method may be invoked on an uninterned
* object and that it returns an interned object.
*
* @checker_framework.manual #interning-checker Interning Checker
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@InheritedAnnotation
public @interface InternMethod {}