Interface RestrictedElement


public interface RestrictedElement
Represents the element annotated by Restricted
Author:
Kohsuke Kawaguchi
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    True if the restricted element is a part of the code that's being inspected.
     
  • Method Details

    • isInTheInspectedModule

      boolean isInTheInspectedModule()
      True if the restricted element is a part of the code that's being inspected. Often you want to relax restrictions for those that are in the same module, and this can be used for that.
    • toString

      String toString()
      Overrides:
      toString in class Object