public static Variable[] getDeclaredVariables(Class<?> type) {
        if (!isGeneratedClass(type))
            return new Variable[0];
        if (type.isInterface())
            return getVariables(type);
        return getVariables(getNewInstance(type));
    }
public static Variable [ ] getDeclaredVariables ( Class < ? > type ) { if ( ! isGeneratedClass ( type ) ) return new Variable [ 0 ] ; if ( type . isInterface ( ) ) return getVariables ( type ) ; return getVariables ( getNewInstance ( type ) ) ; }
/*
Get all variables from both class static and object instance namespaces