system/src/sc/lang/java/IdentifierExpression.java
public boolean isReferenceInitializer() {
      List<IString> idents = getAllIdentifiers();
      if (idents == null)
         return false;

      if (isStatic())
          return false;
      // TODO: should we use isStaticTarget here so that a static field or final field can be initialized sooner?  Otherwise, work
      // done in the constructor won't see essentially static/constant field initializations and that can be a real problem
      referenceInitializer = arguments == null || idents.size() > 1 || bindingDirection != null;
      return referenceInitializer;
   }
// We'll exclude simple method calls, but even simple variable references should move (?)
We'll exclude simple method calls, but even simple variable references should move (?)
We ' ll exclude simple method calls but even simple variable references should move ( ? )
public boolean isReferenceInitializer() {
      List<IString> idents = getAllIdentifiers();
      if (idents == null)
         return false;
      if (isStatic())
          return false;
      referenceInitializer = arguments == null || idents.size() > 1 || bindingDirection != null;
      return referenceInitializer;
   }
public boolean isReferenceInitializer ( ) { List < IString > idents = getAllIdentifiers ( ) ; if ( idents == null ) return false ; if ( isStatic ( ) ) return false ; referenceInitializer = arguments == null || idents . size ( ) > 1 || bindingDirection != null ; return referenceInitializer ; }
We'll exclude simple method calls, but even simple variable references should move (?)
We ' ll exclude simple method calls but even simple variable references should move ( ? )
// TODO: should we use isStaticTarget here so that a static field or final field can be initialized sooner?  Otherwise, work // done in the constructor won't see essentially static/constant field initializations and that can be a real problem