Annotation Type ClassMeta


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface ClassMeta
    Marker annotation for classes to rename classes as they shall appear in VIL.
    Author:
    Holger Eichelberger
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?>[] equiv
      Defines assignment compatible (equivalent) classes.
      java.lang.Class<?> furtherOperations
      Search this class for further operations.
      java.lang.String name
      The actual name of the operation as it shall appear in VIL.
      java.lang.Class<?>[] nAssign
      Defines explicitly non-assignable classes for which assignment compatibility shall not be possible.
    • Element Detail

      • name

        java.lang.String name
        The actual name of the operation as it shall appear in VIL. This supersedes the original operation name.
        Returns:
        the name
        Default:
        ""
      • equiv

        java.lang.Class<?>[] equiv
        Defines assignment compatible (equivalent) classes. This is intended for basic / primitive types. Primitive types shall be referred by their wrappers and will be considered transparently.
        Returns:
        the equivalent classes
        Default:
        {}
      • nAssign

        java.lang.Class<?>[] nAssign
        Defines explicitly non-assignable classes for which assignment compatibility shall not be possible. equiv() takes precedence.
        Returns:
        the non assignable classes
        Default:
        {}
      • furtherOperations

        java.lang.Class<?> furtherOperations
        Search this class for further operations. This is in particular helpful for operations or conversions on interfaces. Object disables this.
        Returns:
        the class containing further operations
        Default:
        java.lang.Object.class