Uses of Enum Class
javax.tools.JavaFileObject.Kind
Package
Description
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
The Doclet API provides an environment which, in conjunction with
the Language Model API and Compiler Tree API, allows clients
to inspect the source-level structures of programs and
libraries, including API comments embedded in the source.
-
Uses of JavaFileObject.Kind in javax.tools
Modifier and TypeFieldDescriptionprotected final JavaFileObject.Kind
SimpleJavaFileObject.kind
The kind of this file object.Modifier and TypeMethodDescriptionForwardingJavaFileObject.getKind()
JavaFileObject.getKind()
Returns the kind of this file object.SimpleJavaFileObject.getKind()
static JavaFileObject.Kind
Returns the enum constant of this class with the specified name.static JavaFileObject.Kind[]
JavaFileObject.Kind.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionForwardingJavaFileManager.getJavaFileForInput
(JavaFileManager.Location location, String className, JavaFileObject.Kind kind) JavaFileManager.getJavaFileForInput
(JavaFileManager.Location location, String className, JavaFileObject.Kind kind) Returns a file object for input representing the specified class of the specified kind in the given package-oriented location.ForwardingJavaFileManager.getJavaFileForOutput
(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling) JavaFileManager.getJavaFileForOutput
(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling) Returns a file object for output representing the specified class of the specified kind in the given package-oriented location.ForwardingJavaFileManager.getJavaFileForOutputForOriginatingFiles
(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject... originatingFiles) Returns a file object for output representing the specified class of the specified kind in the given package-oriented location.default JavaFileObject
JavaFileManager.getJavaFileForOutputForOriginatingFiles
(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject... originatingFiles) Returns a file object for output representing the specified class of the specified kind in the given package-oriented location.boolean
ForwardingJavaFileObject.isNameCompatible
(String simpleName, JavaFileObject.Kind kind) boolean
JavaFileObject.isNameCompatible
(String simpleName, JavaFileObject.Kind kind) Checks if this file object is compatible with the specified simple name and kind.boolean
SimpleJavaFileObject.isNameCompatible
(String simpleName, JavaFileObject.Kind kind) This implementation compares the path of its URI to the given simple name.Modifier and TypeMethodDescriptionForwardingJavaFileManager.list
(JavaFileManager.Location location, String packageName, Set<JavaFileObject.Kind> kinds, boolean recurse) JavaFileManager.list
(JavaFileManager.Location location, String packageName, Set<JavaFileObject.Kind> kinds, boolean recurse) Lists all file objects matching the given criteria in the given package-oriented location.ModifierConstructorDescriptionprotected
SimpleJavaFileObject
(URI uri, JavaFileObject.Kind kind) Construct a SimpleJavaFileObject of the given kind and with the given URI. -
Uses of JavaFileObject.Kind in jdk.javadoc.doclet
Modifier and TypeMethodDescriptionDocletEnvironment.getFileKind
(TypeElement type) Returns the file kind of a type element.