메서드 이름은 --mapping 플래그를 사용하여 변경할 수 있습니다. 이 플래그는
매핑을 사용합니다. 각 메서드 매핑은 키의 전체 Java 메서드 서명으로 정의됩니다.
Objective-C 선택기 값이어야 합니다. 예를 들어 Object.Equals()를 NSObject.isEqual에 매핑하는 줄은 다음과 같습니다.
다음과 같습니다.
[null,null,["최종 업데이트: 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"]]