1 package javax.jws; 2 3 import java.lang.annotation.ElementType ; 4 import java.lang.annotation.Retention ; 5 import java.lang.annotation.RetentionPolicy ; 6 import java.lang.annotation.Target ; 7 8 import spoon.aval.annotation.structure.Inside; 9 10 @Retention (value = RetentionPolicy.RUNTIME) 11 @Target ( { ElementType.PARAMETER }) 12 @Inside(WebMethod.class) 13 public @interface WebParam { 14 public enum Mode { 15 IN, OUT, INOUT 16 }; 17 18 String name() default ""; 19 20 String targetNamespace() default ""; 21 22 Mode mode() default Mode.IN; 23 24 boolean header() default false; 25 } 26 | Popular Tags |