public class JavaMethod extends Object
Constructor and Description |
---|
JavaMethod(String name,
WsimportOptions options,
ErrorReceiver receiver) |
Modifier and Type | Method and Description |
---|---|
void |
addException(String exception) |
void |
addParameter(JavaParameter param) |
Iterator<String> |
getExceptions()
TODO: NB uses it, remove it once we expose it thru some API
|
String |
getName() |
List<JavaParameter> |
getParametersList() |
JavaType |
getReturnType() |
void |
setReturnType(JavaType returnType) |
public JavaMethod(String name, WsimportOptions options, ErrorReceiver receiver)
public String getName()
public JavaType getReturnType()
public void setReturnType(JavaType returnType)
public void addParameter(JavaParameter param)
public List<JavaParameter> getParametersList()
public void addException(String exception)
Copyright © 2018 Oracle Corporation. All rights reserved.