Annotation Interface Polymorphic


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface Polymorphic
Use this annotation at classes that you want to declare as polymorphic This is especially useful if at present only one single base class is yet defined for your desired hierarchy