workaround for gcj bug regarding static methods and members