Class ImportNameFilter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean blacklist  
      private java.util.Set<java.lang.String> projectNames  
    • Constructor Summary

      Constructors 
      Constructor Description
      ImportNameFilter​(java.lang.String[] allowedNames)
      Default constructor for a whitelist based filtering.
      ImportNameFilter​(java.lang.String[] declarationNames, boolean blacklist)
      Constructor which can be used for white or black list based filtering.
    • Field Detail

      • projectNames

        private java.util.Set<java.lang.String> projectNames
      • blacklist

        private boolean blacklist
    • Constructor Detail

      • ImportNameFilter

        public ImportNameFilter​(java.lang.String[] allowedNames)
        Default constructor for a whitelist based filtering.
        Parameters:
        allowedNames - A whitelist of allowed names, others will be deleted.
      • ImportNameFilter

        public ImportNameFilter​(java.lang.String[] declarationNames,
                                boolean blacklist)
        Constructor which can be used for white or black list based filtering.
        Parameters:
        declarationNames - Names which shall be filtered.
        blacklist - true the given names will be filtered out and all others will be kept (blacklist filtering), false the given names will be kept and all others will be filtered out (whitelist filtering).