Unless stated otherwise, references in this class to "this file object" should be interpreted as referring indirectly to the delegate file object.
| Access | Constructor and Description |
|---|---|
| protected | ForwardingJavaFileObject(F
delegate to this file object fileObject)Creates a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public Modifier | getAccessLevel()
Implements javax. Provides a hint about the access level of the class represented by this file object. |
| public JavaFileObject. | |
| public NestingKind | getNestingKind()
Implements javax. Provides a hint about the nesting level of the class represented by this file object. |
| public boolean | isNameCompatible(String simpleName, JavaFileObject.
Implements javax. Checks if this file object is compatible with the specified simple name and kind. |
| ForwardingJavaFileObject | back to summary |
|---|---|
| protected ForwardingJavaFileObject(F fileObject) Creates a new instance of
| |
| getAccessLevel | back to summary |
|---|---|
| public Modifier getAccessLevel() Implements javax. Doc from javax. Provides a hint about the access level of the class represented
by this file object. If the access level is not known or
this file object does not represent a class file this method
returns
| |
| getKind | back to summary |
|---|---|
| public JavaFileObject. Implements javax. Doc from javax. Returns the kind of this file object.
| |
| getNestingKind | back to summary |
|---|---|
| public NestingKind getNestingKind() Implements javax. Doc from javax. Provides a hint about the nesting level of the class
represented by this file object. This method may return
| |
| isNameCompatible | back to summary |
|---|---|
| public boolean isNameCompatible(String simpleName, JavaFileObject. Implements javax. Doc from javax. 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, section 6.2.
| |