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 java.compiler.jmod - Compiler Module
JDK 17 java.compiler.jmod is the JMOD file for JDK 17 Compiler module.
JDK 17 Compiler module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.compiler.jmod.
JDK 17 Compiler module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Compiler module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.compiler.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ javax/annotation/processing/RoundEnvironment.java
/* * Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.annotation.processing; import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; import java.util.LinkedHashSet; import java.util.Collections; import java.util.Set; import java.lang.annotation.Annotation; /** * An annotation processing tool framework will {@linkplain * Processor#process provide an annotation processor with an object * implementing this interface} so that the processor can query for * information about a round of annotation processing. * * @author Joseph D. Darcy * @author Scott Seligman * @author Peter von der Ahé * @since 1.6 */ public interface RoundEnvironment { /** * {@return {@code true} if types generated by this round will not * be subject to a subsequent round of annotation processing; * returns {@code false} otherwise} */ boolean processingOver(); /** * {@return {@code true} if an error was raised in the prior round * of processing; returns {@code false} otherwise} */ boolean errorRaised(); /** * Returns the {@linkplain Processor root elements} for annotation processing generated * by the prior round. * * @return the root elements for annotation processing generated * by the prior round, or an empty set if there were none */ Set<? extends Element> getRootElements(); /** * Returns the elements annotated with the given annotation type. * The annotation may appear directly or be inherited. Only * package elements, module elements, and type elements <i>included</i> in this * round of annotation processing, or declarations of members, * constructors, parameters, type parameters, or record components * declared within those, are returned. Included type elements are {@linkplain * #getRootElements root types} and any member types nested within * them. Elements of a package are not considered included simply * because a {@code package-info} file for that package was * created. * Likewise, elements of a module are not considered included * simply because a {@code module-info} file for that module was * created. * * @param a annotation type being requested * @return the elements annotated with the given annotation type, * or an empty set if there are none * @throws IllegalArgumentException if the argument does not * represent an annotation type */ Set<? extends Element> getElementsAnnotatedWith(TypeElement a); /** * Returns the elements annotated with one or more of the given * annotation types. * * @apiNote This method may be useful when processing repeating * annotations by looking for an annotation type and its * containing annotation type at the same time. * * @implSpec The default implementation of this method creates an * empty result set, iterates over the annotations in the argument * array calling {@link #getElementsAnnotatedWith(TypeElement)} on * each annotation and adding those results to the result * set. Finally, the contents of the result set are returned as an * unmodifiable set. * * @param annotations annotation types being requested * @return the elements annotated with one or more of the given * annotation types, or an empty set if there are none * @throws IllegalArgumentException if the any elements of the * argument set do not represent an annotation type * @jls 9.6.3 Repeatable Annotation Interfaces * @since 9 */ default Set<? extends Element> getElementsAnnotatedWithAny(TypeElement... annotations){ // Use LinkedHashSet rather than HashSet for predictability Set<Element> result = new LinkedHashSet<>(); for (TypeElement annotation : annotations) { result.addAll(getElementsAnnotatedWith(annotation)); } return Collections.unmodifiableSet(result); } /** * Returns the elements annotated with the given annotation type. * The annotation may appear directly or be inherited. Only * package elements, module elements, and type elements <i>included</i> in this * round of annotation processing, or declarations of members, * constructors, parameters, type parameters, or record components * declared within those, are returned. Included type elements are {@linkplain * #getRootElements root types} and any member types nested within * them. Elements in a package are not considered included simply * because a {@code package-info} file for that package was * created. * Likewise, elements of a module are not considered included * simply because a {@code module-info} file for that module was * created. * * <p> Note: An implementation of this method typically performs * an internal conversion from the runtime reflective * representation of an annotation type as a {@code Class} object * to a different representation used for annotation * processing. The set of annotation types present in the runtime * context may differ from the set of annotation types present in * the context of annotation processing in a particular * environmental configuration. If an runtime annotation type is * not present in the annotation processing context, the situation * is not treated as an error and no elements are found for that * annotation type. * * @param a annotation type being requested * @return the elements annotated with the given annotation type, * or an empty set if there are none * @throws IllegalArgumentException if the argument does not * represent an annotation type * * @see javax.lang.model.AnnotatedConstruct#getAnnotation(Class) * @see javax.lang.model.AnnotatedConstruct#getAnnotationsByType(Class) */ Set<? extends Element> getElementsAnnotatedWith(Class<? extends Annotation> a); /** * Returns the elements annotated with one or more of the given * annotation types. * * <p> Note: An implementation of this method typically performs * an internal conversion from the runtime reflective * representation of an annotation type as a {@code Class} object * to a different representation used for annotation * processing. The set of annotation types present in the runtime * context may differ from the set of annotation types present in * the context of annotation processing in a particular * environmental configuration. If an runtime annotation type is * not present in the annotation processing context, the situation * is not treated as an error and no elements are found for that * annotation type. * * @apiNote This method may be useful when processing repeating * annotations by looking for an annotation type and its * containing annotation type at the same time. * * @implSpec The default implementation of this method creates an * empty result set, iterates over the annotations in the argument * set calling {@link #getElementsAnnotatedWith(Class)} on * each annotation and adding those results to the result * set. Finally, the contents of the result set are returned as an * unmodifiable set. * * @param annotations annotation types being requested * @return the elements annotated with one or more of the given * annotation types, or an empty set if there are none * @throws IllegalArgumentException if the any elements of the * argument set do not represent an annotation type * @jls 9.6.3 Repeatable Annotation Interfaces * * @see javax.lang.model.AnnotatedConstruct#getAnnotation(Class) * @see javax.lang.model.AnnotatedConstruct#getAnnotationsByType(Class) * * @since 9 */ default Set<? extends Element> getElementsAnnotatedWithAny(Set<Class<? extends Annotation>> annotations){ // Use LinkedHashSet rather than HashSet for predictability Set<Element> result = new LinkedHashSet<>(); for (Class<? extends Annotation> annotation : annotations) { result.addAll(getElementsAnnotatedWith(annotation)); } return Collections.unmodifiableSet(result); } }
⏎ javax/annotation/processing/RoundEnvironment.java
Or download all of them as a single archive file:
File name: java.compiler-17.0.5-src.zip File size: 192681 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.datatransfer.jmod - Data Transfer Module
2023-09-16, 6237👍, 0💬
Popular Posts:
How to download and install JDK (Java Development Kit) 5? If you want to write Java applications, yo...
JDK 11 jdk.charsets.jmod is the JMOD file for JDK 11 Charsets module. JDK 11 Charsets module compile...
How to perform XML Schema validation with dom\Writer.java provided in the Apache Xerces package? You...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...