Using the Javonet Fluent Interface

You are browsing legacy Javonet 1.5 (Java<>.NET bridge for Windows) documentation. Use the left side menu or click here to switch to latest Javonet 2.0 documentation. Javonet 2.0 allows you to use any module from JVM, CLR, Netcore, Python, Ruby, Perl, NodeJS on Windows, Linux and MacOs from any application created in Java, Clojure, Groovy, Kotlin, C#, F#, J#, VB.NET, Python, Perl, Ruby, JavaScript, TypeScript, C++ and GoLang

Javonet offers a robust fluent interface that lets you simplify and shorten operations on objects.

I code in:
// Todo: activate Javonet and add reference to .NET library

// call static method
String response = Javonet.getType("TestNamespace.TestClass").invoke("SayHello", "Student");

// write response to console
System.out.println(response);

See Live Example!