public static List<AnnotatedTypeMirror> treesToTypes(final List<? extends ExpressionTree> argTrees,final AnnotatedTypeFactory typeFactory){
  final List<AnnotatedTypeMirror> argTypes=new ArrayList<>(argTrees.size());
  for (  Tree arg : argTrees) {
    argTypes.add(typeFactory.getAnnotatedType(arg));
  }
  return argTypes;
}

public static List < AnnotatedTypeMirror > treesToTypes ( final List < ? extends ExpressionTree > argTrees , final AnnotatedTypeFactory typeFactory ) { final List < AnnotatedTypeMirror > argTypes = new ArrayList < > ( argTrees . size ( ) ) ; for ( Tree arg : argTrees ) { argTypes . add ( typeFactory . getAnnotatedType ( arg ) ) ; } return argTypes ; }
calls get annotated types on a list of trees using the given type factory .
