1 /*
   2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package pkg1;
  25 
  26 import java.util.ArrayList;
  27 import java.util.Collection;
  28 import java.util.List;
  29 
  30 public class MethodOrder {
  31     /**
  32      * method test for ordering parameters
  33      * @return UsedClass something
  34      */
  35     public UsedClass m(){return null;}
  36     /**
  37      * method test for ordering parameters
  38      * @param i a param
  39      * @return UsedClass something
  40      */
  41     public UsedClass m(int i) {return null;}
  42 
  43     /**
  44      * method test for ordering parameters
  45      * @param i1 a param
  46      * @param i2 a param
  47      * @return something
  48      */
  49     public UsedClass m(int i1, int i2) {return null;}
  50 
  51     /**
  52      * method test for ordering parameters
  53      * @param array a param
  54      * @return something
  55      */
  56     public UsedClass m(byte[] array) {return null;}
  57 
  58     /**
  59      * method test for ordering parameters
  60      * @param in a param
  61      * @return something
  62      */
  63     public UsedClass m(Integer in) {return null;}
  64 
  65     /**
  66      * method test for ordering parameters
  67      * @param i1 a param
  68      * @param i2 a param
  69      * @return something
  70      */
  71     public UsedClass m(Integer i1, Integer i2) {return null;}
  72 
  73     /**
  74      * method test for ordering parameters
  75      * @param i1 a param
  76      * @param i2 a param
  77      * @return something
  78      */
  79     public UsedClass m(int i1, Integer i2) {return null;}
  80 
  81     /**
  82      * method test for ordering parameters
  83      * @param i1 a param
  84      * @param i2 a param
  85      * @return something
  86      */
  87     public UsedClass m(Integer i1, int i2) {return null;}
  88 
  89     /**
  90      * method test for ordering parameters
  91      * @param d a param
  92      * @return something
  93      */
  94     public UsedClass m(double d) {return null;}
  95 
  96     /**
  97      * method test for ordering parameters
  98      * @param i1 a param
  99      * @param i2 a param
 100      * @return something
 101      */
 102     public UsedClass m(double i1, double i2) {return null;}
 103 
 104     /**
 105      * method test for ordering parameters
 106      * @param in a param
 107      * @return something
 108      */
 109     public UsedClass m(Double in) {return null;}
 110 
 111     /**
 112      * method test for ordering parameters
 113      * @param i1 a param
 114      * @param i2 a param
 115      * @return something
 116      */
 117     public UsedClass m(Double i1, Double i2) {return null;}
 118 
 119     /**
 120      * method test for ordering parameters
 121      * @param i1 a param
 122      * @param i2 a param
 123      * @return something
 124      */
 125     public UsedClass m(double i1, Double i2) {return null;}
 126 
 127     /**
 128      * method test for ordering parameters
 129      * @param l1 param
 130      * @param xenon param
 131      * @return something
 132      */
 133     public UsedClass m(long l1, Long... xenon) {return null;}
 134 
 135     /**
 136      * method test for ordering parameters
 137      * @param l1 param
 138      * @return something
 139      */
 140     public UsedClass m(long l1) {return null;}
 141 
 142     /**
 143      *  method test for ordering parameters
 144      * @param l1 param
 145      * @param l2 param
 146      * @return something
 147      */
 148     public UsedClass m(long l1, Long l2) {return null;}
 149 
 150     /**
 151      *  method test for ordering parameters
 152      * @param l1 param
 153      * @param l2 param
 154      * @return something
 155      */
 156     public UsedClass m(long l1, long l2) {return null;}
 157 
 158     /**
 159      * method test for ordering parameters
 160      * @param array a param
 161      * @return something
 162      */
 163     public UsedClass m(Object[] array);
 164 
 165     /**
 166      * method test for ordering parameters
 167      * @param arrayarray two dimensional array
 168      * @return something
 169      */
 170     public UsedClass m(Object[][] arrayarray);
 171 
 172     /**
 173      * method test for ordering parameters
 174      * @param i1 a param
 175      * @param i2 a param
 176      * @return something
 177      */
 178     public UsedClass m(Double i1, double i2) {return null;}
 179 
 180     /**
 181      * method test for ordering parameters
 182      * @param collection a param
 183      * @return something
 184      */
 185     public UsedClass m(Collection collection) {return null;}
 186 
 187     /**
 188      * method test for ordering parameters
 189      * @param list a param
 190      * @return something
 191      */
 192     public UsedClass m(List list) {return null;}
 193 
 194     /**
 195      * method test for ordering parameters
 196      * @param collection a param
 197      * @return something
 198      */
 199     public UsedClass m(ArrayList<UsedClass> collection) {return null;}
 200 
 201     /**
 202      * method test for ordering parameters
 203      * @param u use a type param
 204      */
 205     public void tpm(UsedClass<?> u) {}
 206 
 207     /**
 208      * method test for ordering parameters
 209      * @param u1 use a type param
 210      * @param u2 use a type param
 211      */
 212     public void tpm(UsedClass<?> u1, UsedClass<?> u2) {}
 213 
 214     /**
 215      * method test for ordering parameters
 216      * @param u use a type param
 217      * @param array use a type param and an array
 218      */
 219     public void tpm(UsedClass<?> u, UsedClass<?>[] array) {}
 220 
 221     /**
 222      * method test for ordering parameters
 223      * @param u use type param with extends
 224      * @param a some string
 225      */
 226     public void tpm(UsedClass<? extends UsedClass> u, String a) {}
 227 }