Interface ParameterAttributeNamesExtractor
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ParameterAttributeNamesExtractor
Extractor for the attribute names for the parameters of a traced method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]extract(Method method, Parameter[] parameters)Returns an array of the names of the attributes for the parameters of the traced method.
-
-
-
Method Detail
-
extract
@Nullable String[] extract(Method method, Parameter[] parameters)
Returns an array of the names of the attributes for the parameters of the traced method. The array must be the same length as the array of the method parameters. An element may benullto indicate that the parameter should not be bound to an attribute.- Parameters:
method- the traced methodparameters- the method parameters- Returns:
- an array of the attribute names
-
-