<s> package org . eclipse . jdt . core . jdom ; public interface IDOMMethod extends IDOMMember { public void addException ( String exceptionType ) throws IllegalArgumentException ; public void addParameter ( String type , String name ) throws IllegalArgumentException ; public String getBody ( ) ; public void setDefault ( String defaultValue ) ; public String getDefault ( ) ; public String [ ] getExceptions ( ) ; String [ ] getTypeParameters ( ) ; public String getName ( ) ; public String [ ] getParameterNames ( ) ; public String [ ] getParameterTypes ( ) ; public String getReturnType ( ) ; public boolean isConstructor ( ) ; public void setBody ( String body ) ; public void setConstructor ( boolean b ) ; public void setExceptions ( String [ ] exceptionTypes ) ; void setTypeParameters ( String [ ] typeParameters ) ; public void setName ( String name ) throws IllegalArgumentException ; public void setParameters ( String [ ] types , String [ ] names ) throws IllegalArgumentException ; public void setReturnType ( String type ) throws IllegalArgumentException ; } </s>