Cannot Access Current Before Initialization In Java