तरीके के नाम --मैपिंग फ़्लैग का इस्तेमाल करके बदले जा सकते हैं, जो प्रॉपर्टी फ़ाइल को
मैपिंग का उपयोग कर सकते हैं. हर तरीके को मैप करने के लिए, कुंजी के लिए पूरे Java तरीके के हस्ताक्षर का इस्तेमाल किया जाता है और
Objective-C सिलेक्टर की वैल्यू. उदाहरण के लिए, Object.equals() को NSObject.isEqual पर मैप करने वाली लाइन:
यह है:
बाईं ओर दिए गए एलान में, हस्ताक्षर करने के पूरे तरीके का इस्तेमाल किया गया है, जैसा कि Java Virtual Machine में तय किया गया है
खास जानकारी. दाईं ओर
हैंड डेफ़िनिशन में iOS सिलेक्टर होता है (यानी कि @selector() को क्या भेजा जाता है).
तरीके और इसकी मैपिंग में पैरामीटर की संख्या बराबर होनी चाहिए.
एक अन्य उदाहरण के तौर पर, यह लाइन पिछले सेक्शन में दिए गए उदाहरण के बराबर है:
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["The `@ObjectiveCName` annotation renames Java methods in their Objective-C translation. The annotation's string value defines the desired Objective-C selector, excluding parameter types and names. Alternatively, the `--mapping` flag utilizes a properties file to map Java method signatures to Objective-C selectors. Each mapping specifies the full Java method signature on the left and the Objective-C selector on the right. Multiple mapping files can be provided. Mapped methods must have the same number of parameters.\n"]]