Annotation Type Virtual


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Virtual
    Indicates that a method maps to a virtual function in C++. This allows a user to override that function in Java.
    See Also:
    Generator
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String method  
      boolean subclasses  
      boolean value
      Pure (abstract) or not.
    • Element Detail

      • value

        boolean value
        Pure (abstract) or not.
        Default:
        false
      • subclasses

        boolean subclasses
        Default:
        true
      • method

        java.lang.String method
        Default:
        ""