simple runtime conditions classes for java