<s> package org . eclipse . jdt . core ; public interface IMethod extends IMember , IAnnotatable { IMemberValuePair getDefaultValue ( ) throws JavaModelException ; String getElementName ( ) ; String [ ] getExceptionTypes ( ) throws JavaModelException ; String [ ] getTypeParameterSignatures ( ) throws JavaModelException ; ITypeParameter [ ] getTypeParameters ( ) throws JavaModelException ; int getNumberOfParameters ( ) ; ILocalVariable [ ] getParameters ( ) throws JavaModelException ; String getKey ( ) ; String [ ] getParameterNames ( ) throws JavaModelException ; String [ ] getParameterTypes ( ) ; String [ ] getRawParameterNames ( ) throws JavaModelException ; String getReturnType ( ) throws JavaModelException ; String getSignature ( ) throws JavaModelException ; ITypeParameter getTypeParameter ( String name ) ; boolean isConstructor ( ) throws JavaModelException ; boolean isMainMethod ( ) throws JavaModelException ; boolean isResolved ( ) ; boolean isSimilar ( IMethod method ) ; } </s>