Class JavaMethod
- java.lang.Object
-
- com.sun.tools.ws.processor.model.java.JavaMethod
-
public class JavaMethod extends Object
- Author:
- WS Development Team
-
-
Constructor Summary
Constructors Constructor Description JavaMethod(String name, WsimportOptions options, ErrorReceiver receiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addException(String exception)
void
addParameter(JavaParameter param)
Iterator<String>
getExceptions()
TODO: NB uses it, remove it once we expose it thru some APIString
getName()
List<JavaParameter>
getParametersList()
JavaType
getReturnType()
void
setReturnType(JavaType returnType)
-
-
-
Constructor Detail
-
JavaMethod
public JavaMethod(String name, WsimportOptions options, ErrorReceiver receiver)
-
-
Method Detail
-
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)
-
-