public class LocalMethod extends LocalField
| Constructor and Description | 
|---|
| LocalMethod(int modifiers,
           java.lang.Class<?> type,
           java.lang.String name,
           java.lang.Class<?>[] paramTypes,
           java.lang.Class<?>[] exceptions)Constructs a new local method. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Class<?>[] | getExceptionTypes()Used to get checked exceptions thrown by this method | 
| java.lang.Class<?>[] | getParameterTypes()Used to obtain types of formal parameters of this method. | 
getConstValue, getDeclaringClass, getModifiers, getName, getType, isSyntheticpublic LocalMethod(int modifiers,
           java.lang.Class<?> type,
           java.lang.String name,
           java.lang.Class<?>[] paramTypes,
           java.lang.Class<?>[] exceptions)
modifiers - sum of one or more of PUBLIC, PRIVATE,
                  PROTECTED,STATIC, FINAL,
                  SYNCHRONIZED, NATIVE, ABSTRACT
                  constants of java.lang.reflect.Modifier .type - type of the return value.name - name of the methodparamTypes - array of types of formal parameters excluding "this"
                   (null means no parameters).exceptions - checked exceptions thrownpublic java.lang.Class<?>[] getParameterTypes()
public java.lang.Class<?>[] getExceptionTypes()
Copyright © 1998-2016 Konstantin L. Metlov All Rights Reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the JEL manual.