1 package org.testng.annotations; 2 3 import static java.lang.annotation.ElementType.PARAMETER; 4 5 import java.lang.annotation.Retention; 6 import java.lang.annotation.Target; 7 8 /** 9 * Turn off TestNG injection for a parameter. 10 * 11 * @author Cedric Beust, July 9th, 2010 12 */ 13 @Retention(java.lang.annotation.RetentionPolicy.RUNTIME) 14 @Target({PARAMETER}) 15 public @interface NoInjection { 16 } 17 18