system/src/sc/lang/java/AbstractMethodDefinition.java
public Object callVirtual(Object thisObj, Object... values) {
      if (thisObj == null || hasModifier("static"))
         return call(thisObj, values);
      Object type = DynUtil.getType(thisObj);
      Object method;
      method = ModelUtil.getMethodFromSignature(type, name, getTypeSignature(), true);
      if (method == null)
         throw new UnsupportedOperationException();
      if (method == this)
         return call(thisObj, values);
      return ModelUtil.callMethod(thisObj, method, values);
   }
/** 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 callVirtual(Object thisObj, Object... values) {
      if (thisObj == null || hasModifier("static"))
         return call(thisObj, values);
      Object type = DynUtil.getType(thisObj);
      Object method;
      method = ModelUtil.getMethodFromSignature(type, name, getTypeSignature(), true);
      if (method == null)
         throw new UnsupportedOperationException();
      if (method == this)
         return call(thisObj, values);
      return ModelUtil.callMethod(thisObj, method, values);
   }
public Object callVirtual ( Object thisObj , Object ... values ) { if ( thisObj == null || hasModifier ( "static" ) ) return call ( thisObj , values ) ; Object type = DynUtil . getType ( thisObj ) ; Object method ; method = ModelUtil . getMethodFromSignature ( type , name , getTypeSignature ( ) , true ) ; if ( method == null ) throw new UnsupportedOperationException ( ) ; if ( method == this ) return call ( thisObj , values ) ; return ModelUtil . callMethod ( thisObj , method , values ) ; }
Calls this method externally with the given this
Calls this method externally with the given this