Conditions | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package com.hltech.pact.gen.domain.client.annotation; |
||
30 | private List<AnnotatedMethodHandler> createHandlers(List<Class<?>> classes) |
||
31 | throws IllegalAccessException, InstantiationException { |
||
32 | |||
33 | List<AnnotatedMethodHandler> result = Lists.newArrayList(); |
||
34 | |||
35 | for (Class<?> handlerClass : classes) { |
||
36 | result.add((AnnotatedMethodHandler) handlerClass.newInstance()); |
||
37 | } |
||
38 | |||
39 | return result; |
||
40 | } |
||
42 |