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.desktop.jmod - Desktop Module
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module.
JDK 17 Desktop module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.desktop.jmod.
JDK 17 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Desktop module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/beans/finder/FieldFinder.java
/* * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.beans.finder; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import static sun.reflect.misc.ReflectUtil.isPackageAccessible; /** * This utility class provides {@code static} methods * to find a public field with specified name * in specified class. * * @since 1.7 * * @author Sergey A. Malenkov */ public final class FieldFinder { /** * Finds public field (static or non-static) * that is declared in public class. * * @param type the class that can have field * @param name the name of field to find * @return object that represents found field * @throws NoSuchFieldException if field is not found * @see Class#getField */ public static Field findField(Class<?> type, String name) throws NoSuchFieldException { if (name == null) { throw new IllegalArgumentException("Field name is not set"); } if (!FinderUtils.isExported(type)) { throw new NoSuchFieldException("Field '" + name + "' is not accessible"); } Field field = type.getField(name); if (!Modifier.isPublic(field.getModifiers())) { throw new NoSuchFieldException("Field '" + name + "' is not public"); } type = field.getDeclaringClass(); if (!Modifier.isPublic(type.getModifiers()) || !isPackageAccessible(type)) { throw new NoSuchFieldException("Field '" + name + "' is not accessible"); } return field; } /** * Finds public non-static field * that is declared in public class. * * @param type the class that can have field * @param name the name of field to find * @return object that represents found field * @throws NoSuchFieldException if field is not found * @see Class#getField */ public static Field findInstanceField(Class<?> type, String name) throws NoSuchFieldException { Field field = findField(type, name); if (Modifier.isStatic(field.getModifiers())) { throw new NoSuchFieldException("Field '" + name + "' is static"); } return field; } /** * Finds public static field * that is declared in public class. * * @param type the class that can have field * @param name the name of field to find * @return object that represents found field * @throws NoSuchFieldException if field is not found * @see Class#getField */ public static Field findStaticField(Class<?> type, String name) throws NoSuchFieldException { Field field = findField(type, name); if (!Modifier.isStatic(field.getModifiers())) { throw new NoSuchFieldException("Field '" + name + "' is not static"); } return field; } /** * Disable instantiation. */ private FieldFinder() { } }
⏎ com/sun/beans/finder/FieldFinder.java
Or download all of them as a single archive file:
File name: java.desktop-17.0.5-src.zip File size: 9152233 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.instrument.jmod - Instrument Module
2023-09-16, 81326👍, 0💬
Popular Posts:
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-...
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
XML Serializer, Release 2.7.1, allows you to write out XML, HTML etc. as a stream of characters from...
JDK 6 tools.jar is the JAR file for JDK 6 tools. It contains Java classes to support different JDK t...