Annotation Type Invisible


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Invisible
    Marker annotation for methods which shall be invisible to the dynamic dispatch mechanism, i.e., which shall not be recognized as artifact types or artifact operations (internal operations of the artifact model). Constructors and files are not visible per se. Further, certain basic methods such as those in java.lang.Object are invisible by default (see also TypeRegistry.INVISIBLE_BY_DEFAULT for all such classes).
    Author:
    Holger Eichelberger
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean inherit
      Whether this annotation shall be inherited by subclasses / overridden methods (default false).
      true for inheriting, false else
    • Element Detail

      • inherit

        boolean inherit
        Whether this annotation shall be inherited by subclasses / overridden methods (default false).
        true for inheriting, false else
        Returns:
        whether this annotation shall be inherited
        Default:
        false