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/introspect/MethodInfo.java
/* * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.beans.introspect; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import com.sun.beans.TypeResolver; import com.sun.beans.finder.MethodFinder; final class MethodInfo { final Method method; final Class<?> type; MethodInfo(Method method, Class<?> type) { this.method = method; this.type = type; } MethodInfo(Method method, Type type) { this.method = method; this.type = resolve(method, type); } boolean isThrow(Class<?> exception) { for (Class<?> type : this.method.getExceptionTypes()) { if (type == exception) { return true; } } return false; } static Class<?> resolve(Method method, Type type) { return TypeResolver.erase(TypeResolver.resolveInClass(method.getDeclaringClass(), type)); } static List<Method> get(Class<?> type) { List<Method> list = null; if (type != null) { boolean inaccessible = !Modifier.isPublic(type.getModifiers()); for (Method method : type.getMethods()) { if (method.getDeclaringClass().equals(type)) { if (inaccessible) { try { method = MethodFinder.findAccessibleMethod(method); if (!method.getDeclaringClass().isInterface()) { method = null; // ignore methods from superclasses } } catch (NoSuchMethodException exception) { // commented out because of 6976577 // method = null; // ignore inaccessible methods } } if (method != null) { if (list == null) { list = new ArrayList<>(); } list.add(method); } } } } if (list != null) { list.sort(MethodOrder.instance); return Collections.unmodifiableList(list); } return Collections.emptyList(); } /** * A comparator that defines a total order so that methods have the same * name and identical signatures appear next to each others. The methods are * sorted in such a way that methods which override each other will sit next * to each other, with the overridden method last - e.g. is Integer getFoo() * placed before Object getFoo(). **/ private static final class MethodOrder implements Comparator<Method> { /* * Code particularly was copied from com.sun.jmx.mbeanserver.MethodOrder */ @Override public int compare(final Method a, final Method b) { int cmp = a.getName().compareTo(b.getName()); if (cmp != 0) { return cmp; } final Class<?>[] aparams = a.getParameterTypes(); final Class<?>[] bparams = b.getParameterTypes(); if (aparams.length != bparams.length) { return aparams.length - bparams.length; } for (int i = 0; i < aparams.length; ++i) { final Class<?> aparam = aparams[i]; final Class<?> bparam = bparams[i]; if (aparam == bparam) { continue; } cmp = aparam.getName().compareTo(bparam.getName()); if (cmp != 0) { return cmp; } } final Class<?> aret = a.getReturnType(); final Class<?> bret = b.getReturnType(); if (aret == bret) { return 0; } // Super type comes last: Integer, Number, Object if (aret.isAssignableFrom(bret)) { return 1; } if (bret.isAssignableFrom(aret)) { return -1; } return aret.getName().compareTo(bret.getName()); } static final MethodOrder instance = new MethodOrder(); } }
⏎ com/sun/beans/introspect/MethodInfo.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, 74037👍, 0💬
Popular Posts:
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...
What JAR files are required to run dom\Writer.java provided in the Apache Xerces package? 3 JAR file...
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
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...