Home
last modified time | relevance | path

Searched refs:checkConfiguration (Results 1 – 5 of 5) sorted by relevance

/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DJvmPlatform.java165 checkConfiguration(homeDir.isDirectory(), "%s is not a directory", homeDir);
170 checkConfiguration(potentialHomeDir.isDirectory(), "%s is not a directory",
176 checkConfiguration(homeDir.isDirectory(), "%s is not a directory", potentialHomeDir);
189 checkConfiguration(baseDirectory.isAbsolute(), "base directory cannot be a relative path");
190 checkConfiguration(baseDirectory.isDirectory(), "base directory must be a directory");
195 private static void checkConfiguration(boolean check, String message)
202 private static void checkConfiguration(boolean check, String messageFormat, Object... args)
/external/guice/core/src/com/google/inject/internal/
DRealMultibinder.java4 import static com.google.inject.internal.Errors.checkConfiguration;
94 checkConfiguration(!bindingSelection.isInitialized(), "Multibinder was already initialized"); in configure()
119 checkConfiguration(!bindingSelection.isInitialized(), "Multibinder was already initialized"); in getKeyForNewItem()
392 checkConfiguration(isInitialized, "not initialized"); in getBindings()
397 checkConfiguration(isInitialized, "not initialized"); in getParameterInjectors()
DRealMapBinder.java5 import static com.google.inject.internal.Errors.checkConfiguration;
266 checkConfiguration(!bindingSelection.isInitialized(), "MapBinder was already initialized"); in permitDuplicates()
274 checkConfiguration(!bindingSelection.isInitialized(), "MapBinder was already initialized"); in getKeyForNewValue()
297 checkConfiguration(!bindingSelection.isInitialized(), "MapBinder was already initialized"); in configure()
646 checkConfiguration(isInitialized(), "MapBinder has not yet been initialized"); in getMapBindings()
651 checkConfiguration(isInitialized(), "MapBinder has not yet been initialized"); in getMultimapBindings()
656 checkConfiguration(isInitialized(), "MapBinder has not yet been initialized"); in getEntries()
DRealOptionalBinder.java21 import static com.google.inject.internal.Errors.checkConfiguration;
606 checkConfiguration(!initialized, "already initialized"); in checkNotInitialized()
DErrors.java92 static void checkConfiguration(boolean condition, String format, Object... args) { in checkConfiguration() method in Errors