I'm confused about the word “against” in such sentence












0















This sentence extract from Spring document which is a developing framework of program language JAVA.




However, once the call has finally reached the target object, the
SimplePojo reference in this case, any method calls that it may make
on itself, such as this.bar() or this.foo(), are going to be invoked
against the this reference, and not the proxy.




The translation software trans the meaning as "don't use proxy, but use this (this is a program term)". but the word against in my thought is used for indicate opposite, I don't understand.



And why there is an and after the comma to lead the last sentence? this should be a transition if the translation software is right, why not but?










share|improve this question



























    0















    This sentence extract from Spring document which is a developing framework of program language JAVA.




    However, once the call has finally reached the target object, the
    SimplePojo reference in this case, any method calls that it may make
    on itself, such as this.bar() or this.foo(), are going to be invoked
    against the this reference, and not the proxy.




    The translation software trans the meaning as "don't use proxy, but use this (this is a program term)". but the word against in my thought is used for indicate opposite, I don't understand.



    And why there is an and after the comma to lead the last sentence? this should be a transition if the translation software is right, why not but?










    share|improve this question

























      0












      0








      0








      This sentence extract from Spring document which is a developing framework of program language JAVA.




      However, once the call has finally reached the target object, the
      SimplePojo reference in this case, any method calls that it may make
      on itself, such as this.bar() or this.foo(), are going to be invoked
      against the this reference, and not the proxy.




      The translation software trans the meaning as "don't use proxy, but use this (this is a program term)". but the word against in my thought is used for indicate opposite, I don't understand.



      And why there is an and after the comma to lead the last sentence? this should be a transition if the translation software is right, why not but?










      share|improve this question














      This sentence extract from Spring document which is a developing framework of program language JAVA.




      However, once the call has finally reached the target object, the
      SimplePojo reference in this case, any method calls that it may make
      on itself, such as this.bar() or this.foo(), are going to be invoked
      against the this reference, and not the proxy.




      The translation software trans the meaning as "don't use proxy, but use this (this is a program term)". but the word against in my thought is used for indicate opposite, I don't understand.



      And why there is an and after the comma to lead the last sentence? this should be a transition if the translation software is right, why not but?







      meaning






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 5 hours ago









      scottscott

      51




      51






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Like so much technical documentation, that passage could use some serious editing.



          This is a non-standard use of against. It bears some resemblance to this common use of against:




          7 c: as a charge on

          // charged against her account



          https://www.merriam-webster.com/dictionary/against




          What the author seems to have meant was that the method will be called on the instance of the class (which the this keyword references), rather than on the instance of the proxy.



          The author has a reasonable grasp of English, so I assume that he or she was simply looking for a way to avoid writing "call on" again. Otherwise the sentence would be something like: "...any method calls that are called on itself...are going to be called on the this reference..."



          Really, the sentence should have been rephrased.






          share|improve this answer
























          • it's so awkward, I still spent some time to figure out what as a charge on mean, actually I still have some doubt, haha. And I'm sure I have searched against on merriam-webster, but I ignored that entry because I don't understand that, seems I have so many words to learn, haha.

            – scott
            4 hours ago













          • @scott, like I said, this is not a normal use of against and that definition I provided doesn't actually cover this use - not in my mind, anyway. I was really just speculating about how the writer would have decided to use against. If "charge against" is still unclear to you, take a look at this link: idioms.thefreedictionary.com/charge+against

            – Juhasz
            3 hours ago











          • thank you so much for your explanation, that example make me more clearer, and the site looks pretty good. now I feel "via" or "through" maybe suitable for above context too.

            – scott
            1 hour ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "97"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fenglish.stackexchange.com%2fquestions%2f489355%2fim-confused-about-the-word-against-in-such-sentence%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Like so much technical documentation, that passage could use some serious editing.



          This is a non-standard use of against. It bears some resemblance to this common use of against:




          7 c: as a charge on

          // charged against her account



          https://www.merriam-webster.com/dictionary/against




          What the author seems to have meant was that the method will be called on the instance of the class (which the this keyword references), rather than on the instance of the proxy.



          The author has a reasonable grasp of English, so I assume that he or she was simply looking for a way to avoid writing "call on" again. Otherwise the sentence would be something like: "...any method calls that are called on itself...are going to be called on the this reference..."



          Really, the sentence should have been rephrased.






          share|improve this answer
























          • it's so awkward, I still spent some time to figure out what as a charge on mean, actually I still have some doubt, haha. And I'm sure I have searched against on merriam-webster, but I ignored that entry because I don't understand that, seems I have so many words to learn, haha.

            – scott
            4 hours ago













          • @scott, like I said, this is not a normal use of against and that definition I provided doesn't actually cover this use - not in my mind, anyway. I was really just speculating about how the writer would have decided to use against. If "charge against" is still unclear to you, take a look at this link: idioms.thefreedictionary.com/charge+against

            – Juhasz
            3 hours ago











          • thank you so much for your explanation, that example make me more clearer, and the site looks pretty good. now I feel "via" or "through" maybe suitable for above context too.

            – scott
            1 hour ago
















          1














          Like so much technical documentation, that passage could use some serious editing.



          This is a non-standard use of against. It bears some resemblance to this common use of against:




          7 c: as a charge on

          // charged against her account



          https://www.merriam-webster.com/dictionary/against




          What the author seems to have meant was that the method will be called on the instance of the class (which the this keyword references), rather than on the instance of the proxy.



          The author has a reasonable grasp of English, so I assume that he or she was simply looking for a way to avoid writing "call on" again. Otherwise the sentence would be something like: "...any method calls that are called on itself...are going to be called on the this reference..."



          Really, the sentence should have been rephrased.






          share|improve this answer
























          • it's so awkward, I still spent some time to figure out what as a charge on mean, actually I still have some doubt, haha. And I'm sure I have searched against on merriam-webster, but I ignored that entry because I don't understand that, seems I have so many words to learn, haha.

            – scott
            4 hours ago













          • @scott, like I said, this is not a normal use of against and that definition I provided doesn't actually cover this use - not in my mind, anyway. I was really just speculating about how the writer would have decided to use against. If "charge against" is still unclear to you, take a look at this link: idioms.thefreedictionary.com/charge+against

            – Juhasz
            3 hours ago











          • thank you so much for your explanation, that example make me more clearer, and the site looks pretty good. now I feel "via" or "through" maybe suitable for above context too.

            – scott
            1 hour ago














          1












          1








          1







          Like so much technical documentation, that passage could use some serious editing.



          This is a non-standard use of against. It bears some resemblance to this common use of against:




          7 c: as a charge on

          // charged against her account



          https://www.merriam-webster.com/dictionary/against




          What the author seems to have meant was that the method will be called on the instance of the class (which the this keyword references), rather than on the instance of the proxy.



          The author has a reasonable grasp of English, so I assume that he or she was simply looking for a way to avoid writing "call on" again. Otherwise the sentence would be something like: "...any method calls that are called on itself...are going to be called on the this reference..."



          Really, the sentence should have been rephrased.






          share|improve this answer













          Like so much technical documentation, that passage could use some serious editing.



          This is a non-standard use of against. It bears some resemblance to this common use of against:




          7 c: as a charge on

          // charged against her account



          https://www.merriam-webster.com/dictionary/against




          What the author seems to have meant was that the method will be called on the instance of the class (which the this keyword references), rather than on the instance of the proxy.



          The author has a reasonable grasp of English, so I assume that he or she was simply looking for a way to avoid writing "call on" again. Otherwise the sentence would be something like: "...any method calls that are called on itself...are going to be called on the this reference..."



          Really, the sentence should have been rephrased.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 4 hours ago









          JuhaszJuhasz

          1,889210




          1,889210













          • it's so awkward, I still spent some time to figure out what as a charge on mean, actually I still have some doubt, haha. And I'm sure I have searched against on merriam-webster, but I ignored that entry because I don't understand that, seems I have so many words to learn, haha.

            – scott
            4 hours ago













          • @scott, like I said, this is not a normal use of against and that definition I provided doesn't actually cover this use - not in my mind, anyway. I was really just speculating about how the writer would have decided to use against. If "charge against" is still unclear to you, take a look at this link: idioms.thefreedictionary.com/charge+against

            – Juhasz
            3 hours ago











          • thank you so much for your explanation, that example make me more clearer, and the site looks pretty good. now I feel "via" or "through" maybe suitable for above context too.

            – scott
            1 hour ago



















          • it's so awkward, I still spent some time to figure out what as a charge on mean, actually I still have some doubt, haha. And I'm sure I have searched against on merriam-webster, but I ignored that entry because I don't understand that, seems I have so many words to learn, haha.

            – scott
            4 hours ago













          • @scott, like I said, this is not a normal use of against and that definition I provided doesn't actually cover this use - not in my mind, anyway. I was really just speculating about how the writer would have decided to use against. If "charge against" is still unclear to you, take a look at this link: idioms.thefreedictionary.com/charge+against

            – Juhasz
            3 hours ago











          • thank you so much for your explanation, that example make me more clearer, and the site looks pretty good. now I feel "via" or "through" maybe suitable for above context too.

            – scott
            1 hour ago

















          it's so awkward, I still spent some time to figure out what as a charge on mean, actually I still have some doubt, haha. And I'm sure I have searched against on merriam-webster, but I ignored that entry because I don't understand that, seems I have so many words to learn, haha.

          – scott
          4 hours ago







          it's so awkward, I still spent some time to figure out what as a charge on mean, actually I still have some doubt, haha. And I'm sure I have searched against on merriam-webster, but I ignored that entry because I don't understand that, seems I have so many words to learn, haha.

          – scott
          4 hours ago















          @scott, like I said, this is not a normal use of against and that definition I provided doesn't actually cover this use - not in my mind, anyway. I was really just speculating about how the writer would have decided to use against. If "charge against" is still unclear to you, take a look at this link: idioms.thefreedictionary.com/charge+against

          – Juhasz
          3 hours ago





          @scott, like I said, this is not a normal use of against and that definition I provided doesn't actually cover this use - not in my mind, anyway. I was really just speculating about how the writer would have decided to use against. If "charge against" is still unclear to you, take a look at this link: idioms.thefreedictionary.com/charge+against

          – Juhasz
          3 hours ago













          thank you so much for your explanation, that example make me more clearer, and the site looks pretty good. now I feel "via" or "through" maybe suitable for above context too.

          – scott
          1 hour ago





          thank you so much for your explanation, that example make me more clearer, and the site looks pretty good. now I feel "via" or "through" maybe suitable for above context too.

          – scott
          1 hour ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to English Language & Usage Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fenglish.stackexchange.com%2fquestions%2f489355%2fim-confused-about-the-word-against-in-such-sentence%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:香港粉麵

          List *all* the tuples!

          Channel [V]