Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 jdk.compiler.jmod - Compiler Tool
JDK 17 jdk.compiler.jmod is the JMOD file for JDK 17 Compiler tool, which can be invoked by the "javac" command.
JDK 17 Compiler tool compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.compiler.jmod.
JDK 17 Compiler tool compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Compiler source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.compiler.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/tools/javac/api/WrappingJavaFileManager.java
/* * Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.tools.javac.api; import java.io.IOException; import java.net.URI; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Set; import javax.tools.*; import javax.tools.JavaFileObject.Kind; import com.sun.tools.javac.util.ClientCodeException; import com.sun.tools.javac.util.DefinedBy; import com.sun.tools.javac.util.DefinedBy.Api; /** * Wraps all calls to a given file manager. Subclasses of this class * might override some of these methods and might also provide * additional fields and methods. * * <p>This class might be moved to {@link javax.tools} in a future * release. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own * risk. This code and its internal interfaces are subject to change * or deletion without notice.</b></p> * * @param <M> the type of file manager wrapped to by this object * * @author Peter von der Ahé * @since 1.6 */ public class WrappingJavaFileManager<M extends JavaFileManager> extends ForwardingJavaFileManager<M> { /** * Creates a new instance of WrappingJavaFileManager. * @param fileManager file manager to be wrapped */ protected WrappingJavaFileManager(M fileManager) { super(fileManager); } /** * This implementation returns the given file object. Subclasses * may override this behavior. * * @param fileObject a file object */ protected FileObject wrap(FileObject fileObject) { return fileObject; } /** * This implementation forwards to {@link #wrap(FileObject)}. * Subclasses may override this behavior. * * @param fileObject a file object * @throws ClassCastException if the file object returned from the * forwarded call is not a subtype of {@linkplain JavaFileObject} */ protected JavaFileObject wrap(JavaFileObject fileObject) { return (JavaFileObject)wrap((FileObject)fileObject); } /** * This implementation returns the given file object. Subclasses * may override this behavior. * * @param fileObject a file object */ protected FileObject unwrap(FileObject fileObject) { return fileObject; } /** * This implementation forwards to {@link #unwrap(FileObject)}. * Subclasses may override this behavior. * * @param fileObject a file object * @throws ClassCastException if the file object returned from the * forwarded call is not a subtype of {@linkplain JavaFileObject} */ protected JavaFileObject unwrap(JavaFileObject fileObject) { return (JavaFileObject)unwrap((FileObject)fileObject); } /** * This implementation maps the given list of file objects by * calling wrap on each. Subclasses may override this behavior. * * @param fileObjects a list of file objects * @return the mapping */ protected Iterable<JavaFileObject> wrap(Iterable<JavaFileObject> fileObjects) { List<JavaFileObject> mapped = new ArrayList<>(); for (JavaFileObject fileObject : fileObjects) mapped.add(wrap(fileObject)); return Collections.unmodifiableList(mapped); } /** * This implementation returns the given URI. Subclasses may * override this behavior. * * @param uri a URI */ protected URI unwrap(URI uri) { return uri; } /** * @throws IllegalStateException {@inheritDoc} */ @DefinedBy(Api.COMPILER) public Iterable<JavaFileObject> list(Location location, String packageName, Set<Kind> kinds, boolean recurse) throws IOException { return wrap(super.list(location, packageName, kinds, recurse)); } /** * @throws IllegalStateException {@inheritDoc} */ @DefinedBy(Api.COMPILER) public String inferBinaryName(Location location, JavaFileObject file) { return super.inferBinaryName(location, unwrap(file)); } /** * @throws IllegalArgumentException {@inheritDoc} * @throws UnsupportedOperationException {@inheritDoc} * @throws IllegalStateException {@inheritDoc} */ @DefinedBy(Api.COMPILER) public JavaFileObject getJavaFileForInput(Location location, String className, Kind kind) throws IOException { return wrap(super.getJavaFileForInput(location, className, kind)); } /** * @throws IllegalArgumentException {@inheritDoc} * @throws UnsupportedOperationException {@inheritDoc} * @throws IllegalStateException {@inheritDoc} */ @DefinedBy(Api.COMPILER) public JavaFileObject getJavaFileForOutput(Location location, String className, Kind kind, FileObject sibling) throws IOException { return wrap(super.getJavaFileForOutput(location, className, kind, unwrap(sibling))); } /** * @throws IllegalArgumentException {@inheritDoc} * @throws IllegalStateException {@inheritDoc} */ @DefinedBy(Api.COMPILER) public FileObject getFileForInput(Location location, String packageName, String relativeName) throws IOException { return wrap(super.getFileForInput(location, packageName, relativeName)); } /** * @throws IllegalArgumentException {@inheritDoc} * @throws IllegalStateException {@inheritDoc} */ @DefinedBy(Api.COMPILER) public FileObject getFileForOutput(Location location, String packageName, String relativeName, FileObject sibling) throws IOException { return wrap(super.getFileForOutput(location, packageName, relativeName, unwrap(sibling))); } @Override @DefinedBy(Api.COMPILER) public boolean contains(Location location, FileObject file) throws IOException { return super.contains(location, unwrap(file)); } }
⏎ com/sun/tools/javac/api/WrappingJavaFileManager.java
Or download all of them as a single archive file:
File name: jdk.compiler-17.0.5-src.zip File size: 1450209 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.crypto.cryptoki.jmod - Crypto KI Module
2023-10-15, 17735👍, 0💬
Popular Posts:
The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of a...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
JDK 11 jdk.xml.dom.jmod is the JMOD file for JDK 11 XML DOM module. JDK 11 XML DOM module compiled c...
What Is ojdbc7.jar for Oracle 12c R1? ojdbc7.jar for Oracle 12c R1 is the JAR files of ojdbc.jar, JD...
JDK 11 jdk.jshell.jmod is the JMOD file for JDK 11 JShell tool, which can be invoked by the "jshell"...