summaryrefslogtreecommitdiff
path: root/plugins/structuralsearch/source/com/intellij/structuralsearch/plugin/replace/impl/ParameterInfo.java
blob: 43ce859b17dd47c7195470aeb07baf82e68fe737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
package com.intellij.structuralsearch.plugin.replace.impl;

import com.intellij.psi.PsiElement;

public final class ParameterInfo {
  private String name;
  private int startIndex;
  private boolean parameterContext;
  private boolean methodParameterContext;
  private boolean statementContext;
  private boolean variableInitialContext;
  private int afterDelimiterPos;
  private boolean hasCommaBefore;
  private int beforeDelimiterPos;
  private boolean hasCommaAfter;
  private boolean scopeParameterization;
  private boolean replacementVariable;
  private PsiElement myElement;

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getStartIndex() {
    return startIndex;
  }

  public void setStartIndex(int startIndex) {
    this.startIndex = startIndex;
  }

  public boolean isParameterContext() {
    return parameterContext;
  }

  public void setParameterContext(boolean parameterContext) {
    this.parameterContext = parameterContext;
  }

  public boolean isMethodParameterContext() {
    return methodParameterContext;
  }

  public void setMethodParameterContext(boolean methodParameterContext) {
    this.methodParameterContext = methodParameterContext;
  }

  public boolean isStatementContext() {
    return statementContext;
  }

  public void setStatementContext(boolean statementContext) {
    this.statementContext = statementContext;
  }

  public boolean isVariableInitialContext() {
    return variableInitialContext;
  }

  public void setVariableInitialContext(boolean variableInitialContext) {
    this.variableInitialContext = variableInitialContext;
  }

  public int getAfterDelimiterPos() {
    return afterDelimiterPos;
  }

  public void setAfterDelimiterPos(int afterDelimiterPos) {
    this.afterDelimiterPos = afterDelimiterPos;
  }

  public boolean isHasCommaBefore() {
    return hasCommaBefore;
  }

  public void setHasCommaBefore(boolean hasCommaBefore) {
    this.hasCommaBefore = hasCommaBefore;
  }

  public int getBeforeDelimiterPos() {
    return beforeDelimiterPos;
  }

  public void setBeforeDelimiterPos(int beforeDelimiterPos) {
    this.beforeDelimiterPos = beforeDelimiterPos;
  }

  public boolean isHasCommaAfter() {
    return hasCommaAfter;
  }

  public void setHasCommaAfter(boolean hasCommaAfter) {
    this.hasCommaAfter = hasCommaAfter;
  }

  public boolean isScopeParameterization() {
    return scopeParameterization;
  }

  public void setScopeParameterization(boolean scopeParameterization) {
    this.scopeParameterization = scopeParameterization;
  }

  public boolean isReplacementVariable() {
    return replacementVariable;
  }

  public void setReplacementVariable(boolean replacementVariable) {
    this.replacementVariable = replacementVariable;
  }

  public PsiElement getElement() {
    return myElement;
  }

  public void setElement(PsiElement element) {
    myElement = element;
  }
}