@Override
  Collection<Path> getAllAssetDirs() {
    ApkAssets[] apkAssetsArray = reflector(_AssetManager28_.class, realAssetManager).getApkAssets();

    ArrayList<Path> assetDirs = new ArrayList<>();
    for (ApkAssets apkAssets : apkAssetsArray) {
      long apk_assets_native_ptr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr();
      CppApkAssets cppApkAssets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(apk_assets_native_ptr);

      if (new File(cppApkAssets.GetPath()).isFile()) {
        assetDirs.add(Fs.forJar(Paths.get(cppApkAssets.GetPath())).getPath("assets"));
      } else {
        assetDirs.add(Paths.get(cppApkAssets.GetPath()));
      }
    }
    return assetDirs;
  }
@Override
  Collection<Path> getAllAssetDirs() {
    ApkAssets[] apkAssetsArray = reflector(_AssetManager28_.class, realAssetManager).getApkAssets();

    ArrayList<Path> assetDirs = new ArrayList<>();
    for (ApkAssets apkAssets : apkAssetsArray) {
      long apk_assets_native_ptr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr();
      CppApkAssets cppApkAssets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(apk_assets_native_ptr);

      if (new File(cppApkAssets.GetPath()).isFile()) {
        assetDirs.add(Fs.forJar(Paths.get(cppApkAssets.GetPath())).getPath("assets"));
      } else {
        assetDirs.add(Paths.get(cppApkAssets.GetPath()));
      }
    }
    return assetDirs;
  }
@ Override Collection < Path > getAllAssetDirs ( ) { ApkAssets [ ] apkAssetsArray = reflector ( _AssetManager28_ . class , realAssetManager ) . getApkAssets ( ) ; ArrayList < Path > assetDirs = new ArrayList <> ( ) ; for ( ApkAssets apkAssets : apkAssetsArray ) { long apk_assets_native_ptr = ( ( ShadowArscApkAssets9 ) Shadow . extract ( apkAssets ) ) . getNativePtr ( ) ; CppApkAssets cppApkAssets = Registries . NATIVE_APK_ASSETS_REGISTRY . getNativeObject ( apk_assets_native_ptr ) ; if ( new File ( cppApkAssets . GetPath ( ) ) . isFile ( ) ) { assetDirs . add ( Fs . forJar ( Paths . get ( cppApkAssets . GetPath ( ) ) ) . getPath ( "assets" ) ) ; } else { assetDirs . add ( Paths . get ( cppApkAssets . GetPath ( ) ) ) ; } } return assetDirs ; }
}
}