Methods Summary |
---|
public javax.lang.model.element.Modifier | getAccessLevel()Provides a hint about the access level of the class represented
by this file object. If the access level is not known or if
this file object does not represent a class file this method
returns {@code null}.
|
public javax.tools.JavaFileObject$Kind | getKind()Gets the kind of this file object.
|
public javax.lang.model.element.NestingKind | getNestingKind()Provides a hint about the nesting level of the class
represented by this file object. This method may return
{@link NestingKind#MEMBER} to mean
{@link NestingKind#LOCAL} or {@link NestingKind#ANONYMOUS}.
If the nesting level is not known or this file object does not
represent a class file this method returns {@code null}.
|
public boolean | isNameCompatible(java.lang.String simpleName, javax.tools.JavaFileObject$Kind kind)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 Java Language
Specification 3rd ed., section 6.2 "Names and Identifiers".
|