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/lang/model/element/TypeElement.java
/* * Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.lang.model.element; import java.util.List; import javax.lang.model.type.*; import javax.lang.model.util.*; /** * Represents a class or interface program element. Provides access * to information about the class or interface and its members. Note * that an enum class and a record class are specialized kinds of * classes and an annotation interface is a specialized kind of * interface. * * <p> While a {@code TypeElement} represents a class or interface * <i>element</i>, a {@link DeclaredType} represents a class * or interface <i>type</i>, the latter being a use * (or <i>invocation</i>) of the former. * The distinction is most apparent with generic types, * for which a single element can define a whole * family of types. For example, the element * {@code java.util.Set} corresponds to the parameterized types * {@code java.util.Set<String>} and {@code java.util.Set<Number>} * (and many others), and to the raw type {@code java.util.Set}. * * <p> Each method of this interface that returns a list of elements * will return them in the order that is natural for the underlying * source of program information. For example, if the underlying * source of information is Java source code, then the elements will be * returned in source code order. * * @author Joseph D. Darcy * @author Scott Seligman * @author Peter von der Ahé * @see DeclaredType * @since 1.6 */ public interface TypeElement extends Element, Parameterizable, QualifiedNameable { /** * Returns the type defined by this class or interface element, * returning the <i>prototypical</i> type for an element * representing a generic type. * * <p>A generic element defines a family of types, not just one. * If this is a generic element, a prototypical type is * returned which has the element's invocation on the * type variables corresponding to its own formal type parameters. * For example, * for the generic class element {@code C<N extends Number>}, * the parameterized type {@code C<N>} is returned. * The {@link Types} utility interface has more general methods * for obtaining the full range of types defined by an element. * * @return the type defined by this type element * * @see Types#asMemberOf(DeclaredType, Element) * @see Types#getDeclaredType(TypeElement, TypeMirror...) */ @Override TypeMirror asType(); /** * Returns the fields, methods, constructors, record components, * and member classes and interfaces that are directly declared in * this class or interface. * * This includes any {@linkplain Elements.Origin#MANDATED * mandated} elements such as the (implicit) default constructor * and the implicit {@code values} and {@code valueOf} methods of * an enum class. * * @apiNote As a particular instance of the {@linkplain * javax.lang.model.element general accuracy requirements} and the * ordering behavior required of this interface, the list of * enclosed elements will be returned in the natural order for the * originating source of information about the class or interface. * For example, if the information about the class or interface is * originating from a source file, the elements will be returned * in source code order. (However, in that case the ordering of * {@linkplain Elements.Origin#MANDATED implicitly declared} * elements, such as default constructors, is not specified.) * * @return the enclosed elements in proper order, or an empty list if none * * @jls 8.8.9 Default Constructor * @jls 8.9.3 Enum Members */ @Override List<? extends Element> getEnclosedElements(); /** * Returns the <i>nesting kind</i> of this class or interface element. * * @return the nesting kind of this class or interface element */ NestingKind getNestingKind(); /** * Returns the fully qualified name of this class or interface * element. More precisely, it returns the <i>canonical</i> name. * For local and anonymous classes, which do not have canonical * names, an <a href=Name.html#empty_name>empty name</a> is * returned. * * <p>The name of a generic class or interface does not include any reference * to its formal type parameters. * For example, the fully qualified name of the interface * {@code java.util.Set<E>} is "{@code java.util.Set}". * Nested classes and interfaces use "{@code .}" as a separator, as in * "{@code java.util.Map.Entry}". * * @return the fully qualified name of this class or interface, or * an empty name if none * * @see Elements#getBinaryName * @jls 6.7 Fully Qualified Names and Canonical Names */ Name getQualifiedName(); /** * Returns the simple name of this class or interface element. * * For an anonymous class, an <a href=Name.html#empty_name> empty * name</a> is returned. * * @return the simple name of this class or interface, * an empty name for an anonymous class * */ @Override Name getSimpleName(); /** * Returns the direct superclass of this class or interface element. * If this class or interface element represents an interface or the class * {@code java.lang.Object}, then a {@link NoType} * with kind {@link TypeKind#NONE NONE} is returned. * * @return the direct superclass, or a {@code NoType} if there is none */ TypeMirror getSuperclass(); /** * Returns the interface types directly implemented by this class * or extended by this interface. * * @return the interface types directly implemented by this class * or extended by this interface, or an empty list if there are none */ List<? extends TypeMirror> getInterfaces(); /** * Returns the formal type parameters of this class or interface element * in declaration order. * * @return the formal type parameters, or an empty list * if there are none */ List<? extends TypeParameterElement> getTypeParameters(); /** * Returns the record components of this class or interface * element in declaration order. * * @implSpec The default implementations of this method returns an * empty and unmodifiable list. * * @return the record components, or an empty list if there are * none * * @since 16 */ default List<? extends RecordComponentElement> getRecordComponents() { return List.of(); } /** * Returns the permitted classes of this class or interface * element in declaration order. * * @implSpec The default implementations of this method returns an * empty and unmodifiable list. * * @return the permitted classes, or an empty list if there are none * * @since 17 */ default List<? extends TypeMirror> getPermittedSubclasses() { return List.of(); } /** * Returns the package of a top-level class or interface and * returns the immediately lexically enclosing element for a * {@linkplain NestingKind#isNested nested} class or interface. * * @return the package of a top-level class or interface, the immediately * lexically enclosing element for a nested class or interface */ @Override Element getEnclosingElement(); }
⏎ javax/lang/model/element/TypeElement.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, 4392👍, 0💬
Popular Posts:
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
kernel.jar is a component in iText Java library to provide low-level functionalities. iText Java lib...
maven-core-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Core module. Apache Maven is a software ...
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms, it was develo...
JDK 17 java.xml.jmod is the JMOD file for JDK 17 XML (eXtensible Markup Language) module. JDK 17 XML...