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.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\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, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.beans.introspect; import com.sun.beans.TypeResolver; import com.sun.beans.finder.MethodFinder; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; 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; } return -1; } 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-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 163547👍, 5💬
Popular Posts:
The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications ...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...
This package is the backport of java.util.concurrent API, introduced in Java 5.0 and further refined...
How to download and install ojdbc6.jar for Oracle 11g R2? ojdbc6.jar for Oracle 11g R2 is a Java 6, ...
Java Advanced Imaging (JAI) is a Java platform extension API that provides a set of object-oriented ...