1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | package Torello.JavaDoc; import java.util.*; import java.util.function.*; import Torello.Java.ReadOnly.ReadOnlyMap; import Torello.Java.ReadOnly.ReadOnlyList; import Torello.HTML.HTMLNode; import Torello.HTML.TagNodeIndex; import Torello.Java.Additional.Ret6; import Torello.Java.Build.BuildPackage; import Torello.JDUInternal.FEATURES_SIMPLE.LinksChecker; import Torello.JDUInternal.DATA_RECORDS.MainLoopData.AnnotationsMirror; import Torello.JDUInternal.DATA_RECORDS.MainLoopData.JDHFHeaderFacts; import Torello.JDUInternal.OTHER.ParseJavaSource.JavaSourceCodeFile; import com.sun.source.tree.MethodTree; import com.sun.source.tree.VariableTree; import com.sun.source.tree.ClassTree; /** * IMPORTANT NOTE: Have a "rocket science" moment, and accept that all this is doing is * facilitating the "preservation" of the PACKAGE-PRIVATE levels of privacy on these methods, * fields and constructors after "The Big Move" * * <BR /><BR /> * Note that "The Big Move" was putting all of the classes that were deemed "HTML Processors" to * sub-directories & sub-packages. Primary User-API classes (such as "JavaDocHTMLFile" and * others like "ReflHTML") are still in the main-directory / main-package. * * <BR /><BR /> * The only two options were to make all of these methods, fields and constructors public or to * create this portal class!! * * <BR /><BR /> * The reason keeping these methods, fields & constructors package-private is that once this * the Upgrader is truly finished, "The API" that users see should make sense, and they shouldn't * be bothered with internal coding/logic decisions that they aren't supposed to use. * * <BR /><BR /> * The stuff "exported" below are used by the sub-packages, which are not exported to the API at * all. The end user doesn't need to know a thing about any of these. <B>YES</B> it would be easy * to cheat using these, but there is no point. The "readability" of the classes that are listed * above is still preserved. Knock yourself out, there would be no point... * * <BR /><BR /> * All "Details Sections" in this class have been removed. */ @StaticFunctional public class EXPORT_PORTAL { private EXPORT_PORTAL() { } // ******************************************************************************************** // ******************************************************************************************** // Stats // ******************************************************************************************** // ******************************************************************************************** // INVOKED: RetrieveEmbedTagMapPropFiles.getPackageLocalEmbedTagMapPropFile public static void Stats$registerPackage( Stats stats, String packageName, ReadOnlyMap<String, String> packageTagsMap, Stats topLevelStatsInstance ) { stats.registerPackage(packageName, packageTagsMap, topLevelStatsInstance); } // INVOKED: EmbedTag.replaceEmbedTags public static void Stats$incrementTag (Stats stats, String packageName, String embedTag, boolean globalTagOrPackageTag) { stats.incrementTag(packageName, embedTag, globalTagOrPackageTag); } // INVOKED: DetailsFilesProcessor.run - NOTE: Stats.run is NOT STATIC public static void Stats$run( Stats stats, JavaSourceCodeFile jscf, JavaDocHTMLFile jdhf, int numHLM, int numHLC, int numHLF, int numHLAE, int numHLEC, int numHLD ) { stats.run(jscf, jdhf, numHLM, numHLC, numHLF, numHLAE, numHLEC, numHLD); } // INVOKED: MainFilesProcessor.PART_TWO_Do_The_Rest public static boolean Stats$addStatsButton( Vector<HTMLNode> navBarTop, Vector<HTMLNode> navBarBottom, String dotDots, String packageName ) { return Stats.addStatsButton(navBarTop, navBarBottom, dotDots, packageName); } // INVOKED: ExtraFilesProcessor.add public static void Stats$addStatsButton (Vector<HTMLNode> page, String dotDots, String packageName) { Stats.addStatsButton(page, dotDots, packageName); } // ******************************************************************************************** // ******************************************************************************************** // Declaration // ******************************************************************************************** // ******************************************************************************************** // INVOKED: HiLiteDetails public static String Declaration$codeHiLiteString(Declaration d) { return d.codeHiLiteString(); } // ******************************************************************************************** // ******************************************************************************************** // JavaDocHTMLFile // ******************************************************************************************** // ******************************************************************************************** // INVOKED: MainFilesProcessor.PART_TWO_Do_The_Rest public static void JavaDocHTMLFile$commitChanges(JavaDocHTMLFile jdhf) { jdhf.commitChanges(); } // INVOKED: MainFilesProcessor.PART_TWO_Do_The_Rest public static Hashtable<String, Integer> JavaDocHTMLFile$checkValidity(JavaDocHTMLFile jdhf) { return jdhf.checkValidity(); } // INVOKED: MainFilesProcessor.PART_TWO_Do_The_Rest public static void JavaDocHTMLFile$commitFileToDisk(JavaDocHTMLFile jdhf) throws java.io.IOException { jdhf.commitFileToDisk(); } // ******************************************************************************************** // ******************************************************************************************** // SummaryTableHTML // ******************************************************************************************** // ******************************************************************************************** // INVOKED: RearrangeEntitySummaries public static <ENTITY extends Declaration> void SummaryTableHTML$setTableRows( SummaryTableHTML<ENTITY> stHTML, Vector<Vector<HTMLNode>> tableRows, Vector<ENTITY> rowEntities ) { stHTML.setTableRows(tableRows, rowEntities); } // INVOKED: CleanSummaries, RearrangeEntitySummaries public static Vector<HTMLNode> SummaryTableHTML$headerRow(SummaryTableHTML<?> stHTML) { return stHTML.headerRow; } // INVOKED: CSSTagsTopAndSumm public static TagNodeIndex SummaryTableHTML$cinzelH3 (SummaryTableHTML<?> stHTML) { return stHTML.cinzelH3; } // ******************************************************************************************** // ******************************************************************************************** // PackageSummaryHTML // ******************************************************************************************** // ******************************************************************************************** // INVOKED: Uranus public static Torello.JDUInternal.FEATURES.SortTypes_FramesSummaries.PkgSort PackageSummaryHTML$sorter(PackageSummaryHTML psHTML) { return psHTML.sorter; } // ******************************************************************************************** // ******************************************************************************************** // Stats // ******************************************************************************************** // ******************************************************************************************** public static void Upgrade$registerEliminatedBuildPackages (Upgrade upgrade, ReadOnlyList<BuildPackage> eliminatedBuildPackages) { upgrade.registerEliminatedBuildPackages(eliminatedBuildPackages); } } |