system/src/sc/lang/java/AbstractMethodDefinition.java
public Object call(Object thisObj, Object... values) {
      ExecutionContext ctx = new ExecutionContext(getJavaModel());
      if (thisObj != null)
         ctx.pushCurrentObject(thisObj);
      else {
         BodyTypeDeclaration enclType = getEnclosingType();
         enclType.staticInit();
      }
      try {
         return invoke(ctx, Arrays.asList(values));
      }
      finally {
         if (thisObj != null)
            ctx.popCurrentObject();
      }
   }
/** Calls this method externally with the given this */
Calls this method externally with the given this
Calls this method externally with the given this
public Object call(Object thisObj, Object... values) {
      ExecutionContext ctx = new ExecutionContext(getJavaModel());
      if (thisObj != null)
         ctx.pushCurrentObject(thisObj);
      else {
         BodyTypeDeclaration enclType = getEnclosingType();
         enclType.staticInit();
      }
      try {
         return invoke(ctx, Arrays.asList(values));
      }
      finally {
         if (thisObj != null)
            ctx.popCurrentObject();
      }
   }
public Object call ( Object thisObj , Object ... values ) { ExecutionContext ctx = new ExecutionContext ( getJavaModel ( ) ) ; if ( thisObj != null ) ctx . pushCurrentObject ( thisObj ) ; else { BodyTypeDeclaration enclType = getEnclosingType ( ) ; enclType . staticInit ( ) ; } try { return invoke ( ctx , Arrays . asList ( values ) ) ; } finally { if ( thisObj != null ) ctx . popCurrentObject ( ) ; } }
Calls this method externally with the given this
Calls this method externally with the given this