325N/A * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 325N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 325N/A * This code is free software; you can redistribute it and/or modify it 325N/A * under the terms of the GNU General Public License version 2 only, as 325N/A * published by the Free Software Foundation. Oracle designates this 325N/A * particular file as subject to the "Classpath" exception as provided 325N/A * by Oracle in the LICENSE file that accompanied this code. 325N/A * This code is distributed in the hope that it will be useful, but WITHOUT 325N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 325N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 325N/A * version 2 for more details (a copy is included in the LICENSE file that 325N/A * accompanied this code). 325N/A * You should have received a copy of the GNU General Public License version 325N/A * 2 along with this work; if not, write to the Free Software Foundation, 325N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 325N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 325N/A * or visit www.oracle.com if you need additional information or have any 325N/A * Modifiers for this method 325N/A * Return type for this method 325N/A * List of parameters for this method's declaration 325N/A * Set of exceptions that this method may throw. 325N/A * A set instance lazily created. 325N/A * JBlock of statements that makes up the body this method 325N/A * javadoc comments for this JMethod 325N/A * Variable parameter for this method's varargs declaration 325N/A * introduced in J2SE 1.5 325N/A * Annotations on this variable. Lazily created. 325N/A /** To set the default value for the 325N/A * Modifiers for this method's declaration 325N/A * Return type for the method 325N/A * Constructor constructor 325N/A * Modifiers for this constructor's declaration 325N/A * JClass containing this constructor 325N/A * Add an exception to the list of exceptions that this 325N/A * Name of an exception that this method may throw 325N/A * Returns the list of variable of this method. 325N/A * @return List of parameters of this method. This list is not modifiable. 325N/A * Add the specified variable to the list of parameters 325N/A * for this method signature. 325N/A * JType of the parameter being added 325N/A * Name of the parameter being added 325N/A * @return New parameter variable 325N/A * @see #varParam(JType, String) 325N/A * Add the specified variable argument to the list of parameters 325N/A * for this method signature. 325N/A * Type of the parameter being added. 325N/A * Name of the parameter being added 325N/A * @return the variable parameter 325N/A * @throws IllegalStateException 325N/A * If this method is called twice. 325N/A * varargs in J2SE 1.5 can appear only once in the 325N/A "Cannot have two varargs in a method,\n" 325N/A +
"Check if varParam method of JMethod is" 325N/A +
" invoked more than once");
325N/A * Adds an annotation to this variable. 325N/A * The annotation class to annotate the field with 325N/A * Adds an annotation to this variable. 325N/A * The annotation class to annotate the field with 325N/A * Check if there are any varargs declared 325N/A * for this method signature. 325N/A * Changes the name of the method. 325N/A * Returns the return type. 325N/A * Overrides the return type. 325N/A * Returns all the parameter types in an array. 325N/A * If there's no parameter, an empty array will be returned. 325N/A * Returns the varags parameter type. 325N/A * If there's no vararg parameter type, null will be returned. 325N/A * Returns all the parameters in an array. 325N/A * If there's no parameter, an empty array will be returned. 325N/A * Returns the variable parameter 325N/A * If there's no parameter, null will be returned. 325N/A * Returns true if the method has the specified signature. 325N/A * Get the block that makes up body of this method 325N/A * @return Body of method 325N/A * Specify the default value for this annotation member 325N/A * Default value for the annotation member 325N/A * Creates, if necessary, and returns the class javadoc for this 325N/A * @return JDocComment containing javadocs for this class 325N/A // declare the generics parameters 325N/A // when parameters are printed in new lines, we want them to be indented. 325N/A // there's a good chance no newlines happen, too, but just in case it does. 325N/A // Print an empty body for non-native, non-abstract methods 325N/A * the current modifiers of this method. 325N/A * Always return non-null valid object. 325N/A * @deprecated use {@link #mods()}