@Retention(value=CLASS) @Target(value=METHOD) public @interface ImplicitCast
Example usage:
@TypeSystem public static class ExampleTypeSystem { @ImplicitCast public static double castInt(int value) { return value; } @ImplicitCast public static double castShort(short value) { return value; } }For details on how to use implicit casts see
TypeSystem
.TypeSystem