+ private void analyze_length(Expr indexbound) {
+ Set descriptors=indexbound.getRequiredDescriptors();
+ for(Iterator it=descriptors.iterator();it.hasNext();) {
+ Descriptor d=(Descriptor)it.next();
+ if (d instanceof FieldDescriptor) {
+ state.noupdate.add(d);
+ } else if (d instanceof ArrayDescriptor) {
+ state.noupdate.add(d);
+ } else if (d instanceof VarDescriptor) {
+ state.noupdate.add(d);
+ }
+ }
+ }
+