Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package javax.interceptor;
 import static java.lang.annotation.ElementType.CONSTRUCTOR;
 import static java.lang.annotation.ElementType.METHOD;
 import static java.lang.annotation.ElementType.TYPE;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
Declares the list of interceptors (by interceptor class) which apply to the annotated class or method.
public @interface Interceptors {

The actual interceptor classes to apply to the annotated element.

the interceptor classes
    @SuppressWarnings({ "rawtypes" }) // By spec, this returns a raw type.  Don't mess with the spec.
    Class[] value();
New to GrepCode? Check out our FAQ X