1 11 package org.eclipse.jdt.core.jdom; 12 13 27 public interface IDOMMethod extends IDOMMember { 28 40 public void addException(String exceptionType) throws IllegalArgumentException ; 41 56 public void addParameter(String type, String name) throws IllegalArgumentException ; 57 64 public String getBody(); 65 66 73 public void setDefault(String defaultValue); 74 75 82 public String getDefault(); 83 84 94 public String [] getExceptions(); 95 96 108 String [] getTypeParameters(); 109 110 118 public String getName(); 119 127 public String [] getParameterNames(); 128 139 public String [] getParameterTypes(); 140 150 public String getReturnType(); 151 152 157 public boolean isConstructor(); 158 159 167 public void setBody(String body); 168 173 public void setConstructor(boolean b); 174 184 public void setExceptions(String [] exceptionTypes); 185 186 197 void setTypeParameters(String [] typeParameters); 198 199 211 public void setName(String name) throws IllegalArgumentException ; 212 227 public void setParameters(String [] types, String [] names) throws IllegalArgumentException ; 228 229 239 public void setReturnType(String type) throws IllegalArgumentException ; 240 241 } 242 | Popular Tags |