Elasticsearch Java API support of ScriptFields

I am going over the ElasticSearch Java API (v5.6.0) and trying to find examples andsupport for ScripteFields as part of a Search query.
Is this supportted?