Uses of Class
com.puppycrawl.tools.checkstyle.meta.ModuleDetails
-
Packages that use ModuleDetails Package Description com.puppycrawl.tools.checkstyle.meta Contains module metadata generation classes for checkstyle. -
-
Uses of ModuleDetails in com.puppycrawl.tools.checkstyle.meta
Fields in com.puppycrawl.tools.checkstyle.meta declared as ModuleDetails Modifier and Type Field Description private ModuleDetailsJavadocMetadataScraper. moduleDetailsModuleDetails instance for each module AST traversal.Fields in com.puppycrawl.tools.checkstyle.meta with type parameters of type ModuleDetails Modifier and Type Field Description private static java.util.Map<java.lang.String,ModuleDetails>JavadocMetadataScraper. MODULE_DETAILS_STOREModule details store used for testing.Methods in com.puppycrawl.tools.checkstyle.meta that return ModuleDetails Modifier and Type Method Description static ModuleDetailsXmlMetaReader. read(java.io.InputStream moduleMetadataStream, ModuleType moduleType)Read the module details from the supplied input stream of the module's XML metadata file.Methods in com.puppycrawl.tools.checkstyle.meta that return types with arguments of type ModuleDetails Modifier and Type Method Description static java.util.Map<java.lang.String,ModuleDetails>JavadocMetadataScraper. getModuleDetailsStore()Getter method formoduleDetailsStore.static java.util.List<ModuleDetails>XmlMetaReader. readAllModulesIncludingThirdPartyIfAny(java.lang.String... thirdPartyPackages)Utility to load all the metadata files present in the checkstyle JAR including third parties' module metadata files.Methods in com.puppycrawl.tools.checkstyle.meta with parameters of type ModuleDetails Modifier and Type Method Description private static voidXmlMetaWriter. createPropertySection(ModuleDetails moduleDetails, org.w3c.dom.Element checkModule, org.w3c.dom.Document doc)Create the property section of the module detail object.private static voidXmlMetaReader. populateModule(org.w3c.dom.Element mod, ModuleDetails moduleDetails)Populate the module detail object from XML metadata.static voidXmlMetaWriter. write(ModuleDetails moduleDetails)Helper function to write module details to XML file.private static voidXmlMetaWriter. writeToFile(org.w3c.dom.Document document, ModuleDetails moduleDetails)Function to write the prepared document object into an XML file.
-