
lt.lang.implicit.ObjectImplicit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of latte-compiler Show documentation
Show all versions of latte-compiler Show documentation
The latte-lang compiler project, which contains compiler and runtime required library.
The newest version!
package lt.lang.implicit;
import lt.runtime.Implicit;
import lt.runtime.LatteObject;
/**
* implicit casts for object
*/
@Implicit
@LatteObject
public class ObjectImplicit {
public static final ObjectImplicit singletonInstance = new ObjectImplicit();
private ObjectImplicit() {
}
@Implicit
public final RichObject cast(Object s) {
return new RichObject(s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy