Source:
private static java.util.List < com.google.currysrc.api.process.Rule > createTransformRules ( ) throws java.io.IOException { com.google.currysrc.api.process.Rule [ ] repackageRules = com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.getRepackagingRules ( ) ; com.google.currysrc.api.process.Rule [ ] apiDocsRules = new com.google.currysrc.api.process.Rule [ ] { com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createReplaceSelectedJavadocRule ( ) , com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.google.currysrc.processors.ReplaceTextCommentScanner ( com.android.icu4j.srcgen.Icu4jTransform.ORIGINAL_ICU_PACKAGE , com.android.icu4j.srcgen.Icu4jTransform.ANDROID_ICU_PACKAGE ) ) , com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createHidePublicClassesRule ( ) , com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createHideOriginalDeprecatedClassesRule ( ) , com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.android.icu4j.srcgen.HideDraftProvisionalInternal ( ) ) , com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createFixupBidiClassDocRule ( ) , com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.google.currysrc.processors.RemoveJavaDocTags ( "@stable" , "@draft" , "@provisional" , "@internal" , "@since" ) ) , com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.android.icu4j.srcgen.ReplaceIcuTags ( ) ) , com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createTranslateJciteInclusionRule ( ) } ; java.util.List < com.google.currysrc.api.process.Rule > rulesList = com.google.common.collect.Lists.newArrayList ( repackageRules ) ; rulesList.addAll ( java.util.Arrays.asList ( apiDocsRules ) ) ; rulesList.add ( com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.google.currysrc.processors.HidePublicClasses ( java.util.Collections.< com.google.currysrc.api.process.ast.TypeLocator > emptyList ( ) , "All android.icu classes are currently hidden" ) ) ) ; return rulesList ; }

Target:
private static java.util.List < com.google.currysrc.api.process.Rule > createTransformRules ( ) throws java.io.IOException { com.google.currysrc.api.process.Rule [ ] repackageRules = com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.getRepackagingRules ( ) ; com.google.currysrc.api.process.Rule [ ] apiDocsRules = new com.google.currysrc.api.process.Rule [ ] { com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createReplaceSelectedJavadocRule ( ) , com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.google.currysrc.processors.ReplaceTextCommentScanner ( com.android.icu4j.srcgen.Icu4jTransform.ORIGINAL_ICU_PACKAGE , com.android.icu4j.srcgen.Icu4jTransform.ANDROID_ICU_PACKAGE ) ) , com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createHidePublicClassesRule ( ) , com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createHideOriginalDeprecatedClassesRule ( ) , com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.android.icu4j.srcgen.HideDraftProvisionalInternal ( ) ) , com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createFixupBidiClassDocRule ( ) , com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.google.currysrc.processors.RemoveJavaDocTags ( "@stable" , "@draft" , "@provisional" , "@internal" , "@since" ) ) , com.android.icu4j.srcgen.Icu4jTransformRules.createOptionalRule ( new com.android.icu4j.srcgen.ReplaceIcuTags ( ) ) , com.android.icu4j.srcgen.Icu4jTransform.Icu4jRules.createTranslateJciteInclusionRule ( ) } ; java.util.List < com.google.currysrc.api.process.Rule > rulesList = com.google.common.collect.Lists.newArrayList ( repackageRules ) ; rulesList.addAll ( java.util.Arrays.asList ( apiDocsRules ) ) ; return rulesList ; }