Could we declare the variable types?

     String methodName = node.getName();
     List<Class<?>> parameterTypes = node.as(MethodNode.class).getParameterTypes();