Package | Description |
---|---|
net.sourceforge.jenesis4java |
Modifier and Type | Method and Description |
---|---|
FormalParameter |
Method.addParameter(Class type,
String name)
Adds a new
FormalParameter to this method signature with the
given type and name and returns the Method . |
FormalParameter |
Constructor.addParameter(Class type,
String name)
Adds a new formal parameter to the list of parameters with the given
Type and name, and returns the FormalParameter object. |
FormalParameter |
Method.addParameter(Type type,
String name)
Adds a new
FormalParameter to this method signature with the
given type and name and returns the Method . |
FormalParameter |
Constructor.addParameter(Type type,
String name)
Adds a new formal parameter to the list of parameters with the given
Type and name, and returns the FormalParameter object. |
FormalParameter |
Catch.getThrowable()
Gets the formal parameter for this catch clause. if more than one formal
parameter has been declared, only the first one is returned.
|
FormalParameter |
FormalParameter.isFinal(boolean value)
Setter method for the formal parameter
isFinal flag. |
FormalParameter |
FormalParameter.setName(String id)
Setter method for the formal parameter identifier.
|
FormalParameter |
FormalParameter.setType(Type type)
Setter method for the formal parameter type.
|
Modifier and Type | Method and Description |
---|---|
List<FormalParameter> |
Method.getParameters()
Gets the list of formal parameter declarations as an list of
FormalParameter . |
List<FormalParameter> |
Constructor.getParameters()
Gets the list of formal parameters as a list of
FormalParameter . |
List<FormalParameter> |
Catch.getThrowables()
Returns an immutable list containing the formal parameters of this catch
clause.
|
Copyright © 2000–2018 jenesis4java. All rights reserved.