All Downloads are FREE. Search and download functionalities are using the official Maven repository.

checker.src.org.checkerframework.checker.tainting.qual.MethodTaintingParam Maven / Gradle / Ivy

package org.checkerframework.checker.tainting.qual;

import org.checkerframework.qualframework.poly.SimpleQualifierParameterAnnotationConverter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * MethodTaintingParam declares a qualifier parameter on a method.
 *
 * 
 * {@code
 *  {@literal @}MethodTaintingParam("aParam") void foo() { }
 *
 *  is equivalent to:
 *
 *  «aParam» void food() { }
 * }
 * 
* */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.CONSTRUCTOR}) @Repeatable(MultiMethodTaintingParam.class) public @interface MethodTaintingParam { /** * The name of the qualifier parameter to declare. */ String value() default SimpleQualifierParameterAnnotationConverter.PRIMARY_TARGET; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy