001    package org.junit.runner;
002    
003    public final class FilterFactoryParams {
004        private final Description topLevelDescription;
005        private final String args;
006    
007        public FilterFactoryParams(Description topLevelDescription, String args) {
008            if (args == null || topLevelDescription == null) {
009                throw new NullPointerException();
010            }
011    
012            this.topLevelDescription = topLevelDescription;
013            this.args = args;
014        }
015    
016        public String getArgs() {
017            return args;
018        }
019    
020        public Description getTopLevelDescription() {
021            return topLevelDescription;
022        }
023    }