tweak style
inline subclass in java