Package ninja.params
Class ControllerMethodInvokerWithDeprecatedValidationTest.GuiceArgumentExtractor
- java.lang.Object
-
- ninja.params.ControllerMethodInvokerWithDeprecatedValidationTest.GuiceArgumentExtractor
-
- All Implemented Interfaces:
ArgumentExtractor<String>
- Enclosing class:
- ControllerMethodInvokerWithDeprecatedValidationTest
public static class ControllerMethodInvokerWithDeprecatedValidationTest.GuiceArgumentExtractor extends Object implements ArgumentExtractor<String>
Argument extractor that has a complex constructor for Guice. It depends on some other dependency (dep), plus the annotation that was on the parameter, and the class of the parameter.
-
-
Constructor Summary
Constructors Constructor Description GuiceArgumentExtractor(ControllerMethodInvokerWithDeprecatedValidationTest.Dep dep, ControllerMethodInvokerWithDeprecatedValidationTest.GuiceAnnotation annot, ArgumentClassHolder holder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extract(Context context)
Class<String>
getExtractedType()
String
getFieldName()
-
-
-
Constructor Detail
-
GuiceArgumentExtractor
@Inject public GuiceArgumentExtractor(ControllerMethodInvokerWithDeprecatedValidationTest.Dep dep, ControllerMethodInvokerWithDeprecatedValidationTest.GuiceAnnotation annot, ArgumentClassHolder holder)
-
-
Method Detail
-
extract
public String extract(Context context)
- Specified by:
extract
in interfaceArgumentExtractor<String>
-
getExtractedType
public Class<String> getExtractedType()
- Specified by:
getExtractedType
in interfaceArgumentExtractor<String>
-
getFieldName
public String getFieldName()
- Specified by:
getFieldName
in interfaceArgumentExtractor<String>
-
-