static void addProperty(StructuralPropertyDescriptor property,List propertyList){
  Class nodeClass=(Class)propertyList.get(0);
  if (property.getNodeClass() != nodeClass) {
    throw new RuntimeException("Structural property descriptor has wrong node class!");
  }
  propertyList.add(property);
}

static void addProperty ( StructuralPropertyDescriptor property , List propertyList ) { Class nodeClass = ( Class ) propertyList . get ( 0 ) ; if ( property . getNodeClass ( ) != nodeClass ) { throw new RuntimeException ( "Structural property descriptor has wrong node class!" ) ; } propertyList . add ( property ) ; }
internal helper method that adding a property descriptor .
