001package Torello.JavaDoc; 002 003import java.util.*; 004import java.util.function.*; 005 006import Torello.Java.ReadOnly.ReadOnlyMap; 007import Torello.Java.ReadOnly.ReadOnlyList; 008 009import Torello.HTML.HTMLNode; 010import Torello.HTML.TagNodeIndex; 011 012import Torello.Java.Additional.Ret6; 013 014import Torello.Java.Build.BuildPackage; 015 016import Torello.JDUInternal.FEATURES_SIMPLE.LinksChecker; 017 018import Torello.JDUInternal.DATA_RECORDS.MainLoopData.AnnotationsMirror; 019import Torello.JDUInternal.DATA_RECORDS.MainLoopData.JDHFHeaderFacts; 020 021import Torello.JDUInternal.OTHER.ParseJavaSource.JavaSourceCodeFile; 022 023import com.sun.source.tree.MethodTree; 024import com.sun.source.tree.VariableTree; 025import com.sun.source.tree.ClassTree; 026 027/** 028 * IMPORTANT NOTE: Have a "rocket science" moment, and accept that all this is doing is 029 * facilitating the "preservation" of the PACKAGE-PRIVATE levels of privacy on these methods, 030 * fields and constructors after "The Big Move" 031 * 032 * <BR /><BR /> 033 * Note that "The Big Move" was putting all of the classes that were deemed "HTML Processors" to 034 * sub-directories & sub-packages. Primary User-API classes (such as "JavaDocHTMLFile" and 035 * others like "ReflHTML") are still in the main-directory / main-package. 036 * 037 * <BR /><BR /> 038 * The only two options were to make all of these methods, fields and constructors public or to 039 * create this portal class!! 040 * 041 * <BR /><BR /> 042 * The reason keeping these methods, fields & constructors package-private is that once this 043 * the Upgrader is truly finished, "The API" that users see should make sense, and they shouldn't 044 * be bothered with internal coding/logic decisions that they aren't supposed to use. 045 * 046 * <BR /><BR /> 047 * The stuff "exported" below are used by the sub-packages, which are not exported to the API at 048 * all. The end user doesn't need to know a thing about any of these. <B>YES</B> it would be easy 049 * to cheat using these, but there is no point. The "readability" of the classes that are listed 050 * above is still preserved. Knock yourself out, there would be no point... 051 * 052 * <BR /><BR /> 053 * All "Details Sections" in this class have been removed. 054 */ 055@StaticFunctional 056public class EXPORT_PORTAL 057{ 058 private EXPORT_PORTAL() { } 059 060 061 // ******************************************************************************************** 062 // ******************************************************************************************** 063 // Stats 064 // ******************************************************************************************** 065 // ******************************************************************************************** 066 067 068 // INVOKED: RetrieveEmbedTagMapPropFiles.getPackageLocalEmbedTagMapPropFile 069 public static void Stats$registerPackage( 070 Stats stats, String packageName, ReadOnlyMap<String, String> packageTagsMap, 071 Stats topLevelStatsInstance 072 ) 073 { stats.registerPackage(packageName, packageTagsMap, topLevelStatsInstance); } 074 075 // INVOKED: EmbedTag.replaceEmbedTags 076 public static void Stats$incrementTag 077 (Stats stats, String packageName, String embedTag, boolean globalTagOrPackageTag) 078 { stats.incrementTag(packageName, embedTag, globalTagOrPackageTag); } 079 080 // INVOKED: DetailsFilesProcessor.run - NOTE: Stats.run is NOT STATIC 081 public static void Stats$run( 082 Stats stats, JavaSourceCodeFile jscf, JavaDocHTMLFile jdhf, 083 int numHLM, int numHLC, int numHLF, int numHLAE, int numHLEC, int numHLD 084 ) 085 { stats.run(jscf, jdhf, numHLM, numHLC, numHLF, numHLAE, numHLEC, numHLD); } 086 087 // INVOKED: MainFilesProcessor.PART_TWO_Do_The_Rest 088 public static boolean Stats$addStatsButton( 089 Vector<HTMLNode> navBarTop, Vector<HTMLNode> navBarBottom, 090 String dotDots, String packageName 091 ) 092 { return Stats.addStatsButton(navBarTop, navBarBottom, dotDots, packageName); } 093 094 // INVOKED: ExtraFilesProcessor.add 095 public static void Stats$addStatsButton 096 (Vector<HTMLNode> page, String dotDots, String packageName) 097 { Stats.addStatsButton(page, dotDots, packageName); } 098 099 100 // ******************************************************************************************** 101 // ******************************************************************************************** 102 // Declaration 103 // ******************************************************************************************** 104 // ******************************************************************************************** 105 106 107 // INVOKED: HiLiteDetails 108 public static String Declaration$codeHiLiteString(Declaration d) 109 { return d.codeHiLiteString(); } 110 111 112 // ******************************************************************************************** 113 // ******************************************************************************************** 114 // JavaDocHTMLFile 115 // ******************************************************************************************** 116 // ******************************************************************************************** 117 118 119 // INVOKED: MainFilesProcessor.PART_TWO_Do_The_Rest 120 public static void JavaDocHTMLFile$commitChanges(JavaDocHTMLFile jdhf) 121 { jdhf.commitChanges(); } 122 123 // INVOKED: MainFilesProcessor.PART_TWO_Do_The_Rest 124 public static Hashtable<String, Integer> JavaDocHTMLFile$checkValidity(JavaDocHTMLFile jdhf) 125 { return jdhf.checkValidity(); } 126 127 // INVOKED: MainFilesProcessor.PART_TWO_Do_The_Rest 128 public static void JavaDocHTMLFile$commitFileToDisk(JavaDocHTMLFile jdhf) 129 throws java.io.IOException 130 { jdhf.commitFileToDisk(); } 131 132 133 // ******************************************************************************************** 134 // ******************************************************************************************** 135 // SummaryTableHTML 136 // ******************************************************************************************** 137 // ******************************************************************************************** 138 139 140 // INVOKED: RearrangeEntitySummaries 141 public static <ENTITY extends Declaration> void SummaryTableHTML$setTableRows( 142 SummaryTableHTML<ENTITY> stHTML, Vector<Vector<HTMLNode>> tableRows, 143 Vector<ENTITY> rowEntities 144 ) 145 { stHTML.setTableRows(tableRows, rowEntities); } 146 147 // INVOKED: CleanSummaries, RearrangeEntitySummaries 148 public static Vector<HTMLNode> SummaryTableHTML$headerRow(SummaryTableHTML<?> stHTML) 149 { return stHTML.headerRow; } 150 151 // INVOKED: CSSTagsTopAndSumm 152 public static TagNodeIndex SummaryTableHTML$cinzelH3 (SummaryTableHTML<?> stHTML) 153 { return stHTML.cinzelH3; } 154 155 156 // ******************************************************************************************** 157 // ******************************************************************************************** 158 // PackageSummaryHTML 159 // ******************************************************************************************** 160 // ******************************************************************************************** 161 162 163 // INVOKED: Uranus 164 public static Torello.JDUInternal.FEATURES.SortTypes_FramesSummaries.PkgSort 165 PackageSummaryHTML$sorter(PackageSummaryHTML psHTML) 166 { return psHTML.sorter; } 167 168 169 // ******************************************************************************************** 170 // ******************************************************************************************** 171 // Stats 172 // ******************************************************************************************** 173 // ******************************************************************************************** 174 175 176 public static void Upgrade$registerEliminatedBuildPackages 177 (Upgrade upgrade, ReadOnlyList<BuildPackage> eliminatedBuildPackages) 178 { upgrade.registerEliminatedBuildPackages(eliminatedBuildPackages); } 179}