system/src/sc/lang/java/JavaModel.java
public JavaModel resolveModel() {
      // Once we've been transformed, the parentNode of the type becomes the transformed model so this logic no longer works.
      if (transformed)
         return this;
      BodyTypeDeclaration modelType = getLayerTypeDeclaration();
      if (modelType == null)
         return this;
      return modelType.getJavaModel();
   }
/** Resolves through any deleted copies of the model only.  Does not go up the layer stack and return the most specific model for this type. */
Resolves through any deleted copies of the model only.  Does not go up the layer stack and return the most specific model for this type.
Resolves through any deleted copies of the model only . Does not go up the layer stack and return the most specific model for this type .
public JavaModel resolveModel() {
      if (transformed)
         return this;
      BodyTypeDeclaration modelType = getLayerTypeDeclaration();
      if (modelType == null)
         return this;
      return modelType.getJavaModel();
   }
public JavaModel resolveModel ( ) { if ( transformed ) return this ; BodyTypeDeclaration modelType = getLayerTypeDeclaration ( ) ; if ( modelType == null ) return this ; return modelType . getJavaModel ( ) ; }
Resolves through any deleted copies of the model only.
Resolves through any deleted copies of the model only .
// Once we've been transformed, the parentNode of the type becomes the transformed model so this logic no longer works.