Class DuplicateParameterType
-
- All Implemented Interfaces:
public final class DuplicateParameterTypeA class representing a method with multiple parameters of the same type that have not been annotated with com.embabel.agent.api.annotation.RequireNameMatch.
-
-
Field Summary
Fields Modifier and Type Field Description private final Methodmethodprivate final Class<?>conflictingClassTypeprivate final List<Parameter>conflictingParameters
-
Constructor Summary
Constructors Constructor Description DuplicateParameterType(Method method, Class<?> conflictingClassType, List<Parameter> conflictingParameters)
-
Method Summary
Modifier and Type Method Description final MethodgetMethod()The method with multiple parameters of the same type which require @RequireNameMatch annotation final Class<?>getConflictingClassType()The type of the parameter that is ambiguous. final List<Parameter>getConflictingParameters()The parameters that are ambiguous. -
-
Method Detail
-
getMethod
final Method getMethod()
The method with multiple parameters of the same type which require @RequireNameMatch annotation
-
getConflictingClassType
final Class<?> getConflictingClassType()
The type of the parameter that is ambiguous.
-
getConflictingParameters
final List<Parameter> getConflictingParameters()
The parameters that are ambiguous.
-
-
-
-