public class DefaultActionParameter extends java.lang.Object implements ActionParameter
Constructor and Description |
---|
DefaultActionParameter(ActionMetadata actionMetadata,
int index,
java.lang.Class<?> type,
java.lang.annotation.Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
java.lang.annotation.Annotation[] |
getAnnotations() |
int |
getIndex() |
java.lang.String |
getName() |
java.lang.Class<?> |
getType() |
boolean |
isContextual() |
boolean |
isNullable() |
protected java.lang.String |
resolveParameterName(ActionMetadata actionMetadata,
int index) |
java.lang.String |
toString() |
public DefaultActionParameter(@Nonnull ActionMetadata actionMetadata, int index, @Nonnull java.lang.Class<?> type, @Nullable java.lang.annotation.Annotation[] annotations)
@Nonnull protected java.lang.String resolveParameterName(@Nonnull ActionMetadata actionMetadata, int index)
public int getIndex()
getIndex
in interface ActionParameter
@Nonnull public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface ActionParameter
@Nonnull public java.lang.Class<?> getType()
getType
in interface ActionParameter
@Nonnull public java.lang.String getName()
getName
in interface ActionParameter
public boolean isContextual()
isContextual
in interface ActionParameter
public boolean isNullable()
isNullable
in interface ActionParameter
public java.lang.String toString()
toString
in class java.lang.Object