Annotation Interface ToThrift


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface ToThrift
Marks a method as being a conversion to a native Thrift type from a Java Type. A method with this annotation must be public, static, with a single parameter of any Java type, and must return a native Thrift type.