| Package | Description |
|---|---|
| com.puppycrawl.tools.checkstyle.meta |
Contains module metadata generation classes for checkstyle.
|
| Modifier and Type | Field and Description |
|---|---|
private ModuleDetails |
JavadocMetadataScraper.moduleDetails
ModuleDetails instance for each module AST traversal.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.String,ModuleDetails> |
JavadocMetadataScraper.MODULE_DETAILS_STORE
Module details store used for testing.
|
| Modifier and Type | Method and Description |
|---|---|
static ModuleDetails |
XmlMetaReader.read(java.io.InputStream moduleMetadataStream,
ModuleType moduleType)
Read the module details from the supplied input stream of the module's XML metadata file.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.String,ModuleDetails> |
JavadocMetadataScraper.getModuleDetailsStore()
Getter method for
moduleDetailsStore. |
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.
|
| Modifier and Type | Method and Description |
|---|---|
private static void |
XmlMetaWriter.createPropertySection(ModuleDetails moduleDetails,
org.w3c.dom.Element checkModule,
org.w3c.dom.Document doc)
Create the property section of the module detail object.
|
private static void |
XmlMetaReader.populateModule(org.w3c.dom.Element mod,
ModuleDetails moduleDetails)
Populate the module detail object from XML metadata.
|
static void |
XmlMetaWriter.write(ModuleDetails moduleDetails)
Helper function to write module details to XML file.
|
private static void |
XmlMetaWriter.writeToFile(org.w3c.dom.Document document,
ModuleDetails moduleDetails)
Function to write the prepared document object into an XML file.
|
Copyright © 2001-2022. All Rights Reserved.