public abstract Set<SourceVersion> getSourceVersions ()

Returns the source versions of the Java™ programming language supported by this tool.

Returns:  a set of supported source versions