@Test public void testGetFileName() throws Exception { assertEquals("201a6b3053cc1422d2c3670b62616221d2290929.class.o", Config.getFileName("Foo", "class.o", 0)); assertEquals("201a6b3053cc1422d2c3670b62616221d2290929.class.o", Config.getFileName("Foo", "class.o", 1)); assertEquals("201a6b3053cc1422d2c3670b62616221d2290929.class.o", Config.getFileName("Foo", "class.o", 10)); assertEquals("Foo.class.o", Config.getFileName("Foo", "class.o", 11)); assertEquals("com/example/201a6b3053cc1422d2c3670b62616221d2290929.class.o", Config.getFileName("com/example/Foo", "class.o", 0)); assertEquals("com/example/201a6b3053cc1422d2c3670b62616221d2290929.class.o", Config.getFileName("com/example/Foo", "class.o", 1)); assertEquals("com/example/201a6b3053cc1422d2c3670b62616221d2290929.class.o", Config.getFileName("com/example/Foo", "class.o", 10)); assertEquals("com/example/Foo.class.o", Config.getFileName("com/example/Foo", "class.o", 11)); assertEquals("com/example/AB9ca44297c0e0d22df654119dce73ee52d3d51c71.class.o", Config.getFileName("com/example/ABCDEFGIHJABCDEFGIHJABCDEFGIHJABCDEFGIHJABCDEFGIHJ", "class.o", 50)); }
static String getFileName(Clazz clazz, String ext) { return getFileName(clazz.getInternalName(), ext, MAX_FILE_NAME_LENGTH); }
Config { static String getFileName(Clazz clazz, String ext) { return getFileName(clazz.getInternalName(), ext, MAX_FILE_NAME_LENGTH); } }
Config { static String getFileName(Clazz clazz, String ext) { return getFileName(clazz.getInternalName(), ext, MAX_FILE_NAME_LENGTH); } protected  Config(); }
Config { static String getFileName(Clazz clazz, String ext) { return getFileName(clazz.getInternalName(), ext, MAX_FILE_NAME_LENGTH); } protected  Config(); Builder builder(); Home getHome(); File getInstallDir(); String getExecutableName(); String getImageName(); File getExecutablePath(); File getImagePath(); File getCacheDir(); File getCcBinPath(); OS getOs(); Arch getArch(); List<Arch> getArchs(); String getTriple(); String getClangTriple(); DataLayout getDataLayout(); boolean isClean(); boolean isDebug(); boolean isUseDebugLibs(); boolean isDumpIntermediates(); boolean isSkipRuntimeLib(); boolean isSkipLinking(); boolean isSkipInstall(); int getThreads(); File getMainJar(); String getMainClass(); Cacerts getCacerts(); List<Path> getResourcesPaths(); void addResourcesPath(Path path); DependencyGraph getDependencyGraph(); File getTmpDir(); List<String> getForceLinkClasses(); List<String> getExportedSymbols(); List<String> getUnhideSymbols(); List<Lib> getLibs(); List<String> getFrameworks(); List<String> getWeakFrameworks(); List<File> getFrameworkPaths(); List<Resource> getResources(); File getOsArchDepLibDir(); Clazzes getClazzes(); VTable.Cache getVTableCache(); ITable.Cache getITableCache(); MarshalerLookup getMarshalerLookup(); List<CompilerPlugin> getCompilerPlugins(); List<LaunchPlugin> getLaunchPlugins(); List<TargetPlugin> getTargetPlugins(); List<Plugin> getPlugins(); List<String> getPluginArguments(); List<File> getBootclasspath(); List<File> getClasspath(); Properties getProperties(); Logger getLogger(); Target getTarget(); String getTargetType(); TreeShakerMode getTreeShakerMode(); String getIosSdkVersion(); String getIosDeviceType(); InfoPList getIosInfoPList(); InfoPList getInfoPList(); File getIosEntitlementsPList(); SigningIdentity getIosSignIdentity(); ProvisioningProfile getIosProvisioningProfile(); boolean isIosSkipSigning(); Tools getTools(); String getArchiveName(Path path); File getLlFile(Clazz clazz); File getCFile(Clazz clazz); File getBcFile(Clazz clazz); File getSFile(Clazz clazz); File getOFile(Clazz clazz); File getLinesOFile(Clazz clazz); File getLinesLlFile(Clazz clazz); File getInfoFile(Clazz clazz); File getCacheDir(Path path); File getGeneratedClassDir(Path path); }
Config { static String getFileName(Clazz clazz, String ext) { return getFileName(clazz.getInternalName(), ext, MAX_FILE_NAME_LENGTH); } protected  Config(); Builder builder(); Home getHome(); File getInstallDir(); String getExecutableName(); String getImageName(); File getExecutablePath(); File getImagePath(); File getCacheDir(); File getCcBinPath(); OS getOs(); Arch getArch(); List<Arch> getArchs(); String getTriple(); String getClangTriple(); DataLayout getDataLayout(); boolean isClean(); boolean isDebug(); boolean isUseDebugLibs(); boolean isDumpIntermediates(); boolean isSkipRuntimeLib(); boolean isSkipLinking(); boolean isSkipInstall(); int getThreads(); File getMainJar(); String getMainClass(); Cacerts getCacerts(); List<Path> getResourcesPaths(); void addResourcesPath(Path path); DependencyGraph getDependencyGraph(); File getTmpDir(); List<String> getForceLinkClasses(); List<String> getExportedSymbols(); List<String> getUnhideSymbols(); List<Lib> getLibs(); List<String> getFrameworks(); List<String> getWeakFrameworks(); List<File> getFrameworkPaths(); List<Resource> getResources(); File getOsArchDepLibDir(); Clazzes getClazzes(); VTable.Cache getVTableCache(); ITable.Cache getITableCache(); MarshalerLookup getMarshalerLookup(); List<CompilerPlugin> getCompilerPlugins(); List<LaunchPlugin> getLaunchPlugins(); List<TargetPlugin> getTargetPlugins(); List<Plugin> getPlugins(); List<String> getPluginArguments(); List<File> getBootclasspath(); List<File> getClasspath(); Properties getProperties(); Logger getLogger(); Target getTarget(); String getTargetType(); TreeShakerMode getTreeShakerMode(); String getIosSdkVersion(); String getIosDeviceType(); InfoPList getIosInfoPList(); InfoPList getInfoPList(); File getIosEntitlementsPList(); SigningIdentity getIosSignIdentity(); ProvisioningProfile getIosProvisioningProfile(); boolean isIosSkipSigning(); Tools getTools(); String getArchiveName(Path path); File getLlFile(Clazz clazz); File getCFile(Clazz clazz); File getBcFile(Clazz clazz); File getSFile(Clazz clazz); File getOFile(Clazz clazz); File getLinesOFile(Clazz clazz); File getLinesLlFile(Clazz clazz); File getInfoFile(Clazz clazz); File getCacheDir(Path path); File getGeneratedClassDir(Path path);  }