Uses of Class javax.tools.JavaFileObject.Kind (Java Platform SE 8 )
Date: 2020-03-26

## Uses of Class
javax.tools.JavaFileObject.Kind

- Packages that use JavaFileObject.Kind
  Package | Description
  --- | ---
  javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers.

- - ### Uses of JavaFileObject.Kind in javax.tools

    Fields in javax.tools declared as JavaFileObject.Kind
    Modifier and Type | Field and Description
    --- | ---
    `protected JavaFileObject.Kind` | SimpleJavaFileObject.`kind` The kind of this file object.

    Methods in javax.tools that return JavaFileObject.Kind
    Modifier and Type | Method and Description
    --- | ---
    `JavaFileObject.Kind` | JavaFileObject.`getKind()` Gets the kind of this file object.
    `JavaFileObject.Kind` | ForwardingJavaFileObject.`getKind()`
    `JavaFileObject.Kind` | SimpleJavaFileObject.`getKind()`
    `static JavaFileObject.Kind` | JavaFileObject.Kind.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static JavaFileObject.Kind[]` | JavaFileObject.Kind.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in javax.tools with parameters of type JavaFileObject.Kind
    Modifier and Type | Method and Description
    --- | ---
    `JavaFileObject` | ForwardingJavaFileManager.`getJavaFileForInput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind)`
    `JavaFileObject` | JavaFileManager.`getJavaFileForInput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind)` Gets a file object for input representing the specified class of the specified kind in the given location.
    `JavaFileObject` | ForwardingJavaFileManager.`getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling)`
    `JavaFileObject` | JavaFileManager.`getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling)` Gets a file object for output representing the specified class of the specified kind in the given location.
    `boolean` | JavaFileObject.`isNameCompatible(String simpleName, JavaFileObject.Kind kind)` Checks if this file object is compatible with the specified simple name and kind.
    `boolean` | ForwardingJavaFileObject.`isNameCompatible(String simpleName, JavaFileObject.Kind kind)`
    `boolean` | SimpleJavaFileObject.`isNameCompatible(String simpleName, JavaFileObject.Kind kind)` This implementation compares the path of its URI to the given simple name.

    Method parameters in javax.tools with type arguments of type JavaFileObject.Kind
    Modifier and Type | Method and Description
    --- | ---
    `Iterable<JavaFileObject>` | ForwardingJavaFileManager.`list(JavaFileManager.Location location, String packageName, Set<JavaFileObject.Kind> kinds, boolean recurse)`
    `Iterable<JavaFileObject>` | JavaFileManager.`list(JavaFileManager.Location location, String packageName, Set<JavaFileObject.Kind> kinds, boolean recurse)` Lists all file objects matching the given criteria in the given location.

    Constructors in javax.tools with parameters of type JavaFileObject.Kind
    Constructor and Description
    `SimpleJavaFileObject(URI uri, JavaFileObject.Kind kind)` Construct a SimpleJavaFileObject of the given kind and with the given URI.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.