add sample valid java class