public class Parameter extends Object
Constructor and Description |
---|
Parameter(Class type,
Expression name)
Create a new named parameter definition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
evaluateArgument(Object argumentSource)
Evaluate this method parameter against the provided argument source, returning a single method argument value.
|
Expression |
getName()
Returns the parameter name.
|
Class |
getType()
Returns the parameter type.
|
int |
hashCode() |
String |
toString() |
public Parameter(Class type, Expression name)
type
- the parameter type, may be nullname
- the name the method argument expression (required)public Class getType()
public Expression getName()
public Object evaluateArgument(Object argumentSource)
argumentSource
- the method argument source