2362N/A * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * A MethodDescriptor describes a particular method that a Java Bean 0N/A * supports for external access from other components. 0N/A * Constructs a <code>MethodDescriptor</code> from a 0N/A * <code>Method</code>. 0N/A * @param method The low-level method information. 0N/A * Constructs a <code>MethodDescriptor</code> from a 0N/A * <code>Method</code> providing descriptive information for each 0N/A * of the method's parameters. 0N/A * @param method The low-level method information. 0N/A * @param parameterDescriptors Descriptive information for each of the 0N/A * method's parameters. 0N/A * Gets the method that this MethodDescriptor encapsualtes. 0N/A * @return The low-level description of the method 0N/A for (
int i =
0; i <
3; i++) {
0N/A // Find methods for up to 2 params. We are guessing here. 0N/A // This block should never execute unless the classloader 0N/A // that loaded the argument classes disappears. 0N/A // pp getParamNames used as an optimization to avoid method.getParameterTypes. 0N/A * Gets the ParameterDescriptor for each of this MethodDescriptor's 0N/A * method's parameters. 0N/A * @return The locale-independent names of the parameters. May return 0N/A * a null array if the parameter names aren't known. 0N/A * Package-private constructor 0N/A * Merge two method descriptors. Where they conflict, give the 0N/A * second argument (y) priority over the first argument (x). 0N/A * @param x The first (lower priority) MethodDescriptor 0N/A * @param y The second (higher priority) MethodDescriptor 0N/A * Package-private dup constructor 0N/A * This must isolate the new object from any changes to the old object. 0N/A for (
int i =
0; i <
len ; i++) {