com.sun.tools.ws.processor.model.java
Class JavaMethod
java.lang.Object
com.sun.tools.ws.processor.model.java.JavaMethod
public class JavaMethod
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaMethod
public JavaMethod(String name,
WsimportOptions options,
ErrorReceiver receiver)
getName
public String getName()
getReturnType
public JavaType getReturnType()
setReturnType
public void setReturnType(JavaType returnType)
addParameter
public void addParameter(JavaParameter param)
getParametersList
public List<JavaParameter> getParametersList()
addException
public void addException(String exception)
getExceptions
public Iterator<String> getExceptions()
- TODO: NB uses it, remove it once we expose it thru some API