@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface WithAnnotations
WithAnnotations
may be applied to any portable extension observer method with an event
parameter type of ProcessAnnotatedType
to filter the events delivered.
If the WithAnnotations
annotation is applied to a portable extension observer method,
then only ProcessAnnotatedType
events for types which have at least one of the
annotations specified are observed. The annotation can appear on the type, on any field, method
or constructor declared by the type, or on any parameter of any method or constructor declared by
the type, or may be applied as a meta-annotation.
Modifier and Type | Required Element and Description |
---|---|
Class<? extends Annotation>[] |
value |
public abstract Class<? extends Annotation>[] value
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.