private void reassessModel(){
  if (this.modelParamTypes == null) {
    return;
  }
  for (  Class clazz : this.modelParamTypes) {
    if (clazz == null) {
      return;
    }
  }
  List<Class<? extends Object>> list1=new ArrayList<>();
  for (  SessionNode node : this.parents) {
    Object model=node.getModel();
    if (model != null) {
      list1.add(model.getClass());
    }
  }
  List<Class> list2=Arrays.asList(this.modelParamTypes);
  if (!list1.contains(list2) || !list2.contains(list1)) {
    destroyModel();
  }
}

private void reassessModel ( ) { if ( this . modelParamTypes == null ) { return ; } for ( Class clazz : this . modelParamTypes ) { if ( clazz == null ) { return ; } } List < Class < ? extends Object > > list1 = new ArrayList < > ( ) ; for ( SessionNode node : this . parents ) { Object model = node . getModel ( ) ; if ( model != null ) { list1 . add ( model . getClass ( ) ) ; } } List < Class > list2 = Arrays . asList ( this . modelParamTypes ) ; if ( ! list1 . contains ( list2 ) || ! list2 . contains ( list1 ) ) { destroyModel ( ) ; } }
reassesses whether the getmodel model is permitted in light of the destruction of one of the parent models .
