Annotation Type Exclude


  • @Inherited
    @Target({CONSTRUCTOR,METHOD,TYPE,PACKAGE})
    @Retention(SOURCE)
    public @interface Exclude

    Generates a Jeyzer analysis pattern exclude entry.
    Example :

    <exclude name="RMI notification fetch" pattern="javax.management.remote.rmi.RMIConnectionImpl.fetchNotifications" priority="900" />

    Pattern entry is generated in the jeyzer_patterns.xml file located in the jeyzer directory under the target/generated-sources directory.
    If file creation is not possible there, file will be created under the standard generated source code directory.

    Pattern exclude attributes are :

    • Name. It is either provided as annotation attribute or deduced from the element name.
      For example, for a fetchNotifications method, name will be set as Fetch notifications.
      In the case of constructors, name will be set with the class name suffixed with instantiation
    • Code pattern. It is prefixed with the fully qualified package name.
      For example, if the annotation applies on the RMIConnectionImpl class located in the javax.management.remote.rmi package, pattern will be set as javax.management.remote.rmi.Manager.
    • Priority. It is optional. If specified, value must be set between 101 and 1000.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name
      The exclude name.
      int priority
      The exclude priority.
    • Element Detail

      • name

        String name
        The exclude name. Optional
        Returns:
        the name
        Default:
        ""
      • priority

        int priority
        The exclude priority. Optional
        Returns:
        the priority
        Default:
        -1