cleanup: remove 'public' modifier from constructors in non-public classes (IDEA-195931)

public constructors in non-public classes may be confusing, and removing them makes code shorter.
This commit is contained in:
nik
2018-09-06 16:49:46 +03:00
parent 28a24134b2
commit 0be3657ad0
1306 changed files with 1871 additions and 1871 deletions
@@ -174,7 +174,7 @@ public final class RegExpCompletionContributor extends CompletionContributor {
private final boolean myEmbrace;
public NamedCharacterCompletionProvider(boolean embrace) {
NamedCharacterCompletionProvider(boolean embrace) {
myEmbrace = embrace;
}
@@ -50,7 +50,7 @@ public class RegExpLexer extends LookAheadLexer {
private static final int CAPTURING_GROUPS = 1 << 16;
private final EnumSet<RegExpCapability> myCapabilities;
public FlexRegExpLexer(EnumSet<RegExpCapability> capabilities) {
FlexRegExpLexer(EnumSet<RegExpCapability> capabilities) {
super(new _RegExLexer(capabilities));
myCapabilities = capabilities;
}
@@ -49,7 +49,7 @@ public class AnonymousGroupInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
public AnonymousGroupVisitor(ProblemsHolder holder) {
AnonymousGroupVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -42,7 +42,7 @@ public class DuplicateAlternationBranchInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
private final boolean myIsOnTheFly;
public DuplicateAlternationBranchVisitor(ProblemsHolder holder, boolean isOnTheFly) {
DuplicateAlternationBranchVisitor(ProblemsHolder holder, boolean isOnTheFly) {
myHolder = holder;
myIsOnTheFly = isOnTheFly;
}
@@ -33,7 +33,7 @@ public class EmptyAlternationBranchInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
public EmptyAlternationBranchVisitor(ProblemsHolder holder) {
EmptyAlternationBranchVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -52,7 +52,7 @@ public class EscapedMetaCharacterInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
public EscapedMetaCharacterVisitor(ProblemsHolder holder) {
EscapedMetaCharacterVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -35,7 +35,7 @@ public class OctalEscapeInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
public OctalEscapeVisitor(ProblemsHolder holder) {
OctalEscapeVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -57,7 +57,7 @@ public class OctalEscapeInspection extends LocalInspectionTool {
private static class ReplaceWithHexEscapeFix implements LocalQuickFix {
private final String myHex;
public ReplaceWithHexEscapeFix(String hex) {
ReplaceWithHexEscapeFix(String hex) {
myHex = hex;
}
@@ -48,7 +48,7 @@ public class ReDoSInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
public ReDoSVisitor(ProblemsHolder holder) {
ReDoSVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -37,7 +37,7 @@ public class RedundantEscapeInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
public RedundantEscapeVisitor(ProblemsHolder holder) {
RedundantEscapeVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -53,7 +53,7 @@ public class RepeatedSpaceInspection extends LocalInspectionTool {
private RegExpChar myFirstChar = null;
private boolean quoted = false;
public RepeatedSpaceVisitor(ProblemsHolder holder) {
RepeatedSpaceVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -108,7 +108,7 @@ public class RepeatedSpaceInspection extends LocalInspectionTool {
private static class RepeatedSpaceFix implements LocalQuickFix {
private final int myCount;
public RepeatedSpaceFix(int count) {
RepeatedSpaceFix(int count) {
myCount = count;
}
@@ -38,7 +38,7 @@ public class SingleCharAlternationInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
public SingleCharAlternationVisitor(ProblemsHolder holder) {
SingleCharAlternationVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -65,7 +65,7 @@ public class SingleCharAlternationInspection extends LocalInspectionTool {
private final String myText;
public SingleCharAlternationFix(String text) {
SingleCharAlternationFix(String text) {
myText = text;
}
@@ -36,7 +36,7 @@ public class UnexpectedAnchorInspection extends LocalInspectionTool {
private final ProblemsHolder myHolder;
public UnexpectedAnchorVisitor(ProblemsHolder holder) {
UnexpectedAnchorVisitor(ProblemsHolder holder) {
myHolder = holder;
}
@@ -39,7 +39,7 @@ class GroupSurrounder implements Surrounder {
private final String myTitle;
private final String myGroupStart;
public GroupSurrounder(String title, String groupStart) {
GroupSurrounder(String title, String groupStart) {
myTitle = title;
myGroupStart = groupStart;
}
@@ -33,7 +33,7 @@ class SimplifyQuantifierAction implements IntentionAction {
private final RegExpQuantifier myQuantifier;
private final String myReplacement;
public SimplifyQuantifierAction(RegExpQuantifier quantifier, String s) {
SimplifyQuantifierAction(RegExpQuantifier quantifier, String s) {
myQuantifier = quantifier;
myReplacement = s;
}
@@ -308,7 +308,7 @@ public class ArtifactRepositoryManager {
private static class ArtifactWithChangedClassifier extends DelegatingArtifact {
private final String myClassifier;
public ArtifactWithChangedClassifier(Artifact artifact, String classifier) {
ArtifactWithChangedClassifier(Artifact artifact, String classifier) {
super(artifact);
myClassifier = classifier;
}
@@ -331,7 +331,7 @@ public class ArtifactRepositoryManager {
private final ArtifactKind myKind;
private final List<ArtifactRequest> myRequests = new ArrayList<>();
public ArtifactRequestBuilder(ArtifactKind kind) {
ArtifactRequestBuilder(ArtifactKind kind) {
myKind = kind;
}
@@ -362,7 +362,7 @@ public class ArtifactRepositoryManager {
private static class ExcludeDependenciesFilter implements DependencyFilter {
private final HashSet<String> myExcludedDependencies;
public ExcludeDependenciesFilter(List<String> excludedDependencies) {
ExcludeDependenciesFilter(List<String> excludedDependencies) {
myExcludedDependencies = new HashSet<>(excludedDependencies);
}
@@ -385,7 +385,7 @@ public class ArtifactRepositoryManager {
private static class ArtifactDependencyTreeBuilder implements DependencyVisitor {
private final List<List<ArtifactDependencyNode>> myCurrentChildren = new ArrayList<>();
public ArtifactDependencyTreeBuilder() {
ArtifactDependencyTreeBuilder() {
myCurrentChildren.add(new ArrayList<>());
}
@@ -293,7 +293,7 @@ final class ImageEditorUI extends JPanel implements DataProvider, CopyProvider,
private final class ImageContainerPane extends JBLayeredPane {
private final ImageComponent imageComponent;
public ImageContainerPane(final ImageComponent imageComponent) {
ImageContainerPane(final ImageComponent imageComponent) {
this.imageComponent = imageComponent;
add(imageComponent);
@@ -649,7 +649,7 @@ final class ImageEditorUI extends JPanel implements DataProvider, CopyProvider,
private static class ImageTransferable implements Transferable {
private final BufferedImage myImage;
public ImageTransferable(@NotNull BufferedImage image) {
ImageTransferable(@NotNull BufferedImage image) {
myImage = image;
}
@@ -17,7 +17,7 @@ final class ExternalEditorOptionsImpl implements ExternalEditorOptions, JDOMExte
private final PropertyChangeSupport propertyChangeSupport;
private String executablePath;
public ExternalEditorOptionsImpl(PropertyChangeSupport propertyChangeSupport) {
ExternalEditorOptionsImpl(PropertyChangeSupport propertyChangeSupport) {
this.propertyChangeSupport = propertyChangeSupport;
}
@@ -223,7 +223,7 @@ final class ImagesOptionsComponent {
private final class TextDocumentOptionsListener extends DocumentAdapter {
private final String name;
public TextDocumentOptionsListener(String name) {
TextDocumentOptionsListener(String name) {
this.name = name;
}
@@ -84,7 +84,7 @@ public final class FilterByTagActionGroup extends ActionGroup implements PopupAc
private final ThumbnailView myView;
private final TagFilter myFilter;
public MyToggleAction(ThumbnailView view, TagFilter filter) {
MyToggleAction(ThumbnailView view, TagFilter filter) {
super(filter.getDisplayName());
myView = view;
myFilter = filter;
@@ -31,7 +31,7 @@ final class ThumbnailManagerImpl extends ThumbnailManager implements Disposable
private final Project project;
private ThumbnailView thumbnailView;
public ThumbnailManagerImpl(Project project) {
ThumbnailManagerImpl(Project project) {
this.project = project;
}
@@ -24,7 +24,7 @@ import org.intellij.images.thumbnail.ThumbnailManager;
import org.intellij.images.thumbnail.ThumbnailView;
final class ThumbnailSelectInTarget implements SelectInTarget {
public ThumbnailSelectInTarget() {
ThumbnailSelectInTarget() {
}
@Override
@@ -36,7 +36,7 @@ final class ThumbnailViewImpl implements ThumbnailView {
private ThemeFilter myFilter;
private TagFilter[] myTagFilters;
public ThumbnailViewImpl(Project project) {
ThumbnailViewImpl(Project project) {
this.project = project;
ToolWindowManager windowManager = ToolWindowManager.getInstance(project);
@@ -95,7 +95,7 @@ final class ThumbnailViewUI extends JPanel implements DataProvider, Disposable {
private DefaultListModel<String> listModel;
private Splitter previewSplitter;
public ThumbnailViewUI(ThumbnailViewImpl thumbnailView) {
ThumbnailViewUI(ThumbnailViewImpl thumbnailView) {
super(new BorderLayout());
this.thumbnailView = thumbnailView;
@@ -637,7 +637,7 @@ final class ThumbnailViewUI extends JPanel implements DataProvider, Disposable {
private final class ThumbnailNavigatable implements Navigatable {
private final VirtualFile file;
public ThumbnailNavigatable(VirtualFile file) {
ThumbnailNavigatable(VirtualFile file) {
this.file = file;
}
@@ -257,7 +257,7 @@ public class ImageComponent extends JComponent {
return image != null ? new Rectangle(image.getWidth(), image.getHeight()) : null;
});
public ImageDocumentImpl(Component component) {
ImageDocumentImpl(Component component) {
myComponent = component;
myComponent.addPropertyChangeListener(new PropertyChangeListener() {
@Override
@@ -98,7 +98,7 @@ public class CommonsImagingImageReaderSpi extends ImageReaderSpi {
private static class MyByteSource extends ByteSource {
private final ImageInputStream myStream;
public MyByteSource(final ImageInputStream stream) {
MyByteSource(final ImageInputStream stream) {
super(stream.toString());
myStream = stream;
}
@@ -227,7 +227,7 @@ public class AsmCodeGenerator {
private int myCreateComponentsAccess;
private final boolean myExplicitSetupCall;
public FormClassVisitor(final ClassVisitor cv, final boolean explicitSetupCall) {
FormClassVisitor(final ClassVisitor cv, final boolean explicitSetupCall) {
super(ASM_API_VERSION, cv);
myExplicitSetupCall = explicitSetupCall;
}
@@ -900,7 +900,7 @@ public class AsmCodeGenerator {
private boolean mySetupCalled = false;
private boolean mySuperCalled = false;
public FormConstructorVisitor(final MethodVisitor mv, final String className, final String superName) {
FormConstructorVisitor(final MethodVisitor mv, final String className, final String superName) {
super(ASM_API_VERSION, mv);
myClassName = className;
mySuperName = superName;
@@ -961,7 +961,7 @@ public class AsmCodeGenerator {
private static class FirstPassClassVisitor extends ClassVisitor {
private boolean myExplicitSetupCall = false;
public FirstPassClassVisitor() {
FirstPassClassVisitor() {
super(ASM_API_VERSION, new ClassVisitor(ASM_API_VERSION) {});
}
@@ -978,7 +978,7 @@ public class AsmCodeGenerator {
}
private class FirstPassConstructorVisitor extends FailSafeMethodVisitor {
public FirstPassConstructorVisitor() {
FirstPassConstructorVisitor() {
super(ASM_API_VERSION, new MethodVisitor(ASM_API_VERSION){});
}
@@ -295,7 +295,7 @@ public class BuildArtifactAction extends DumbAwareAction {
private final Project myProject;
private final ArtifactAwareProjectSettingsService mySettingsService;
public ChooseArtifactStep(List<ArtifactPopupItem> artifacts,
ChooseArtifactStep(List<ArtifactPopupItem> artifacts,
Artifact first,
Project project, final ArtifactAwareProjectSettingsService settingsService) {
super("Build Artifact", artifacts);
@@ -250,7 +250,7 @@ public class ModuleChunkClasspath extends Path {
*
* @param value primary value of the element
*/
public ClasspathItem(String value) {
ClasspathItem(String value) {
myValue = value;
}
@@ -275,7 +275,7 @@ public class ModuleChunkClasspath extends Path {
* @param value primary value of the element
* @param generator a generator to use
*/
public GeneratorItem(String value, final Generator generator) {
GeneratorItem(String value, final Generator generator) {
super(value);
myGenerator = generator;
}
@@ -295,7 +295,7 @@ public class ModuleChunkClasspath extends Path {
*
* @param value a referenced location
*/
public PathElementItem(String value) {
PathElementItem(String value) {
super(value);
}
@@ -331,7 +331,7 @@ public class ModuleChunkClasspath extends Path {
*
* @param value an indentifier of referenced classpath
*/
public PathRefItem(String value) {
PathRefItem(String value) {
super(value);
}
@@ -28,7 +28,7 @@ import org.jetbrains.annotations.NotNull;
* @author Eugene Zhuravlev
*/
class CompilerPropertiesAction extends AnAction {
public CompilerPropertiesAction() {
CompilerPropertiesAction() {
super(CompilerBundle.message("action.compiler.properties.text"), null, AllIcons.General.Settings);
}
@@ -39,7 +39,7 @@ class ExcludeFromCompileAction extends AnAction {
private final Project myProject;
private final NewErrorTreeViewPanel myErrorTreeView;
public ExcludeFromCompileAction(Project project, NewErrorTreeViewPanel errorTreeView) {
ExcludeFromCompileAction(Project project, NewErrorTreeViewPanel errorTreeView) {
super(CompilerBundle.message("actions.exclude.from.compile.text"));
myProject = project;
myErrorTreeView = errorTreeView;
@@ -96,7 +96,7 @@ public class FileProcessingCompilerStateCache {
private final long myTimestamp;
private final ValidityState myExtState;
public MyState(long timestamp, @Nullable ValidityState extState) {
MyState(long timestamp, @Nullable ValidityState extState) {
myTimestamp = timestamp;
myExtState = extState;
}
@@ -290,7 +290,7 @@ public class GenericCompilerRunner {
private class SourceItemHashingStrategy<S> implements TObjectHashingStrategy<S> {
private final KeyDescriptor<S> myKeyDescriptor;
public SourceItemHashingStrategy(GenericCompiler<S, ?, ?> compiler) {
SourceItemHashingStrategy(GenericCompiler<S, ?, ?> compiler) {
myKeyDescriptor = compiler.getItemKeyDescriptor();
}
@@ -158,7 +158,7 @@ public class TreeBasedMap<T> {
private final Stack<PathElement<T>> myCurrentNodePath = new Stack<PathElement<T>>();
private final StringBuilder myCurrentName = new StringBuilder();
public KeysIterator() {
KeysIterator() {
pushNode("", myRoot);
findNextNode();
}
@@ -232,7 +232,7 @@ public class TreeBasedMap<T> {
private class PathElement<T> {
final @NotNull Iterator<String> iterator;
final @NotNull Node<T> node;
public PathElement(@NotNull final Node<T> node, Iterator<String> iterator) {
PathElement(@NotNull final Node<T> node, Iterator<String> iterator) {
this.node = node;
this.iterator = iterator;
}
@@ -119,7 +119,7 @@ public class GenericCompilerCache<Key, SourceState, OutputState> {
private class SourceItemDataDescriptor implements KeyDescriptor<KeyAndTargetData<Key>> {
private final KeyDescriptor<Key> myKeyDescriptor;
public SourceItemDataDescriptor(KeyDescriptor<Key> keyDescriptor) {
SourceItemDataDescriptor(KeyDescriptor<Key> keyDescriptor) {
myKeyDescriptor = keyDescriptor;
}
@@ -152,7 +152,7 @@ public class GenericCompilerCache<Key, SourceState, OutputState> {
private final DataExternalizer<SourceState> mySourceStateExternalizer;
private final DataExternalizer<OutputState> myOutputStateExternalizer;
public PersistentStateDataExternalizer(GenericCompiler<Key,SourceState,OutputState> compiler) {
PersistentStateDataExternalizer(GenericCompiler<Key,SourceState,OutputState> compiler) {
mySourceStateExternalizer = compiler.getSourceStateExternalizer();
myOutputStateExternalizer = compiler.getOutputStateExternalizer();
}
@@ -199,7 +199,7 @@ public class AnnotationProcessorsPanel extends JPanel {
}
private class MyTreeModel extends DefaultTreeModel implements EditableTreeModel{
public MyTreeModel() {
MyTreeModel() {
super(new RootNode());
}
@@ -314,7 +314,7 @@ public class AnnotationProcessorsPanel extends JPanel {
private final ProcessorConfigProfile myProfile;
private final boolean myIsDefault;
public ProfileNode(ProcessorConfigProfile profile, RootNode parent, boolean isDefault) {
ProfileNode(ProcessorConfigProfile profile, RootNode parent, boolean isDefault) {
super(profile);
setParent(parent);
myIsDefault = isDefault;
@@ -355,7 +355,7 @@ public class AnnotationProcessorsPanel extends JPanel {
}
private static class MyModuleNode extends DefaultMutableTreeNode {
public MyModuleNode(Module module, ProfileNode parent) {
MyModuleNode(Module module, ProfileNode parent) {
super(module);
setParent(parent);
setAllowsChildren(false);
@@ -18,7 +18,7 @@ public class ModuleOptionsTableModel extends AbstractTableModel implements ItemR
private final Module module;
private String option;
public Item(Module module) {
Item(Module module) {
this(module, "");
}
@@ -35,7 +35,7 @@ class AutoMakeMessageHandler extends DefaultMessageHandler {
private volatile boolean myUnprocessedFSChangesDetected = false;
private final AutomakeCompileContext myContext;
public AutoMakeMessageHandler(Project project) {
AutoMakeMessageHandler(Project project) {
super(project);
myProject = project;
myBuildStatus = CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status.SUCCESS;
@@ -21,7 +21,7 @@ package com.intellij.compiler.server;
class PreloadedProcessMessageHandler extends DelegatingMessageHandler {
private volatile BuilderMessageHandler myDelegateHandler;
public PreloadedProcessMessageHandler() {
PreloadedProcessMessageHandler() {
}
@Override
@@ -94,7 +94,7 @@ public class InspectionValidatorWrapper implements Validator {
private final PsiManager myPsiManager;
private PsiElementsValidityState myValidityState;
public MyValidatorProcessingItem(@NotNull final PsiFile psiFile) {
MyValidatorProcessingItem(@NotNull final PsiFile psiFile) {
myVirtualFile = psiFile.getVirtualFile();
myPsiManager = psiFile.getManager();
}
@@ -145,7 +145,7 @@ public class JarArtifactFromModulesDialog extends DialogWrapper {
}
private static class ModuleListRenderer extends ListCellRendererWrapper<Module> {
public ModuleListRenderer(JComboBox comboBox) {
ModuleListRenderer(JComboBox comboBox) {
super();
}
@@ -21,7 +21,7 @@ package com.intellij.packaging.impl.artifacts;
class UnknownPackagingElementTypeException extends Exception {
private final String myTypeId;
public UnknownPackagingElementTypeException(String typeId) {
UnknownPackagingElementTypeException(String typeId) {
myTypeId = typeId;
}
@@ -106,7 +106,7 @@ public class JpsProjectTaskRunner extends ProjectTaskRunner {
final boolean includeRuntimeDependencies;
final Collection<Module> modules;
public ModulesBuildSettings(boolean isIncrementalBuild,
ModulesBuildSettings(boolean isIncrementalBuild,
boolean includeDependentModules,
boolean includeRuntimeDependencies,
Collection<Module> modules) {
@@ -466,7 +466,7 @@ public class InstrumentationClassFinder {
private final List<Loader> myLoaders = new ArrayList<Loader>();
private final Map<URL,Loader> myLoadersMap = new HashMap<URL, Loader>();
public ClassFinderClasspath(URL[] urls) {
ClassFinderClasspath(URL[] urls) {
if (urls.length > 0) {
for (int i = urls.length - 1; i >= 0; i--) {
myUrls.push(urls[i]);
@@ -604,7 +604,7 @@ public class Javac2 extends Javac {
private final List<PrefixedPath> myNestedFormPathList;
private final HashMap<String, LwRootContainer> myFormCache = new HashMap<String, LwRootContainer>();
public AntNestedFormLoader(final ClassLoader loader, List nestedFormPathList) {
AntNestedFormLoader(final ClassLoader loader, List nestedFormPathList) {
myLoader = loader;
myNestedFormPathList = nestedFormPathList;
}
@@ -125,7 +125,7 @@ public class ExcludedEntriesConfigurable implements UnnamedConfigurable, NoScrol
private JButton myRemoveButton;
private JBTable myExcludedTable;
public ExcludedEntriesPanel() {
ExcludedEntriesPanel() {
initPanel();
}
@@ -363,7 +363,7 @@ public class ExcludedEntriesConfigurable implements UnnamedConfigurable, NoScrol
private static class BooleanRenderer extends JCheckBox implements TableCellRenderer {
private final JPanel myPanel = new JPanel();
public BooleanRenderer() {
BooleanRenderer() {
setHorizontalAlignment(CENTER);
}
@@ -394,7 +394,7 @@ public class ExcludedEntriesConfigurable implements UnnamedConfigurable, NoScrol
}
private class MyObjectRenderer extends DefaultTableCellRenderer {
public MyObjectRenderer() {
MyObjectRenderer() {
setUI(new RightAlignedLabelUI());
}
@@ -95,7 +95,7 @@ LIne read: #[wrote C:\temp\rmiTest\classes\mycompany\TTT.class]#
private static class MyJavacParserAction extends JavacParserAction {
private String myExpected;
public MyJavacParserAction(Matcher matcher) {
MyJavacParserAction(Matcher matcher) {
super(matcher);
}
@@ -102,7 +102,7 @@ public class CaptureStorage {
private final Object myKey;
private final int myHash;
public HardKey(Object key) {
HardKey(Object key) {
myKey = key;
myHash = System.identityHashCode(key);
}
@@ -121,7 +121,7 @@ public class CaptureStorage {
private final int myHash;
private final CapturedStack myValue;
public WeakKey(Object key, CapturedStack value, ReferenceQueue q) {
WeakKey(Object key, CapturedStack value, ReferenceQueue q) {
//noinspection unchecked
super(key, q);
myHash = System.identityHashCode(key);
@@ -165,7 +165,7 @@ public class CaptureStorage {
private static class UnwindCapturedStack implements CapturedStack {
final List<StackTraceElement> myStackTraceElements;
public UnwindCapturedStack(List<StackTraceElement> elements) {
UnwindCapturedStack(List<StackTraceElement> elements) {
myStackTraceElements = elements;
}
@@ -203,7 +203,7 @@ public class CaptureStorage {
final CapturedStack myInsertMatch;
final int myRecursionDepth;
public DeepCapturedStack(Throwable exception, CapturedStack insertMatch) {
DeepCapturedStack(Throwable exception, CapturedStack insertMatch) {
super(exception);
myInsertMatch = insertMatch;
myRecursionDepth = insertMatch.getRecursionDepth() + 1;
@@ -187,7 +187,7 @@ public class CaptureAgent {
private final Map<String, String> myFields = new HashMap<String, String>();
private String mySuperName;
public CaptureInstrumentor(int api, ClassVisitor cv, List<InstrumentPoint> instrumentPoints) {
CaptureInstrumentor(int api, ClassVisitor cv, List<InstrumentPoint> instrumentPoints) {
super(api, cv);
this.myInstrumentPoints = instrumentPoints;
}
@@ -356,7 +356,7 @@ public class CaptureAgent {
final String myMethodDesc;
final KeyProvider myKeyProvider;
public InstrumentPoint(boolean capture, String className, String methodName, String methodDesc, KeyProvider keyProvider) {
InstrumentPoint(boolean capture, String className, String methodName, String methodDesc, KeyProvider keyProvider) {
myCapture = capture;
myClassName = className;
myMethodName = methodName;
@@ -485,7 +485,7 @@ public class CaptureAgent {
private final String myClassName;
private final String myFieldName;
public FieldKeyProvider(String className, String fieldName) {
FieldKeyProvider(String className, String fieldName) {
myClassName = className;
myFieldName = fieldName;
}
@@ -508,7 +508,7 @@ public class CaptureAgent {
private static class ParamKeyProvider implements KeyProvider {
private final int myIdx;
public ParamKeyProvider(int idx) {
ParamKeyProvider(int idx) {
myIdx = idx;
}
@@ -141,7 +141,7 @@ public abstract class ArrayAction extends DebuggerAction {
private static class NamedArrayConfigurable extends ArrayRendererConfigurable implements Configurable {
private final String myTitle;
public NamedArrayConfigurable(String title, ArrayRenderer renderer) {
NamedArrayConfigurable(String title, ArrayRenderer renderer) {
super(renderer);
myTitle = title;
}
@@ -134,7 +134,7 @@ public class JumpToObjectAction extends DebuggerAction{
}
private static class EnableCommand extends SourcePositionCommand {
public EnableCommand(final DebuggerContextImpl debuggerContext, final ValueDescriptor descriptor, final DebugProcessImpl debugProcess, final AnActionEvent e) {
EnableCommand(final DebuggerContextImpl debuggerContext, final ValueDescriptor descriptor, final DebugProcessImpl debugProcess, final AnActionEvent e) {
super(debuggerContext, descriptor, debugProcess, e);
}
@Override
@@ -22,7 +22,7 @@ class PsiMethodListPopupStep implements ListPopupStep<SmartStepTarget> {
void execute(SmartStepTarget stepTarget);
}
public PsiMethodListPopupStep(Editor editor, final List<SmartStepTarget> targets, final OnChooseRunnable stepRunnable) {
PsiMethodListPopupStep(Editor editor, final List<SmartStepTarget> targets, final OnChooseRunnable stepRunnable) {
myTargets = targets;
myScopeHighlighter = new ScopeHighlighter(editor);
myStepRunnable = stepRunnable;
@@ -48,7 +48,7 @@ public class ViewAsGroup extends ActionGroup implements DumbAware {
private static class RendererAction extends ToggleAction {
private final NodeRenderer myNodeRenderer;
public RendererAction(NodeRenderer nodeRenderer) {
RendererAction(NodeRenderer nodeRenderer) {
super(nodeRenderer.getName());
myNodeRenderer = nodeRenderer;
}
@@ -56,7 +56,7 @@ public class JavaWithRuntimeCastSurrounder extends JavaExpressionSurrounder {
private static class SurroundWithCastWorker extends RuntimeTypeEvaluator {
private final Editor myEditor;
public SurroundWithCastWorker(Editor editor, PsiExpression expression, DebuggerContextImpl context, final ProgressIndicator indicator) {
SurroundWithCastWorker(Editor editor, PsiExpression expression, DebuggerContextImpl context, final ProgressIndicator indicator) {
super(editor, expression, context, indicator);
myEditor = editor;
}
@@ -196,7 +196,7 @@ public class AsyncStacksUtils {
final String myClass;
final String myMethod;
public ProcessStackFrameItem(Location location, String aClass, String method) {
ProcessStackFrameItem(Location location, String aClass, String method) {
super(location, null);
myClass = aClass;
myMethod = method;
@@ -1514,7 +1514,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
private class StepOutCommand extends StepCommand {
private final int myStepSize;
public StepOutCommand(SuspendContextImpl suspendContext, int stepSize) {
StepOutCommand(SuspendContextImpl suspendContext, int stepSize) {
super(suspendContext);
myStepSize = stepSize;
}
@@ -1543,7 +1543,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
private final StepIntoBreakpoint myBreakpoint;
private final int myStepSize;
public StepIntoCommand(SuspendContextImpl suspendContext, boolean ignoreFilters, @Nullable final MethodFilter methodFilter,
StepIntoCommand(SuspendContextImpl suspendContext, boolean ignoreFilters, @Nullable final MethodFilter methodFilter,
int stepSize) {
super(suspendContext);
myForcedIgnoreFilters = ignoreFilters || methodFilter != null;
@@ -1686,7 +1686,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
}
private abstract class StepCommand extends ResumeCommand {
public StepCommand(SuspendContextImpl suspendContext) {
StepCommand(SuspendContextImpl suspendContext) {
super(suspendContext);
}
@@ -1752,7 +1752,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
}
private class PauseCommand extends DebuggerCommandImpl {
public PauseCommand() {
PauseCommand() {
}
@Override
@@ -1771,7 +1771,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
private class ResumeThreadCommand extends SuspendContextCommandImpl {
private final ThreadReferenceProxyImpl myThread;
public ResumeThreadCommand(SuspendContextImpl suspendContext, @NotNull ThreadReferenceProxyImpl thread) {
ResumeThreadCommand(SuspendContextImpl suspendContext, @NotNull ThreadReferenceProxyImpl thread) {
super(suspendContext);
myThread = thread;
}
@@ -1800,7 +1800,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
private class FreezeThreadCommand extends DebuggerCommandImpl {
private final ThreadReferenceProxyImpl myThread;
public FreezeThreadCommand(ThreadReferenceProxyImpl thread) {
FreezeThreadCommand(ThreadReferenceProxyImpl thread) {
myThread = thread;
}
@@ -1819,7 +1819,7 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
private class PopFrameCommand extends DebuggerContextCommandImpl {
private final StackFrameProxyImpl myStackFrame;
public PopFrameCommand(DebuggerContextImpl context, StackFrameProxyImpl frameProxy) {
PopFrameCommand(DebuggerContextImpl context, StackFrameProxyImpl frameProxy) {
super(context, frameProxy.threadProxy());
myStackFrame = frameProxy;
}
@@ -168,7 +168,7 @@ public class JVMNameUtil {
private static class JVMRawText implements JVMName {
private String myText;
public JVMRawText(String text) {
JVMRawText(String text) {
myText = text;
}
@@ -199,7 +199,7 @@ public class JVMNameUtil {
private static class JVMClassAt implements JVMName {
private final SourcePosition mySourcePosition;
public JVMClassAt(SourcePosition sourcePosition) {
JVMClassAt(SourcePosition sourcePosition) {
mySourcePosition = sourcePosition;
}
@@ -419,7 +419,7 @@ public class JavaDebugProcess extends XDebugProcess {
private static class AutoVarsSwitchAction extends ToggleAction {
private volatile boolean myAutoModeEnabled;
public AutoVarsSwitchAction() {
AutoVarsSwitchAction() {
super(DebuggerBundle.message("action.auto.variables.mode"), DebuggerBundle.message("action.auto.variables.mode.description"), null);
myAutoModeEnabled = DebuggerSettings.getInstance().AUTO_VARIABLES_MODE;
}
@@ -441,7 +441,7 @@ public class JavaDebugProcess extends XDebugProcess {
private final String myText;
private final String myTextUnavailable;
public WatchLastMethodReturnValueAction() {
WatchLastMethodReturnValueAction() {
super("", DebuggerBundle.message("action.watch.method.return.value.description"), null);
myText = DebuggerBundle.message("action.watches.method.return.value.enable");
myTextUnavailable = DebuggerBundle.message("action.watches.method.return.value.unavailable.reason");
@@ -163,7 +163,7 @@ public class JavaExecutionStack extends XExecutionStack {
private final int mySkip;
private final List<StackFrameItem> myAsyncStack;
public AppendFrameCommand(SuspendContextImpl suspendContext,
AppendFrameCommand(SuspendContextImpl suspendContext,
Iterator<StackFrameProxyImpl> stackFramesIterator,
XStackFrameContainer container,
int added,
@@ -370,7 +370,7 @@ public class JavaStackFrame extends XStackFrame implements JVMStackFrameInfoProv
private final String myMessage;
private final Icon myIcon;
public DummyMessageValueNode(String message, Icon icon) {
DummyMessageValueNode(String message, Icon icon) {
super("");
myMessage = message;
myIcon = icon;
@@ -432,7 +432,7 @@ public class JavaStackFrame extends XStackFrame implements JVMStackFrameInfoProv
private final Set<String> myVars = new HashSet<>();
private final boolean myCollectExpressions = XDebuggerSettingsManager.getInstance().getDataViewSettings().isAutoExpressions();
public VariablesCollector(Set<String> visibleLocals, TextRange lineRange) {
VariablesCollector(Set<String> visibleLocals, TextRange lineRange) {
myVisibleLocals = visibleLocals;
myLineRange = lineRange;
}
@@ -248,7 +248,7 @@ public class JavaValue extends XNamedValue implements NodeDescriptorProvider, XV
private final String myError;
private final ValueDescriptorImpl myValueDescriptor;
public JavaValuePresentation(@NotNull String value, @Nullable String type, @Nullable String error, ValueDescriptorImpl valueDescriptor) {
JavaValuePresentation(@NotNull String value, @Nullable String type, @Nullable String error, ValueDescriptorImpl valueDescriptor) {
myValue = value;
myType = type;
myError = error;
@@ -68,7 +68,7 @@ public class LambdaAsyncMethodFilter extends BasicStepMethodFilter {
private static class LambdaInstanceBreakpoint extends StepIntoBreakpoint {
private final long myLambdaId;
public LambdaInstanceBreakpoint(@NotNull Project project,
LambdaInstanceBreakpoint(@NotNull Project project,
long lambdaId,
@NotNull SourcePosition pos,
@NotNull BreakpointStepMethodFilter filter) {
@@ -588,7 +588,7 @@ public class PositionManagerImpl implements PositionManager, MultiRequestPositio
private final String myMethodSignature;
private PsiMethod myCompiledMethod;
public MethodFinder(final String className, final String methodName, final String methodSignature) {
MethodFinder(final String className, final String methodName, final String methodSignature) {
myClassName = className;
myMethodName = methodName;
myMethodSignature = methodSignature;
@@ -28,7 +28,7 @@ abstract class RemappedSourcePosition extends SourcePosition {
private SourcePosition myDelegate;
private boolean myMapped = false;
public RemappedSourcePosition(@NotNull SourcePosition delegate) {
RemappedSourcePosition(@NotNull SourcePosition delegate) {
myDelegate = delegate;
}
@@ -123,7 +123,7 @@ public class SuspendManagerUtil {
final boolean myIsFrozen;
final Set<ThreadReferenceProxyImpl> myResumedThreads;
public ResumeData(boolean isFrozen, Set<ThreadReferenceProxyImpl> resumedThreads) {
ResumeData(boolean isFrozen, Set<ThreadReferenceProxyImpl> resumedThreads) {
myIsFrozen = isFrozen;
myResumedThreads = resumedThreads;
}
@@ -36,7 +36,7 @@ class ArrayAccessEvaluator implements Evaluator {
private ArrayReference myEvaluatedArrayReference;
private int myEvaluatedIndex;
public ArrayAccessEvaluator(Evaluator arrayReferenceEvaluator, Evaluator indexEvaluator) {
ArrayAccessEvaluator(Evaluator arrayReferenceEvaluator, Evaluator indexEvaluator) {
myArrayReferenceEvaluator = arrayReferenceEvaluator;
myIndexEvaluator = indexEvaluator;
}
@@ -22,7 +22,7 @@ import com.intellij.debugger.engine.evaluation.EvaluationContextImpl;
class ArrayInitializerEvaluator implements Evaluator{
private final Evaluator[] myValueEvaluators;
public ArrayInitializerEvaluator(Evaluator[] valueEvaluators) {
ArrayInitializerEvaluator(Evaluator[] valueEvaluators) {
myValueEvaluators = valueEvaluators;
}
@@ -26,7 +26,7 @@ class BinaryExpressionEvaluator implements Evaluator {
private final IElementType myOpType;
private final String myExpectedType; // a result of PsiType.getCanonicalText()
public BinaryExpressionEvaluator(@NotNull Evaluator leftOperand,
BinaryExpressionEvaluator(@NotNull Evaluator leftOperand,
@NotNull Evaluator rightOperand,
@NotNull IElementType opType,
String expectedType) {
@@ -32,7 +32,7 @@ class ConditionalExpressionEvaluator implements Evaluator {
private final Evaluator myThenEvaluator;
private final Evaluator myElseEvaluator;
public ConditionalExpressionEvaluator(Evaluator conditionEvaluator, Evaluator thenEvaluator, Evaluator elseEvaluator) {
ConditionalExpressionEvaluator(Evaluator conditionEvaluator, Evaluator thenEvaluator, Evaluator elseEvaluator) {
myConditionEvaluator = conditionEvaluator;
myThenEvaluator = thenEvaluator;
myElseEvaluator = elseEvaluator;
@@ -20,7 +20,7 @@ class InstanceofEvaluator implements Evaluator {
private final Evaluator myOperandEvaluator;
private final TypeEvaluator myTypeEvaluator;
public InstanceofEvaluator(Evaluator operandEvaluator, TypeEvaluator typeEvaluator) {
InstanceofEvaluator(Evaluator operandEvaluator, TypeEvaluator typeEvaluator) {
myOperandEvaluator = operandEvaluator;
myTypeEvaluator = typeEvaluator;
}
@@ -23,7 +23,7 @@ class LiteralEvaluator implements Evaluator {
private final Object myValue;
private final String myExpectedType;
public LiteralEvaluator(Object value, String expectedType) {
LiteralEvaluator(Object value, String expectedType) {
myValue = value;
myExpectedType = expectedType;
}
@@ -52,7 +52,7 @@ class LocalVariableEvaluator implements Evaluator {
private DecompiledLocalVariable myEvaluatedDecompiledVariable;
private final boolean myCanScanFrames;
public LocalVariableEvaluator(String localVariableName, boolean canScanFrames) {
LocalVariableEvaluator(String localVariableName, boolean canScanFrames) {
myLocalVariableName = localVariableName;
myCanScanFrames = canScanFrames;
}
@@ -24,7 +24,7 @@ class NewArrayInstanceEvaluator implements Evaluator {
/**
* either dimensionEvaluator or initializerEvaluators must be null!
*/
public NewArrayInstanceEvaluator(Evaluator arrayTypeEvaluator, Evaluator dimensionEvaluator, Evaluator initializerEvaluator) {
NewArrayInstanceEvaluator(Evaluator arrayTypeEvaluator, Evaluator dimensionEvaluator, Evaluator initializerEvaluator) {
myArrayTypeEvaluator = arrayTypeEvaluator;
myDimensionEvaluator = dimensionEvaluator;
myInitializerEvaluator = initializerEvaluator;
@@ -42,7 +42,7 @@ class NewClassInstanceEvaluator implements Evaluator {
private final JVMName myConstructorSignature;
private final Evaluator[] myParamsEvaluators;
public NewClassInstanceEvaluator(TypeEvaluator classTypeEvaluator, JVMName constructorSignature, Evaluator[] argumentEvaluators) {
NewClassInstanceEvaluator(TypeEvaluator classTypeEvaluator, JVMName constructorSignature, Evaluator[] argumentEvaluators) {
myClassTypeEvaluator = classTypeEvaluator;
myConstructorSignature = constructorSignature;
myParamsEvaluators = argumentEvaluators;
@@ -39,7 +39,7 @@ class UnaryExpressionEvaluator implements Evaluator {
private final Evaluator myOperandEvaluator;
private final String myOperationText;
public UnaryExpressionEvaluator(IElementType operationType, String expectedType, Evaluator operandEvaluator, final String operationText) {
UnaryExpressionEvaluator(IElementType operationType, String expectedType, Evaluator operandEvaluator, final String operationText) {
myOperationType = operationType;
myExpectedType = expectedType;
myOperandEvaluator = operandEvaluator;
@@ -240,7 +240,7 @@ public class DebuggerSession implements AbstractDebuggerSession {
final State myState;
final String myDescription;
public DebuggerSessionState(State state, String description) {
DebuggerSessionState(State state, String description) {
myState = state;
myDescription = description;
}
@@ -440,7 +440,7 @@ public class DebuggerSession implements AbstractDebuggerSession {
private class MyDebugProcessListener extends DebugProcessAdapterImpl {
private final DebugProcessImpl myDebugProcess;
public MyDebugProcessListener(final DebugProcessImpl debugProcess) {
MyDebugProcessListener(final DebugProcessImpl debugProcess) {
myDebugProcess = debugProcess;
}
@@ -824,7 +824,7 @@ public abstract class DebuggerUtilsEx extends DebuggerUtils {
private final SourcePosition mySourcePosition;
@NotNull private final VirtualFile myFile;
public JavaXSourcePosition(@NotNull SourcePosition sourcePosition, @NotNull VirtualFile file) {
JavaXSourcePosition(@NotNull SourcePosition sourcePosition, @NotNull VirtualFile file) {
mySourcePosition = sourcePosition;
myFile = file;
}
@@ -42,7 +42,7 @@ class ReloadClassesWorker {
private final DebuggerSession myDebuggerSession;
private final HotSwapProgress myProgress;
public ReloadClassesWorker(DebuggerSession session, HotSwapProgress progress) {
ReloadClassesWorker(DebuggerSession session, HotSwapProgress progress) {
myDebuggerSession = session;
myProgress = progress;
}
@@ -245,7 +245,7 @@ class ReloadClassesWorker {
private int myProcessedClassesCount;
private int myPartiallyRedefinedClassesCount;
public RedefineProcessor(VirtualMachineProxyImpl virtualMachineProxy) {
RedefineProcessor(VirtualMachineProxyImpl virtualMachineProxy) {
myVirtualMachineProxy = virtualMachineProxy;
}
@@ -45,7 +45,7 @@ public class JavaAttachDebuggerProvider implements XLocalAttachDebuggerProvider
private final Project myProject;
private final LocalAttachInfo myInfo;
public JavaLocalAttachDebugger(@NotNull Project project, @NotNull LocalAttachInfo info) {
JavaLocalAttachDebugger(@NotNull Project project, @NotNull LocalAttachInfo info) {
myProject = project;
myInfo = info;
}
@@ -235,7 +235,7 @@ public class JavaAttachDebuggerProvider implements XLocalAttachDebuggerProvider
final boolean myUseSocket;
final String myAddress;
public DebuggerLocalAttachInfo(boolean socket, @NotNull String address, String aClass, String pid) {
DebuggerLocalAttachInfo(boolean socket, @NotNull String address, String aClass, String pid) {
super(aClass, pid, "");
myUseSocket = socket;
myAddress = address;
@@ -57,7 +57,7 @@ public final class ArrayItemData extends DescriptorData<ArrayElementDescriptorIm
private static class ArrayItemDisplayKeyImpl implements DisplayKey<ArrayElementDescriptorImpl> {
private final int myIndex;
public ArrayItemDisplayKeyImpl(int index) {
ArrayItemDisplayKeyImpl(int index) {
myIndex = index;
}
@@ -57,7 +57,7 @@ public final class MethodReturnValueData extends DescriptorData<MethodReturnValu
}
private static final class MethodReturnValueDisplayKey extends Pair<Method, Value> implements DisplayKey<MethodReturnValueDescriptorImpl> {
public MethodReturnValueDisplayKey(@NotNull Method method, @Nullable Value value) {
MethodReturnValueDisplayKey(@NotNull Method method, @Nullable Value value) {
super(method, value);
}
}
@@ -60,7 +60,7 @@ public class StackFrameData extends DescriptorData<StackFrameDescriptorImpl>{
private static class FrameDisplayKey implements DisplayKey<StackFrameDescriptorImpl>{
private final String myContextKey;
public FrameDisplayKey(final String contextKey) {
FrameDisplayKey(final String contextKey) {
myContextKey = contextKey;
}
@@ -362,7 +362,7 @@ public class LocalVariablesUtil {
private final Deque<Integer> myIndexStack = new LinkedList<>();
private boolean myReached = false;
public LocalVariableNameFinder(int startSlot, MultiMap<Integer, String> names, PsiElement element) {
LocalVariableNameFinder(int startSlot, MultiMap<Integer, String> names, PsiElement element) {
myNames = names;
myCurrentSlotIndex = startSlot;
myElement = element;
@@ -340,7 +340,7 @@ public class MethodBytecodeUtil {
}
private static class ByteArrayBuilderOutputStream extends ByteArrayOutputStream {
public ByteArrayBuilderOutputStream(int size) {
ByteArrayBuilderOutputStream(int size) {
super(size);
}
@@ -85,7 +85,7 @@ public class ConditionCheckerImpl implements ConditionChecker {
private final Project myProject;
private final String myClassName;
public MyCachedEvaluator(@NotNull Project project, @NotNull String className) {
MyCachedEvaluator(@NotNull Project project, @NotNull String className) {
super();
myProject = project;
myClassName = className;
@@ -78,7 +78,7 @@ class InstancesView extends InstancesViewBase {
private volatile MyFilteringWorker myFilteringTask = null;
public InstancesView(@NotNull XDebugSession session, InstancesProvider instancesProvider, String className, Consumer<? super String> warningMessageConsumer) {
InstancesView(@NotNull XDebugSession session, InstancesProvider instancesProvider, String className, Consumer<? super String> warningMessageConsumer) {
super(new BorderLayout(0, JBUI.scale(BORDER_LAYOUT_DEFAULT_GAP)), session, instancesProvider);
myClassName = className;
myDebugProcess = (DebugProcessImpl) (DebuggerManager.getInstance(session.getProject()).getDebugProcess(session.getDebugProcess().getProcessHandler()));
@@ -264,7 +264,7 @@ class InstancesView extends InstancesViewBase {
private long myLastTreeUpdatingTime;
private long myLastProgressUpdatingTime;
public MyFilteringCallback(@NotNull EvaluationContextImpl evaluationContext) {
MyFilteringCallback(@NotNull EvaluationContextImpl evaluationContext) {
myEvaluationContext = evaluationContext;
}
@@ -362,7 +362,7 @@ class InstancesView extends InstancesViewBase {
private static class MyValuesList implements FilteringTask.ValuesList {
private final List<? extends ObjectReference> myRefs;
public MyValuesList(List<? extends ObjectReference> refs) {
MyValuesList(List<? extends ObjectReference> refs) {
myRefs = refs;
}
@@ -189,7 +189,7 @@ public class StackFrameItem {
private final String myValue;
private final VarType myVarType;
public VariableItem(String name, String type, String value, VarType varType) {
VariableItem(String name, String type, String value, VarType varType) {
super(name);
myType = type;
myValue = value;
@@ -99,7 +99,7 @@ public class CaptureSettingsProvider {
private static final String SEPARATOR = " ";
public AgentPoint(String className, String methodName, String methodDesc, KeyProvider key) {
AgentPoint(String className, String methodName, String methodDesc, KeyProvider key) {
assert !className.contains(".") : "Classname should not contain . here";
myClassName = className;
myMethodName = methodName;
@@ -116,7 +116,7 @@ public class CaptureSettingsProvider {
}
private static class AgentCapturePoint extends AgentPoint {
public AgentCapturePoint(String className, String methodName, String methodDesc, KeyProvider key) {
AgentCapturePoint(String className, String methodName, String methodDesc, KeyProvider key) {
super(className, methodName, methodDesc, key);
}
@@ -127,7 +127,7 @@ public class CaptureSettingsProvider {
}
private static class AgentInsertPoint extends AgentPoint {
public AgentInsertPoint(String className, String methodName, String methodDesc, KeyProvider key) {
AgentInsertPoint(String className, String methodName, String methodDesc, KeyProvider key) {
super(className, methodName, methodDesc, key);
}
@@ -148,7 +148,7 @@ public class CaptureSettingsProvider {
private static class StringKeyProvider implements KeyProvider {
private final String myValue;
public StringKeyProvider(String value) {
StringKeyProvider(String value) {
myValue = value;
}
@@ -162,7 +162,7 @@ public class CaptureSettingsProvider {
private final String myClassName;
private final String myFieldName;
public FieldKeyProvider(String className, String fieldName) {
FieldKeyProvider(String className, String fieldName) {
myClassName = className;
myFieldName = fieldName;
}
@@ -76,7 +76,7 @@ class CompoundRendererConfigurable extends JPanel {
private static final int EXPRESSION_TABLE_COLUMN = 1;
private static final int ONDEMAND_TABLE_COLUMN = 2;
public CompoundRendererConfigurable(@NotNull Disposable parentDisposable) {
CompoundRendererConfigurable(@NotNull Disposable parentDisposable) {
super(new CardLayout());
if (myProject == null) {
@@ -411,7 +411,7 @@ class CompoundRendererConfigurable extends JPanel {
private static final class MyTableModel extends AbstractTableModel {
private final List<EnumerationChildrenRenderer.ChildInfo> myData = new ArrayList<>();
public MyTableModel() {
MyTableModel() {
}
public void init(List<EnumerationChildrenRenderer.ChildInfo> data) {
@@ -530,7 +530,7 @@ class CompoundRendererConfigurable extends JPanel {
public String name;
public TextWithImports value;
public Row(final String name, final TextWithImports value) {
Row(final String name, final TextWithImports value) {
this.name = name;
this.value = value;
}
@@ -465,7 +465,7 @@ public class NodeRendererSettings implements PersistentStateComponent<Element> {
}
private static class ListObjectRenderer extends CompoundReferenceRenderer {
public ListObjectRenderer(NodeRendererSettings rendererSettings, ArrayRenderer arrayRenderer) {
ListObjectRenderer(NodeRendererSettings rendererSettings, ArrayRenderer arrayRenderer) {
super(rendererSettings,
"List",
createLabelRenderer(" size = ", "size()", null),
@@ -201,7 +201,7 @@ public final class UserRenderersConfigurable extends JPanel implements Configura
}
private class CopyAction extends AnActionButton {
public CopyAction() {
CopyAction() {
super(DebuggerBundle.message("button.copy"), DebuggerBundle.message("user.renderers.configurable.button.description.copy"), PlatformIcons.COPY_ICON);
}
@@ -223,7 +223,7 @@ public final class UserRenderersConfigurable extends JPanel implements Configura
private class MoveAction implements AnActionButtonRunnable {
private final boolean myMoveUp;
public MoveAction(boolean up) {
MoveAction(boolean up) {
//super(up? DebuggerBundle.message("button.move.up") : DebuggerBundle.message("button.move.down"),
// up? DebuggerBundle.message("user.renderers.configurable.button.description.move.up") : DebuggerBundle.message("user.renderers.configurable.button.description.move.down"),
// up? UP_ICON : DOWN_ICON );
@@ -126,7 +126,7 @@ public class AlternativeSourceNotificationProvider extends EditorNotifications.P
private final PsiClass myClass;
private String myText;
public ComboBoxClassElement(PsiClass aClass) {
ComboBoxClassElement(PsiClass aClass) {
myClass = aClass;
}
@@ -153,7 +153,7 @@ public class AlternativeSourceNotificationProvider extends EditorNotifications.P
}
private static class AlternativeSourceNotificationPanel extends EditorNotificationPanel {
public AlternativeSourceNotificationPanel(ComboBoxClassElement[] alternatives,
AlternativeSourceNotificationPanel(ComboBoxClassElement[] alternatives,
final PsiClass aClass,
final Project project,
final VirtualFile file,
@@ -39,7 +39,7 @@ class DebuggerTreeCreatorImpl implements DebuggerTreeCreator<Pair<NodeDescriptor
private static final Logger LOG = Logger.getInstance("#com.intellij.debugger.ui.ValueHintTreeComponent");
private final Project myProject;
public DebuggerTreeCreatorImpl(Project project) {
DebuggerTreeCreatorImpl(Project project) {
myProject = project;
}
@@ -111,7 +111,7 @@ public class HotSwapProgressImpl extends HotSwapProgress {
private static class HotSwapNotificationListener implements NotificationListener {
final WeakReference<XDebugSession> mySessionRef;
public HotSwapNotificationListener(WeakReference<XDebugSession> sessionRef) {
HotSwapNotificationListener(WeakReference<XDebugSession> sessionRef) {
mySessionRef = sessionRef;
}
@@ -117,7 +117,7 @@ public class RunHotswapDialog extends OptionsDialog {
private static class SessionItem {
private final DebuggerSession mySession;
public SessionItem(DebuggerSession session) {
SessionItem(DebuggerSession session) {
mySession = session;
}
@@ -253,7 +253,7 @@ public class StackCapturingLineBreakpoint extends WildcardMethodBreakpoint {
private ExpressionEvaluator myEvaluator;
private final Map<Location, ExpressionEvaluator> myEvaluatorCache = ContainerUtil.createWeakMap();
public MyEvaluator(String expression) {
MyEvaluator(String expression) {
myExpression = expression;
int paramId = DecompiledLocalVariable.getParamId(myExpression);
boolean paramEvaluator = paramId > -1;
@@ -276,7 +276,7 @@ public class DebuggerTreeBase extends DnDAwareTree implements Disposable {
private static class HideTooltip extends MouseAdapter {
private final JToolTip myToolTip;
public HideTooltip(JToolTip toolTip) {
HideTooltip(JToolTip toolTip) {
myToolTip = toolTip;
}
@@ -74,7 +74,7 @@ public class ThreadsDebuggerTree extends DebuggerTree {
private class RefreshThreadsTreeCommand extends DebuggerCommandImpl{
private final DebuggerSession mySession;
public RefreshThreadsTreeCommand(DebuggerSession session) {
RefreshThreadsTreeCommand(DebuggerSession session) {
mySession = session;
}
@@ -523,7 +523,7 @@ public abstract class DebuggerTree extends DebuggerTreeBase implements DataProvi
}
private class BuildValueNodeCommand extends BuildNodeCommand implements ChildrenBuilder {
public BuildValueNodeCommand(DebuggerTreeNodeImpl node) {
BuildValueNodeCommand(DebuggerTreeNodeImpl node) {
super(node);
}
@@ -605,7 +605,7 @@ public abstract class DebuggerTree extends DebuggerTreeBase implements DataProvi
}
private class BuildStaticNodeCommand extends BuildNodeCommand {
public BuildStaticNodeCommand(DebuggerTreeNodeImpl node) {
BuildStaticNodeCommand(DebuggerTreeNodeImpl node) {
super(node);
}
@@ -628,7 +628,7 @@ public abstract class DebuggerTree extends DebuggerTreeBase implements DataProvi
}
private class BuildThreadCommand extends BuildNodeCommand {
public BuildThreadCommand(DebuggerTreeNodeImpl threadNode) {
BuildThreadCommand(DebuggerTreeNodeImpl threadNode) {
super(threadNode, ((ThreadDescriptorImpl)threadNode.getDescriptor()).getThreadReference());
}
@@ -673,7 +673,7 @@ public abstract class DebuggerTree extends DebuggerTreeBase implements DataProvi
private final DebuggerTreeNodeImpl myNode;
protected final List<DebuggerTreeNodeImpl> myChildren = new LinkedList<>();
public BuildThreadGroupCommand(DebuggerTreeNodeImpl node) {
BuildThreadGroupCommand(DebuggerTreeNodeImpl node) {
myNode = node;
}
@@ -290,7 +290,7 @@ public class DebuggerTreeNodeExpression {
private static class IncorrectOperationRuntimeException extends RuntimeException {
private final IncorrectOperationException myException;
public IncorrectOperationRuntimeException(IncorrectOperationException exception) {
IncorrectOperationRuntimeException(IncorrectOperationException exception) {
myException = exception;
}
@@ -205,7 +205,7 @@ public class NodeDescriptorFactoryImpl implements NodeDescriptorFactory {
private final HashMap<NodeDescriptor, NodeDescriptor> mySearchedDescriptors = new HashMap<>();
public DescriptorTreeSearcher(MarkedDescriptorTree descriptorTree) {
DescriptorTreeSearcher(MarkedDescriptorTree descriptorTree) {
myDescriptorTree = descriptorTree;
}
@@ -236,7 +236,7 @@ public class NodeDescriptorFactoryImpl implements NodeDescriptorFactory {
}
private class DisplayDescriptorTreeSearcher extends DescriptorTreeSearcher {
public DisplayDescriptorTreeSearcher(MarkedDescriptorTree descriptorTree) {
DisplayDescriptorTreeSearcher(MarkedDescriptorTree descriptorTree) {
super(descriptorTree);
}

Some files were not shown because too many files have changed in this diff Show More