
public class ParameterProvidedMethods extends Object
SourceMethods that are provided by Context parameters of a
Method and maintains the relationship between those methods and their originating parameter.| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterProvidedMethods.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ParameterProvidedMethods.Builder |
builder() |
static ParameterProvidedMethods |
empty() |
List<SourceMethod> |
getAllProvidedMethodsInParameterOrder(List<Parameter> orderedParameters) |
Parameter |
getParameterForProvidedMethod(Method method) |
boolean |
isEmpty() |
public List<SourceMethod> getAllProvidedMethodsInParameterOrder(List<Parameter> orderedParameters)
orderedParameters - The parameters of which the provided methods are to be returned.public Parameter getParameterForProvidedMethod(Method method)
method - The method for which the defining parameter is to be returned.null if the method was not
defined on one of the tracked parameters.public boolean isEmpty()
true, if no methods are provided by the tracked parameters or no parameters are tracked at all.public static ParameterProvidedMethods.Builder builder()
public static ParameterProvidedMethods empty()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.