/*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public interface Tools {
@NotNull
- InspectionToolWrapper getInspectionTool(PsiElement element);
+ InspectionToolWrapper getInspectionTool(@Nullable PsiElement element);
@NotNull
String getShortName();
@NotNull
List<ScopeToolState> getTools();
+ void collectTools(@NotNull List<ScopeToolState> result);
+
@NotNull
ScopeToolState getDefaultState();