@Retention(value=CLASS) @Target(value=TYPE) public @interface JavaScriptPrototype
String.
One can do it by making String subclass JavaScript String
and use String.prototype as a container for all String
methods.public abstract String prototype
public abstract String container
prototype().Copyright © 2021 API Design. All Rights Reserved.