public static boolean ensureInlinability(SootMethod target,Stmt toInline,SootMethod container,String modifierOptions){
  if (!InlinerSafetyManager.canSafelyInlineInto(target,toInline,container)) {
    return false;
  }
  if (!AccessManager.ensureAccess(container,target,modifierOptions)) {
    return false;
  }
  if (!checkSpecialInlineRestrictions(container,target,modifierOptions)) {
    return false;
  }
  if (!checkAccessRestrictions(container,target,modifierOptions)) {
    return false;
  }
  return true;
}

public static boolean ensureInlinability ( SootMethod target , Stmt toInline , SootMethod container , String modifierOptions ) { if ( ! InlinerSafetyManager . canSafelyInlineInto ( target , toInline , container ) ) { return false ; } if ( ! AccessManager . ensureAccess ( container , target , modifierOptions ) ) { return false ; } if ( ! checkSpecialInlineRestrictions ( container , target , modifierOptions ) ) { return false ; } if ( ! checkAccessRestrictions ( container , target , modifierOptions ) ) { return false ; } return true ; }
returns true if this method can be inlined at the given site . will try as hard as it can to change things to allow inlining ( modifieroptions controls what it ' s allowed to do : safe , unsafe and nochanges ) returns false otherwise .
