Annotation Interface 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:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    boolean
     
    boolean
    Pure (abstract) or not.
  • Element Details

    • value

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

      boolean subclasses
      Default:
      true
    • method

      String method
      Default:
      ""