protected Class convertToClass(Type type) {
protected Class convertToClass(Type type, NodeEvaluation evaluation) {
    protected Class convertToClass(Type type) {        // First extract any candidate type from Wildcards and Paramterized types        if (type instanceof ParameterizedType) {            type = ((ParameterizedType) type).getRawType();        }        else if (type instanceof WildcardType) {            WildcardType wtype = (WildcardType) type;            Type[] bounds = wtype.getLowerBounds();            if (bounds.length == 0) {                bounds = wtype.getUpperBounds();            }            if (bounds.length > 0) {                type = bounds[0];            }        }        // And now that we should have a single type, try and get a Class        if (type instanceof Class) {            return (Class) type;        }        else {            // TODO: take in declaring class and use type variables/params to figure out class            return null;        }    }