public void validate(){
  final List<ValidationException> exceptionList=new ArrayList<ValidationException>();
  validate(exceptionList);
  if (!exceptionList.isEmpty())   throw exceptionList.get(0);
}

public void validate ( ) { final List < ValidationException > exceptionList = new ArrayList < ValidationException > ( ) ; validate ( exceptionList ) ; if ( ! exceptionList . isEmpty ( ) ) throw exceptionList . get ( 0 ) ; }
validates this sootclass for logical errors . note that this does not validate the method bodies , only the class structure .
