For static loads there's the static initializer that could be triggered (http://docs.oracle.com/javase/specs/jls/se7/html/jls-12.html#jls-12.4.1)