Class CheckstyleRefactorVisitor.Module

  • Enclosing class:
    CheckstyleRefactorVisitor

    protected static class CheckstyleRefactorVisitor.Module
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Module​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      boolean prop​(java.lang.String key, boolean defaultValue)  
      java.util.regex.Pattern prop​(java.lang.String key, java.util.regex.Pattern defaultValue)  
      <T> T propAsOptionValue​(java.util.function.Function<java.lang.String,​T> valueOf, T defaultValue)  
      <T extends java.lang.Enum<T>>
      java.util.Set<T>
      propAsTokens​(java.lang.Class<T> enumType, java.util.Set<T> defaultValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Module

        public Module​(java.lang.String name,
                      java.util.Map<java.lang.String,​java.lang.String> properties)
    • Method Detail

      • getName

        public java.lang.String getName()
      • prop

        public boolean prop​(java.lang.String key,
                            boolean defaultValue)
      • prop

        public java.util.regex.Pattern prop​(java.lang.String key,
                                            java.util.regex.Pattern defaultValue)
      • propAsTokens

        public <T extends java.lang.Enum<T>> java.util.Set<T> propAsTokens​(java.lang.Class<T> enumType,
                                                                           java.util.Set<T> defaultValue)
      • propAsOptionValue

        public <T> T propAsOptionValue​(java.util.function.Function<java.lang.String,​T> valueOf,
                                       T defaultValue)