Method available from the code is added

API method can be used from java code directly