Checks if this file object is compatible with the specified
simple name and kind. A simple name is a single identifier
(not qualified) as defined in the
href="http://java.sun.com/docs/books/jls/">Java Language
Specification 3rd ed., section 6.2 "Names and Identifiers".
Returns:
{@code true} if this file object is compatible; false
otherwise
Parameters:
-
simpleName - a simple name of a class
-
kind - a kind