私用存取子(Private Accessor) 才能间接呼叫这种具有存取限制的程式码。
基于20个网页-相关网页
private accessor
私有访问器
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Create Private accessor, and select the test project that requires the accessor.
“创建专用访问器”,并选择需要访问器的测试项目。
youdao
Add the private keyword before the val or var keyword and the accessor methods won't be generated.
在val或者var之前加上private关键字,访问器方法就不会被生成。
应用推荐
模块上移
模块下移
不移动