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 11 java.compiler.jmod - Compiler Module
JDK 11 java.compiler.jmod is the JMOD file for JDK 11 Compiler module.
JDK 11 Compiler module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.compiler.jmod.
JDK 11 Compiler module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Compiler module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.compiler.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/tools/Diagnostic.java
/* * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.tools; import java.util.Locale; /** * Interface for diagnostics from tools. A diagnostic usually reports * a problem at a specific position in a source file. However, not * all diagnostics are associated with a position or a file. * * <p>A position is a zero-based character offset from the beginning of * a file. Negative values (except {@link #NOPOS}) are not valid * positions. * * <p>Line and column numbers begin at 1. Negative values (except * {@link #NOPOS}) and 0 are not valid line or column numbers. * * @param <S> the type of source object used by this diagnostic * * @author Peter von der Ahé * @author Jonathan Gibbons * @since 1.6 */ public interface Diagnostic<S> { /** * Kinds of diagnostics, for example, error or warning. * * The kind of a diagnostic can be used to determine how the * diagnostic should be presented to the user. For example, * errors might be colored red or prefixed with the word "Error", * while warnings might be colored yellow or prefixed with the * word "Warning". There is no requirement that the Kind * should imply any inherent semantic meaning to the message * of the diagnostic: for example, a tool might provide an * option to report all warnings as errors. */ enum Kind { /** * Problem which prevents the tool's normal completion. */ ERROR, /** * Problem which does not usually prevent the tool from * completing normally. */ WARNING, /** * Problem similar to a warning, but is mandated by the tool's * specification. For example, the Java™ Language * Specification mandates warnings on certain * unchecked operations and the use of deprecated methods. */ MANDATORY_WARNING, /** * Informative message from the tool. */ NOTE, /** * Diagnostic which does not fit within the other kinds. */ OTHER, } /** * Used to signal that no position is available. */ public final static long NOPOS = -1; /** * Returns the kind of this diagnostic, for example, error or * warning. * @return the kind of this diagnostic */ Kind getKind(); /** * Returns the source object associated with this diagnostic. * * @return the source object associated with this diagnostic. * {@code null} if no source object is associated with the * diagnostic. */ S getSource(); /** * Returns a character offset from the beginning of the source object * associated with this diagnostic that indicates the location of * the problem. In addition, the following must be true: * * <p>{@code getStartPostion() <= getPosition()} * <p>{@code getPosition() <= getEndPosition()} * * @return character offset from beginning of source; {@link * #NOPOS} if {@link #getSource()} would return {@code null} or if * no location is suitable */ long getPosition(); /** * Returns the character offset from the beginning of the file * associated with this diagnostic that indicates the start of the * problem. * * @return offset from beginning of file; {@link #NOPOS} if and * only if {@link #getPosition()} returns {@link #NOPOS} */ long getStartPosition(); /** * Returns the character offset from the beginning of the file * associated with this diagnostic that indicates the end of the * problem. * * @return offset from beginning of file; {@link #NOPOS} if and * only if {@link #getPosition()} returns {@link #NOPOS} */ long getEndPosition(); /** * Returns the line number of the character offset returned by * {@linkplain #getPosition()}. * * @return a line number or {@link #NOPOS} if and only if {@link * #getPosition()} returns {@link #NOPOS} */ long getLineNumber(); /** * Returns the column number of the character offset returned by * {@linkplain #getPosition()}. * * @return a column number or {@link #NOPOS} if and only if {@link * #getPosition()} returns {@link #NOPOS} */ long getColumnNumber(); /** * Returns a diagnostic code indicating the type of diagnostic. The * code is implementation-dependent and might be {@code null}. * * @return a diagnostic code */ String getCode(); /** * Returns a localized message for the given locale. The actual * message is implementation-dependent. If the locale is {@code * null} use the default locale. * * @param locale a locale; might be {@code null} * @return a localized message */ String getMessage(Locale locale); }
⏎ javax/tools/Diagnostic.java
Or download all of them as a single archive file:
File name: java.compiler-11.0.1-src.zip File size: 177179 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.datatransfer.jmod - Data Transfer Module
2020-05-29, 25189👍, 0💬
Popular Posts:
maven-compat-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Compact module. The JAR file name may ...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
What Is wstx-asl-3.2.8.jar? wstx-asl-3.2.8.jar is JAR file for the ASL component of Woodstox 3.2.8. ...