Class ArgumentMapper
java.lang.Object
ch.tocco.nice2.security.impl.compiler.ArgumentMapper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ArgumentMapper.Candidate
<T> static ArgumentMapper.Candidate
<Constructor> findConstructor
(Class<?> clazz, List<?> args) static ArgumentMapper.Candidate
<Method> findMethod
(Class<?> clazz, String name, List<?> args)
-
Method Details
-
find
public static <T> ArgumentMapper.Candidate<T> find(Map<T, Class<?>[]> candidates, List<?> args) throws ArgumentMapper.AmbiguousException -
findMethod
public static ArgumentMapper.Candidate<Method> findMethod(Class<?> clazz, String name, List<?> args) throws ArgumentMapper.AmbiguousException -
findConstructor
public static ArgumentMapper.Candidate<Constructor> findConstructor(Class<?> clazz, List<?> args) throws ArgumentMapper.AmbiguousException
-