repo
stringlengths 1
191
⌀ | file
stringlengths 23
351
| code
stringlengths 0
5.32M
| file_length
int64 0
5.32M
| avg_line_length
float64 0
2.9k
| max_line_length
int64 0
288k
| extension_type
stringclasses 1
value |
|---|---|---|---|---|---|---|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ACmpleBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ACmpleBinop extends PBinop
{
private TCmple _cmple_;
public ACmpleBinop()
{
// Constructor
}
public ACmpleBinop(
@SuppressWarnings("hiding") TCmple _cmple_)
{
// Constructor
setCmple(_cmple_);
}
@Override
public Object clone()
{
return new ACmpleBinop(
cloneNode(this._cmple_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseACmpleBinop(this);
}
public TCmple getCmple()
{
return this._cmple_;
}
public void setCmple(TCmple node)
{
if(this._cmple_ != null)
{
this._cmple_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmple_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._cmple_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._cmple_ == child)
{
this._cmple_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._cmple_ == oldChild)
{
setCmple((TCmple) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,828
| 18.052083
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ACmpltBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ACmpltBinop extends PBinop
{
private TCmplt _cmplt_;
public ACmpltBinop()
{
// Constructor
}
public ACmpltBinop(
@SuppressWarnings("hiding") TCmplt _cmplt_)
{
// Constructor
setCmplt(_cmplt_);
}
@Override
public Object clone()
{
return new ACmpltBinop(
cloneNode(this._cmplt_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseACmpltBinop(this);
}
public TCmplt getCmplt()
{
return this._cmplt_;
}
public void setCmplt(TCmplt node)
{
if(this._cmplt_ != null)
{
this._cmplt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmplt_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._cmplt_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._cmplt_ == child)
{
this._cmplt_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._cmplt_ == oldChild)
{
setCmplt((TCmplt) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,828
| 18.052083
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ACmpneBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ACmpneBinop extends PBinop
{
private TCmpne _cmpne_;
public ACmpneBinop()
{
// Constructor
}
public ACmpneBinop(
@SuppressWarnings("hiding") TCmpne _cmpne_)
{
// Constructor
setCmpne(_cmpne_);
}
@Override
public Object clone()
{
return new ACmpneBinop(
cloneNode(this._cmpne_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseACmpneBinop(this);
}
public TCmpne getCmpne()
{
return this._cmpne_;
}
public void setCmpne(TCmpne node)
{
if(this._cmpne_ != null)
{
this._cmpne_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmpne_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._cmpne_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._cmpne_ == child)
{
this._cmpne_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._cmpne_ == oldChild)
{
setCmpne((TCmpne) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,828
| 18.052083
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AConstantCaseLabel.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AConstantCaseLabel extends PCaseLabel
{
private TCase _case_;
private TMinus _minus_;
private TIntegerConstant _integerConstant_;
public AConstantCaseLabel()
{
// Constructor
}
public AConstantCaseLabel(
@SuppressWarnings("hiding") TCase _case_,
@SuppressWarnings("hiding") TMinus _minus_,
@SuppressWarnings("hiding") TIntegerConstant _integerConstant_)
{
// Constructor
setCase(_case_);
setMinus(_minus_);
setIntegerConstant(_integerConstant_);
}
@Override
public Object clone()
{
return new AConstantCaseLabel(
cloneNode(this._case_),
cloneNode(this._minus_),
cloneNode(this._integerConstant_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAConstantCaseLabel(this);
}
public TCase getCase()
{
return this._case_;
}
public void setCase(TCase node)
{
if(this._case_ != null)
{
this._case_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._case_ = node;
}
public TMinus getMinus()
{
return this._minus_;
}
public void setMinus(TMinus node)
{
if(this._minus_ != null)
{
this._minus_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._minus_ = node;
}
public TIntegerConstant getIntegerConstant()
{
return this._integerConstant_;
}
public void setIntegerConstant(TIntegerConstant node)
{
if(this._integerConstant_ != null)
{
this._integerConstant_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._integerConstant_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._case_)
+ toString(this._minus_)
+ toString(this._integerConstant_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._case_ == child)
{
this._case_ = null;
return;
}
if(this._minus_ == child)
{
this._minus_ = null;
return;
}
if(this._integerConstant_ == child)
{
this._integerConstant_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._case_ == oldChild)
{
setCase((TCase) newChild);
return;
}
if(this._minus_ == oldChild)
{
setMinus((TMinus) newChild);
return;
}
if(this._integerConstant_ == oldChild)
{
setIntegerConstant((TIntegerConstant) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,748
| 19.598901
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AConstantImmediate.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AConstantImmediate extends PImmediate
{
private PConstant _constant_;
public AConstantImmediate()
{
// Constructor
}
public AConstantImmediate(
@SuppressWarnings("hiding") PConstant _constant_)
{
// Constructor
setConstant(_constant_);
}
@Override
public Object clone()
{
return new AConstantImmediate(
cloneNode(this._constant_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAConstantImmediate(this);
}
public PConstant getConstant()
{
return this._constant_;
}
public void setConstant(PConstant node)
{
if(this._constant_ != null)
{
this._constant_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._constant_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._constant_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._constant_ == child)
{
this._constant_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._constant_ == oldChild)
{
setConstant((PConstant) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,930
| 19.114583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ADeclaration.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ADeclaration extends PDeclaration
{
private PJimpleType _jimpleType_;
private PLocalNameList _localNameList_;
private TSemicolon _semicolon_;
public ADeclaration()
{
// Constructor
}
public ADeclaration(
@SuppressWarnings("hiding") PJimpleType _jimpleType_,
@SuppressWarnings("hiding") PLocalNameList _localNameList_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setJimpleType(_jimpleType_);
setLocalNameList(_localNameList_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new ADeclaration(
cloneNode(this._jimpleType_),
cloneNode(this._localNameList_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseADeclaration(this);
}
public PJimpleType getJimpleType()
{
return this._jimpleType_;
}
public void setJimpleType(PJimpleType node)
{
if(this._jimpleType_ != null)
{
this._jimpleType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._jimpleType_ = node;
}
public PLocalNameList getLocalNameList()
{
return this._localNameList_;
}
public void setLocalNameList(PLocalNameList node)
{
if(this._localNameList_ != null)
{
this._localNameList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localNameList_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._jimpleType_)
+ toString(this._localNameList_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._jimpleType_ == child)
{
this._jimpleType_ = null;
return;
}
if(this._localNameList_ == child)
{
this._localNameList_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._jimpleType_ == oldChild)
{
setJimpleType((PJimpleType) newChild);
return;
}
if(this._localNameList_ == oldChild)
{
setLocalNameList((PLocalNameList) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,888
| 20.368132
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ADefaultCaseLabel.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ADefaultCaseLabel extends PCaseLabel
{
private TDefault _default_;
public ADefaultCaseLabel()
{
// Constructor
}
public ADefaultCaseLabel(
@SuppressWarnings("hiding") TDefault _default_)
{
// Constructor
setDefault(_default_);
}
@Override
public Object clone()
{
return new ADefaultCaseLabel(
cloneNode(this._default_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseADefaultCaseLabel(this);
}
public TDefault getDefault()
{
return this._default_;
}
public void setDefault(TDefault node)
{
if(this._default_ != null)
{
this._default_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._default_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._default_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._default_ == child)
{
this._default_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._default_ == oldChild)
{
setDefault((TDefault) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,904
| 18.84375
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ADivBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ADivBinop extends PBinop
{
private TDiv _div_;
public ADivBinop()
{
// Constructor
}
public ADivBinop(
@SuppressWarnings("hiding") TDiv _div_)
{
// Constructor
setDiv(_div_);
}
@Override
public Object clone()
{
return new ADivBinop(
cloneNode(this._div_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseADivBinop(this);
}
public TDiv getDiv()
{
return this._div_;
}
public void setDiv(TDiv node)
{
if(this._div_ != null)
{
this._div_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._div_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._div_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._div_ == child)
{
this._div_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._div_ == oldChild)
{
setDiv((TDiv) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,776
| 17.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ADoubleBaseType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ADoubleBaseType extends PBaseType
{
private TDouble _double_;
public ADoubleBaseType()
{
// Constructor
}
public ADoubleBaseType(
@SuppressWarnings("hiding") TDouble _double_)
{
// Constructor
setDouble(_double_);
}
@Override
public Object clone()
{
return new ADoubleBaseType(
cloneNode(this._double_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseADoubleBaseType(this);
}
public TDouble getDouble()
{
return this._double_;
}
public void setDouble(TDouble node)
{
if(this._double_ != null)
{
this._double_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._double_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._double_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._double_ == child)
{
this._double_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._double_ == oldChild)
{
setDouble((TDouble) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,872
| 18.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ADoubleBaseTypeNoName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ADoubleBaseTypeNoName extends PBaseTypeNoName
{
private TDouble _double_;
public ADoubleBaseTypeNoName()
{
// Constructor
}
public ADoubleBaseTypeNoName(
@SuppressWarnings("hiding") TDouble _double_)
{
// Constructor
setDouble(_double_);
}
@Override
public Object clone()
{
return new ADoubleBaseTypeNoName(
cloneNode(this._double_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseADoubleBaseTypeNoName(this);
}
public TDouble getDouble()
{
return this._double_;
}
public void setDouble(TDouble node)
{
if(this._double_ != null)
{
this._double_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._double_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._double_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._double_ == child)
{
this._double_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._double_ == oldChild)
{
setDouble((TDouble) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,908
| 18.885417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ADynamicInvokeExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ADynamicInvokeExpr extends PInvokeExpr
{
private TDynamicinvoke _dynamicinvoke_;
private TStringConstant _stringConstant_;
private PUnnamedMethodSignature _dynmethod_;
private TLParen _firstl_;
private PArgList _dynargs_;
private TRParen _firstr_;
private PMethodSignature _bsm_;
private TLParen _lParen_;
private PArgList _staticargs_;
private TRParen _rParen_;
public ADynamicInvokeExpr()
{
// Constructor
}
public ADynamicInvokeExpr(
@SuppressWarnings("hiding") TDynamicinvoke _dynamicinvoke_,
@SuppressWarnings("hiding") TStringConstant _stringConstant_,
@SuppressWarnings("hiding") PUnnamedMethodSignature _dynmethod_,
@SuppressWarnings("hiding") TLParen _firstl_,
@SuppressWarnings("hiding") PArgList _dynargs_,
@SuppressWarnings("hiding") TRParen _firstr_,
@SuppressWarnings("hiding") PMethodSignature _bsm_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PArgList _staticargs_,
@SuppressWarnings("hiding") TRParen _rParen_)
{
// Constructor
setDynamicinvoke(_dynamicinvoke_);
setStringConstant(_stringConstant_);
setDynmethod(_dynmethod_);
setFirstl(_firstl_);
setDynargs(_dynargs_);
setFirstr(_firstr_);
setBsm(_bsm_);
setLParen(_lParen_);
setStaticargs(_staticargs_);
setRParen(_rParen_);
}
@Override
public Object clone()
{
return new ADynamicInvokeExpr(
cloneNode(this._dynamicinvoke_),
cloneNode(this._stringConstant_),
cloneNode(this._dynmethod_),
cloneNode(this._firstl_),
cloneNode(this._dynargs_),
cloneNode(this._firstr_),
cloneNode(this._bsm_),
cloneNode(this._lParen_),
cloneNode(this._staticargs_),
cloneNode(this._rParen_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseADynamicInvokeExpr(this);
}
public TDynamicinvoke getDynamicinvoke()
{
return this._dynamicinvoke_;
}
public void setDynamicinvoke(TDynamicinvoke node)
{
if(this._dynamicinvoke_ != null)
{
this._dynamicinvoke_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._dynamicinvoke_ = node;
}
public TStringConstant getStringConstant()
{
return this._stringConstant_;
}
public void setStringConstant(TStringConstant node)
{
if(this._stringConstant_ != null)
{
this._stringConstant_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._stringConstant_ = node;
}
public PUnnamedMethodSignature getDynmethod()
{
return this._dynmethod_;
}
public void setDynmethod(PUnnamedMethodSignature node)
{
if(this._dynmethod_ != null)
{
this._dynmethod_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._dynmethod_ = node;
}
public TLParen getFirstl()
{
return this._firstl_;
}
public void setFirstl(TLParen node)
{
if(this._firstl_ != null)
{
this._firstl_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._firstl_ = node;
}
public PArgList getDynargs()
{
return this._dynargs_;
}
public void setDynargs(PArgList node)
{
if(this._dynargs_ != null)
{
this._dynargs_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._dynargs_ = node;
}
public TRParen getFirstr()
{
return this._firstr_;
}
public void setFirstr(TRParen node)
{
if(this._firstr_ != null)
{
this._firstr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._firstr_ = node;
}
public PMethodSignature getBsm()
{
return this._bsm_;
}
public void setBsm(PMethodSignature node)
{
if(this._bsm_ != null)
{
this._bsm_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._bsm_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PArgList getStaticargs()
{
return this._staticargs_;
}
public void setStaticargs(PArgList node)
{
if(this._staticargs_ != null)
{
this._staticargs_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._staticargs_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._dynamicinvoke_)
+ toString(this._stringConstant_)
+ toString(this._dynmethod_)
+ toString(this._firstl_)
+ toString(this._dynargs_)
+ toString(this._firstr_)
+ toString(this._bsm_)
+ toString(this._lParen_)
+ toString(this._staticargs_)
+ toString(this._rParen_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._dynamicinvoke_ == child)
{
this._dynamicinvoke_ = null;
return;
}
if(this._stringConstant_ == child)
{
this._stringConstant_ = null;
return;
}
if(this._dynmethod_ == child)
{
this._dynmethod_ = null;
return;
}
if(this._firstl_ == child)
{
this._firstl_ = null;
return;
}
if(this._dynargs_ == child)
{
this._dynargs_ = null;
return;
}
if(this._firstr_ == child)
{
this._firstr_ = null;
return;
}
if(this._bsm_ == child)
{
this._bsm_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._staticargs_ == child)
{
this._staticargs_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._dynamicinvoke_ == oldChild)
{
setDynamicinvoke((TDynamicinvoke) newChild);
return;
}
if(this._stringConstant_ == oldChild)
{
setStringConstant((TStringConstant) newChild);
return;
}
if(this._dynmethod_ == oldChild)
{
setDynmethod((PUnnamedMethodSignature) newChild);
return;
}
if(this._firstl_ == oldChild)
{
setFirstl((TLParen) newChild);
return;
}
if(this._dynargs_ == oldChild)
{
setDynargs((PArgList) newChild);
return;
}
if(this._firstr_ == oldChild)
{
setFirstr((TRParen) newChild);
return;
}
if(this._bsm_ == oldChild)
{
setBsm((PMethodSignature) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._staticargs_ == oldChild)
{
setStaticargs((PArgList) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 10,222
| 20.165631
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AEmptyMethodBody.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AEmptyMethodBody extends PMethodBody
{
private TSemicolon _semicolon_;
public AEmptyMethodBody()
{
// Constructor
}
public AEmptyMethodBody(
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AEmptyMethodBody(
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAEmptyMethodBody(this);
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,942
| 19.239583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AEntermonitorStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AEntermonitorStatement extends PStatement
{
private TEntermonitor _entermonitor_;
private PImmediate _immediate_;
private TSemicolon _semicolon_;
public AEntermonitorStatement()
{
// Constructor
}
public AEntermonitorStatement(
@SuppressWarnings("hiding") TEntermonitor _entermonitor_,
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setEntermonitor(_entermonitor_);
setImmediate(_immediate_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AEntermonitorStatement(
cloneNode(this._entermonitor_),
cloneNode(this._immediate_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAEntermonitorStatement(this);
}
public TEntermonitor getEntermonitor()
{
return this._entermonitor_;
}
public void setEntermonitor(TEntermonitor node)
{
if(this._entermonitor_ != null)
{
this._entermonitor_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._entermonitor_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._entermonitor_)
+ toString(this._immediate_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._entermonitor_ == child)
{
this._entermonitor_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._entermonitor_ == oldChild)
{
setEntermonitor((TEntermonitor) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,894
| 20.401099
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AEnumModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AEnumModifier extends PModifier
{
private TEnum _enum_;
public AEnumModifier()
{
// Constructor
}
public AEnumModifier(
@SuppressWarnings("hiding") TEnum _enum_)
{
// Constructor
setEnum(_enum_);
}
@Override
public Object clone()
{
return new AEnumModifier(
cloneNode(this._enum_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAEnumModifier(this);
}
public TEnum getEnum()
{
return this._enum_;
}
public void setEnum(TEnum node)
{
if(this._enum_ != null)
{
this._enum_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._enum_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._enum_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._enum_ == child)
{
this._enum_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._enum_ == oldChild)
{
setEnum((TEnum) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,820
| 17.96875
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AExitmonitorStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AExitmonitorStatement extends PStatement
{
private TExitmonitor _exitmonitor_;
private PImmediate _immediate_;
private TSemicolon _semicolon_;
public AExitmonitorStatement()
{
// Constructor
}
public AExitmonitorStatement(
@SuppressWarnings("hiding") TExitmonitor _exitmonitor_,
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setExitmonitor(_exitmonitor_);
setImmediate(_immediate_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AExitmonitorStatement(
cloneNode(this._exitmonitor_),
cloneNode(this._immediate_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAExitmonitorStatement(this);
}
public TExitmonitor getExitmonitor()
{
return this._exitmonitor_;
}
public void setExitmonitor(TExitmonitor node)
{
if(this._exitmonitor_ != null)
{
this._exitmonitor_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._exitmonitor_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._exitmonitor_)
+ toString(this._immediate_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._exitmonitor_ == child)
{
this._exitmonitor_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._exitmonitor_ == oldChild)
{
setExitmonitor((TExitmonitor) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,868
| 20.258242
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AExtendsClause.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AExtendsClause extends PExtendsClause
{
private TExtends _extends_;
private PClassName _className_;
public AExtendsClause()
{
// Constructor
}
public AExtendsClause(
@SuppressWarnings("hiding") TExtends _extends_,
@SuppressWarnings("hiding") PClassName _className_)
{
// Constructor
setExtends(_extends_);
setClassName(_className_);
}
@Override
public Object clone()
{
return new AExtendsClause(
cloneNode(this._extends_),
cloneNode(this._className_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAExtendsClause(this);
}
public TExtends getExtends()
{
return this._extends_;
}
public void setExtends(TExtends node)
{
if(this._extends_ != null)
{
this._extends_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._extends_ = node;
}
public PClassName getClassName()
{
return this._className_;
}
public void setClassName(PClassName node)
{
if(this._className_ != null)
{
this._className_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._className_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._extends_)
+ toString(this._className_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._extends_ == child)
{
this._extends_ = null;
return;
}
if(this._className_ == child)
{
this._className_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._extends_ == oldChild)
{
setExtends((TExtends) newChild);
return;
}
if(this._className_ == oldChild)
{
setClassName((PClassName) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,823
| 19.316547
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFieldMember.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFieldMember extends PMember
{
private final LinkedList<PModifier> _modifier_ = new LinkedList<PModifier>();
private PType _type_;
private PName _name_;
private TSemicolon _semicolon_;
public AFieldMember()
{
// Constructor
}
public AFieldMember(
@SuppressWarnings("hiding") List<?> _modifier_,
@SuppressWarnings("hiding") PType _type_,
@SuppressWarnings("hiding") PName _name_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setModifier(_modifier_);
setType(_type_);
setName(_name_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AFieldMember(
cloneList(this._modifier_),
cloneNode(this._type_),
cloneNode(this._name_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFieldMember(this);
}
public LinkedList<PModifier> getModifier()
{
return this._modifier_;
}
public void setModifier(List<?> list)
{
for(PModifier e : this._modifier_)
{
e.parent(null);
}
this._modifier_.clear();
for(Object obj_e : list)
{
PModifier e = (PModifier) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._modifier_.add(e);
}
}
public PType getType()
{
return this._type_;
}
public void setType(PType node)
{
if(this._type_ != null)
{
this._type_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._type_ = node;
}
public PName getName()
{
return this._name_;
}
public void setName(PName node)
{
if(this._name_ != null)
{
this._name_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._name_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._modifier_)
+ toString(this._type_)
+ toString(this._name_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._modifier_.remove(child))
{
return;
}
if(this._type_ == child)
{
this._type_ = null;
return;
}
if(this._name_ == child)
{
this._name_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
for(ListIterator<PModifier> i = this._modifier_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PModifier) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
if(this._type_ == oldChild)
{
setType((PType) newChild);
return;
}
if(this._name_ == oldChild)
{
setName((PName) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 4,964
| 19.861345
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFieldReference.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFieldReference extends PReference
{
private PFieldRef _fieldRef_;
public AFieldReference()
{
// Constructor
}
public AFieldReference(
@SuppressWarnings("hiding") PFieldRef _fieldRef_)
{
// Constructor
setFieldRef(_fieldRef_);
}
@Override
public Object clone()
{
return new AFieldReference(
cloneNode(this._fieldRef_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFieldReference(this);
}
public PFieldRef getFieldRef()
{
return this._fieldRef_;
}
public void setFieldRef(PFieldRef node)
{
if(this._fieldRef_ != null)
{
this._fieldRef_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fieldRef_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._fieldRef_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._fieldRef_ == child)
{
this._fieldRef_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._fieldRef_ == oldChild)
{
setFieldRef((PFieldRef) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,915
| 18.958333
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFieldSignature.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFieldSignature extends PFieldSignature
{
private TCmplt _cmplt_;
private PClassName _className_;
private TColon _first_;
private PType _type_;
private PName _fieldName_;
private TCmpgt _cmpgt_;
public AFieldSignature()
{
// Constructor
}
public AFieldSignature(
@SuppressWarnings("hiding") TCmplt _cmplt_,
@SuppressWarnings("hiding") PClassName _className_,
@SuppressWarnings("hiding") TColon _first_,
@SuppressWarnings("hiding") PType _type_,
@SuppressWarnings("hiding") PName _fieldName_,
@SuppressWarnings("hiding") TCmpgt _cmpgt_)
{
// Constructor
setCmplt(_cmplt_);
setClassName(_className_);
setFirst(_first_);
setType(_type_);
setFieldName(_fieldName_);
setCmpgt(_cmpgt_);
}
@Override
public Object clone()
{
return new AFieldSignature(
cloneNode(this._cmplt_),
cloneNode(this._className_),
cloneNode(this._first_),
cloneNode(this._type_),
cloneNode(this._fieldName_),
cloneNode(this._cmpgt_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFieldSignature(this);
}
public TCmplt getCmplt()
{
return this._cmplt_;
}
public void setCmplt(TCmplt node)
{
if(this._cmplt_ != null)
{
this._cmplt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmplt_ = node;
}
public PClassName getClassName()
{
return this._className_;
}
public void setClassName(PClassName node)
{
if(this._className_ != null)
{
this._className_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._className_ = node;
}
public TColon getFirst()
{
return this._first_;
}
public void setFirst(TColon node)
{
if(this._first_ != null)
{
this._first_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._first_ = node;
}
public PType getType()
{
return this._type_;
}
public void setType(PType node)
{
if(this._type_ != null)
{
this._type_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._type_ = node;
}
public PName getFieldName()
{
return this._fieldName_;
}
public void setFieldName(PName node)
{
if(this._fieldName_ != null)
{
this._fieldName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fieldName_ = node;
}
public TCmpgt getCmpgt()
{
return this._cmpgt_;
}
public void setCmpgt(TCmpgt node)
{
if(this._cmpgt_ != null)
{
this._cmpgt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmpgt_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._cmplt_)
+ toString(this._className_)
+ toString(this._first_)
+ toString(this._type_)
+ toString(this._fieldName_)
+ toString(this._cmpgt_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._cmplt_ == child)
{
this._cmplt_ = null;
return;
}
if(this._className_ == child)
{
this._className_ = null;
return;
}
if(this._first_ == child)
{
this._first_ = null;
return;
}
if(this._type_ == child)
{
this._type_ = null;
return;
}
if(this._fieldName_ == child)
{
this._fieldName_ = null;
return;
}
if(this._cmpgt_ == child)
{
this._cmpgt_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._cmplt_ == oldChild)
{
setCmplt((TCmplt) newChild);
return;
}
if(this._className_ == oldChild)
{
setClassName((PClassName) newChild);
return;
}
if(this._first_ == oldChild)
{
setFirst((TColon) newChild);
return;
}
if(this._type_ == oldChild)
{
setType((PType) newChild);
return;
}
if(this._fieldName_ == oldChild)
{
setFieldName((PName) newChild);
return;
}
if(this._cmpgt_ == oldChild)
{
setCmpgt((TCmpgt) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 6,209
| 18.967846
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFile.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFile extends PFile
{
private final LinkedList<PModifier> _modifier_ = new LinkedList<PModifier>();
private PFileType _fileType_;
private PClassName _className_;
private PExtendsClause _extendsClause_;
private PImplementsClause _implementsClause_;
private PFileBody _fileBody_;
public AFile()
{
// Constructor
}
public AFile(
@SuppressWarnings("hiding") List<?> _modifier_,
@SuppressWarnings("hiding") PFileType _fileType_,
@SuppressWarnings("hiding") PClassName _className_,
@SuppressWarnings("hiding") PExtendsClause _extendsClause_,
@SuppressWarnings("hiding") PImplementsClause _implementsClause_,
@SuppressWarnings("hiding") PFileBody _fileBody_)
{
// Constructor
setModifier(_modifier_);
setFileType(_fileType_);
setClassName(_className_);
setExtendsClause(_extendsClause_);
setImplementsClause(_implementsClause_);
setFileBody(_fileBody_);
}
@Override
public Object clone()
{
return new AFile(
cloneList(this._modifier_),
cloneNode(this._fileType_),
cloneNode(this._className_),
cloneNode(this._extendsClause_),
cloneNode(this._implementsClause_),
cloneNode(this._fileBody_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFile(this);
}
public LinkedList<PModifier> getModifier()
{
return this._modifier_;
}
public void setModifier(List<?> list)
{
for(PModifier e : this._modifier_)
{
e.parent(null);
}
this._modifier_.clear();
for(Object obj_e : list)
{
PModifier e = (PModifier) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._modifier_.add(e);
}
}
public PFileType getFileType()
{
return this._fileType_;
}
public void setFileType(PFileType node)
{
if(this._fileType_ != null)
{
this._fileType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fileType_ = node;
}
public PClassName getClassName()
{
return this._className_;
}
public void setClassName(PClassName node)
{
if(this._className_ != null)
{
this._className_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._className_ = node;
}
public PExtendsClause getExtendsClause()
{
return this._extendsClause_;
}
public void setExtendsClause(PExtendsClause node)
{
if(this._extendsClause_ != null)
{
this._extendsClause_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._extendsClause_ = node;
}
public PImplementsClause getImplementsClause()
{
return this._implementsClause_;
}
public void setImplementsClause(PImplementsClause node)
{
if(this._implementsClause_ != null)
{
this._implementsClause_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._implementsClause_ = node;
}
public PFileBody getFileBody()
{
return this._fileBody_;
}
public void setFileBody(PFileBody node)
{
if(this._fileBody_ != null)
{
this._fileBody_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fileBody_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._modifier_)
+ toString(this._fileType_)
+ toString(this._className_)
+ toString(this._extendsClause_)
+ toString(this._implementsClause_)
+ toString(this._fileBody_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._modifier_.remove(child))
{
return;
}
if(this._fileType_ == child)
{
this._fileType_ = null;
return;
}
if(this._className_ == child)
{
this._className_ = null;
return;
}
if(this._extendsClause_ == child)
{
this._extendsClause_ = null;
return;
}
if(this._implementsClause_ == child)
{
this._implementsClause_ = null;
return;
}
if(this._fileBody_ == child)
{
this._fileBody_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
for(ListIterator<PModifier> i = this._modifier_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PModifier) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
if(this._fileType_ == oldChild)
{
setFileType((PFileType) newChild);
return;
}
if(this._className_ == oldChild)
{
setClassName((PClassName) newChild);
return;
}
if(this._extendsClause_ == oldChild)
{
setExtendsClause((PExtendsClause) newChild);
return;
}
if(this._implementsClause_ == oldChild)
{
setImplementsClause((PImplementsClause) newChild);
return;
}
if(this._fileBody_ == oldChild)
{
setFileBody((PFileBody) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 7,186
| 21.182099
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFileBody.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFileBody extends PFileBody
{
private TLBrace _lBrace_;
private final LinkedList<PMember> _member_ = new LinkedList<PMember>();
private TRBrace _rBrace_;
public AFileBody()
{
// Constructor
}
public AFileBody(
@SuppressWarnings("hiding") TLBrace _lBrace_,
@SuppressWarnings("hiding") List<?> _member_,
@SuppressWarnings("hiding") TRBrace _rBrace_)
{
// Constructor
setLBrace(_lBrace_);
setMember(_member_);
setRBrace(_rBrace_);
}
@Override
public Object clone()
{
return new AFileBody(
cloneNode(this._lBrace_),
cloneList(this._member_),
cloneNode(this._rBrace_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFileBody(this);
}
public TLBrace getLBrace()
{
return this._lBrace_;
}
public void setLBrace(TLBrace node)
{
if(this._lBrace_ != null)
{
this._lBrace_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lBrace_ = node;
}
public LinkedList<PMember> getMember()
{
return this._member_;
}
public void setMember(List<?> list)
{
for(PMember e : this._member_)
{
e.parent(null);
}
this._member_.clear();
for(Object obj_e : list)
{
PMember e = (PMember) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._member_.add(e);
}
}
public TRBrace getRBrace()
{
return this._rBrace_;
}
public void setRBrace(TRBrace node)
{
if(this._rBrace_ != null)
{
this._rBrace_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rBrace_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._lBrace_)
+ toString(this._member_)
+ toString(this._rBrace_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._lBrace_ == child)
{
this._lBrace_ = null;
return;
}
if(this._member_.remove(child))
{
return;
}
if(this._rBrace_ == child)
{
this._rBrace_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._lBrace_ == oldChild)
{
setLBrace((TLBrace) newChild);
return;
}
for(ListIterator<PMember> i = this._member_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PMember) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
if(this._rBrace_ == oldChild)
{
setRBrace((TRBrace) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 4,061
| 19.830769
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFinalModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFinalModifier extends PModifier
{
private TFinal _final_;
public AFinalModifier()
{
// Constructor
}
public AFinalModifier(
@SuppressWarnings("hiding") TFinal _final_)
{
// Constructor
setFinal(_final_);
}
@Override
public Object clone()
{
return new AFinalModifier(
cloneNode(this._final_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFinalModifier(this);
}
public TFinal getFinal()
{
return this._final_;
}
public void setFinal(TFinal node)
{
if(this._final_ != null)
{
this._final_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._final_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._final_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._final_ == child)
{
this._final_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._final_ == oldChild)
{
setFinal((TFinal) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,846
| 18.239583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFixedArrayDescriptor.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFixedArrayDescriptor extends PFixedArrayDescriptor
{
private TLBracket _lBracket_;
private PImmediate _immediate_;
private TRBracket _rBracket_;
public AFixedArrayDescriptor()
{
// Constructor
}
public AFixedArrayDescriptor(
@SuppressWarnings("hiding") TLBracket _lBracket_,
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TRBracket _rBracket_)
{
// Constructor
setLBracket(_lBracket_);
setImmediate(_immediate_);
setRBracket(_rBracket_);
}
@Override
public Object clone()
{
return new AFixedArrayDescriptor(
cloneNode(this._lBracket_),
cloneNode(this._immediate_),
cloneNode(this._rBracket_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFixedArrayDescriptor(this);
}
public TLBracket getLBracket()
{
return this._lBracket_;
}
public void setLBracket(TLBracket node)
{
if(this._lBracket_ != null)
{
this._lBracket_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lBracket_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TRBracket getRBracket()
{
return this._rBracket_;
}
public void setRBracket(TRBracket node)
{
if(this._rBracket_ != null)
{
this._rBracket_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rBracket_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._lBracket_)
+ toString(this._immediate_)
+ toString(this._rBracket_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._lBracket_ == child)
{
this._lBracket_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._rBracket_ == child)
{
this._rBracket_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._lBracket_ == oldChild)
{
setLBracket((TLBracket) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._rBracket_ == oldChild)
{
setRBracket((TRBracket) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,795
| 19.857143
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFloatBaseType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFloatBaseType extends PBaseType
{
private TFloat _float_;
public AFloatBaseType()
{
// Constructor
}
public AFloatBaseType(
@SuppressWarnings("hiding") TFloat _float_)
{
// Constructor
setFloat(_float_);
}
@Override
public Object clone()
{
return new AFloatBaseType(
cloneNode(this._float_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFloatBaseType(this);
}
public TFloat getFloat()
{
return this._float_;
}
public void setFloat(TFloat node)
{
if(this._float_ != null)
{
this._float_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._float_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._float_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._float_ == child)
{
this._float_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._float_ == oldChild)
{
setFloat((TFloat) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,846
| 18.239583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFloatBaseTypeNoName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFloatBaseTypeNoName extends PBaseTypeNoName
{
private TFloat _float_;
public AFloatBaseTypeNoName()
{
// Constructor
}
public AFloatBaseTypeNoName(
@SuppressWarnings("hiding") TFloat _float_)
{
// Constructor
setFloat(_float_);
}
@Override
public Object clone()
{
return new AFloatBaseTypeNoName(
cloneNode(this._float_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFloatBaseTypeNoName(this);
}
public TFloat getFloat()
{
return this._float_;
}
public void setFloat(TFloat node)
{
if(this._float_ != null)
{
this._float_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._float_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._float_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._float_ == child)
{
this._float_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._float_ == oldChild)
{
setFloat((TFloat) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,882
| 18.614583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFloatConstant.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFloatConstant extends PConstant
{
private TMinus _minus_;
private TFloatConstant _floatConstant_;
public AFloatConstant()
{
// Constructor
}
public AFloatConstant(
@SuppressWarnings("hiding") TMinus _minus_,
@SuppressWarnings("hiding") TFloatConstant _floatConstant_)
{
// Constructor
setMinus(_minus_);
setFloatConstant(_floatConstant_);
}
@Override
public Object clone()
{
return new AFloatConstant(
cloneNode(this._minus_),
cloneNode(this._floatConstant_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFloatConstant(this);
}
public TMinus getMinus()
{
return this._minus_;
}
public void setMinus(TMinus node)
{
if(this._minus_ != null)
{
this._minus_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._minus_ = node;
}
public TFloatConstant getFloatConstant()
{
return this._floatConstant_;
}
public void setFloatConstant(TFloatConstant node)
{
if(this._floatConstant_ != null)
{
this._floatConstant_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._floatConstant_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._minus_)
+ toString(this._floatConstant_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._minus_ == child)
{
this._minus_ = null;
return;
}
if(this._floatConstant_ == child)
{
this._floatConstant_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._minus_ == oldChild)
{
setMinus((TMinus) newChild);
return;
}
if(this._floatConstant_ == oldChild)
{
setFloatConstant((TFloatConstant) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,860
| 19.582734
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFullIdentClassName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFullIdentClassName extends PClassName
{
private TFullIdentifier _fullIdentifier_;
public AFullIdentClassName()
{
// Constructor
}
public AFullIdentClassName(
@SuppressWarnings("hiding") TFullIdentifier _fullIdentifier_)
{
// Constructor
setFullIdentifier(_fullIdentifier_);
}
@Override
public Object clone()
{
return new AFullIdentClassName(
cloneNode(this._fullIdentifier_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFullIdentClassName(this);
}
public TFullIdentifier getFullIdentifier()
{
return this._fullIdentifier_;
}
public void setFullIdentifier(TFullIdentifier node)
{
if(this._fullIdentifier_ != null)
{
this._fullIdentifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fullIdentifier_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._fullIdentifier_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._fullIdentifier_ == child)
{
this._fullIdentifier_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._fullIdentifier_ == oldChild)
{
setFullIdentifier((TFullIdentifier) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,061
| 20.479167
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFullIdentNonvoidType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFullIdentNonvoidType extends PNonvoidType
{
private TFullIdentifier _fullIdentifier_;
private final LinkedList<PArrayBrackets> _arrayBrackets_ = new LinkedList<PArrayBrackets>();
public AFullIdentNonvoidType()
{
// Constructor
}
public AFullIdentNonvoidType(
@SuppressWarnings("hiding") TFullIdentifier _fullIdentifier_,
@SuppressWarnings("hiding") List<?> _arrayBrackets_)
{
// Constructor
setFullIdentifier(_fullIdentifier_);
setArrayBrackets(_arrayBrackets_);
}
@Override
public Object clone()
{
return new AFullIdentNonvoidType(
cloneNode(this._fullIdentifier_),
cloneList(this._arrayBrackets_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFullIdentNonvoidType(this);
}
public TFullIdentifier getFullIdentifier()
{
return this._fullIdentifier_;
}
public void setFullIdentifier(TFullIdentifier node)
{
if(this._fullIdentifier_ != null)
{
this._fullIdentifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fullIdentifier_ = node;
}
public LinkedList<PArrayBrackets> getArrayBrackets()
{
return this._arrayBrackets_;
}
public void setArrayBrackets(List<?> list)
{
for(PArrayBrackets e : this._arrayBrackets_)
{
e.parent(null);
}
this._arrayBrackets_.clear();
for(Object obj_e : list)
{
PArrayBrackets e = (PArrayBrackets) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._arrayBrackets_.add(e);
}
}
@Override
public String toString()
{
return ""
+ toString(this._fullIdentifier_)
+ toString(this._arrayBrackets_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._fullIdentifier_ == child)
{
this._fullIdentifier_ = null;
return;
}
if(this._arrayBrackets_.remove(child))
{
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._fullIdentifier_ == oldChild)
{
setFullIdentifier((TFullIdentifier) newChild);
return;
}
for(ListIterator<PArrayBrackets> i = this._arrayBrackets_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PArrayBrackets) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
throw new RuntimeException("Not a child.");
}
}
| 3,579
| 22.552632
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AFullMethodBody.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AFullMethodBody extends PMethodBody
{
private TLBrace _lBrace_;
private final LinkedList<PDeclaration> _declaration_ = new LinkedList<PDeclaration>();
private final LinkedList<PStatement> _statement_ = new LinkedList<PStatement>();
private final LinkedList<PCatchClause> _catchClause_ = new LinkedList<PCatchClause>();
private TRBrace _rBrace_;
public AFullMethodBody()
{
// Constructor
}
public AFullMethodBody(
@SuppressWarnings("hiding") TLBrace _lBrace_,
@SuppressWarnings("hiding") List<?> _declaration_,
@SuppressWarnings("hiding") List<?> _statement_,
@SuppressWarnings("hiding") List<?> _catchClause_,
@SuppressWarnings("hiding") TRBrace _rBrace_)
{
// Constructor
setLBrace(_lBrace_);
setDeclaration(_declaration_);
setStatement(_statement_);
setCatchClause(_catchClause_);
setRBrace(_rBrace_);
}
@Override
public Object clone()
{
return new AFullMethodBody(
cloneNode(this._lBrace_),
cloneList(this._declaration_),
cloneList(this._statement_),
cloneList(this._catchClause_),
cloneNode(this._rBrace_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAFullMethodBody(this);
}
public TLBrace getLBrace()
{
return this._lBrace_;
}
public void setLBrace(TLBrace node)
{
if(this._lBrace_ != null)
{
this._lBrace_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lBrace_ = node;
}
public LinkedList<PDeclaration> getDeclaration()
{
return this._declaration_;
}
public void setDeclaration(List<?> list)
{
for(PDeclaration e : this._declaration_)
{
e.parent(null);
}
this._declaration_.clear();
for(Object obj_e : list)
{
PDeclaration e = (PDeclaration) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._declaration_.add(e);
}
}
public LinkedList<PStatement> getStatement()
{
return this._statement_;
}
public void setStatement(List<?> list)
{
for(PStatement e : this._statement_)
{
e.parent(null);
}
this._statement_.clear();
for(Object obj_e : list)
{
PStatement e = (PStatement) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._statement_.add(e);
}
}
public LinkedList<PCatchClause> getCatchClause()
{
return this._catchClause_;
}
public void setCatchClause(List<?> list)
{
for(PCatchClause e : this._catchClause_)
{
e.parent(null);
}
this._catchClause_.clear();
for(Object obj_e : list)
{
PCatchClause e = (PCatchClause) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._catchClause_.add(e);
}
}
public TRBrace getRBrace()
{
return this._rBrace_;
}
public void setRBrace(TRBrace node)
{
if(this._rBrace_ != null)
{
this._rBrace_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rBrace_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._lBrace_)
+ toString(this._declaration_)
+ toString(this._statement_)
+ toString(this._catchClause_)
+ toString(this._rBrace_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._lBrace_ == child)
{
this._lBrace_ = null;
return;
}
if(this._declaration_.remove(child))
{
return;
}
if(this._statement_.remove(child))
{
return;
}
if(this._catchClause_.remove(child))
{
return;
}
if(this._rBrace_ == child)
{
this._rBrace_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._lBrace_ == oldChild)
{
setLBrace((TLBrace) newChild);
return;
}
for(ListIterator<PDeclaration> i = this._declaration_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PDeclaration) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
for(ListIterator<PStatement> i = this._statement_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PStatement) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
for(ListIterator<PCatchClause> i = this._catchClause_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PCatchClause) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
if(this._rBrace_ == oldChild)
{
setRBrace((TRBrace) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 7,043
| 22.095082
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AGotoStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AGotoStatement extends PStatement
{
private PGotoStmt _gotoStmt_;
public AGotoStatement()
{
// Constructor
}
public AGotoStatement(
@SuppressWarnings("hiding") PGotoStmt _gotoStmt_)
{
// Constructor
setGotoStmt(_gotoStmt_);
}
@Override
public Object clone()
{
return new AGotoStatement(
cloneNode(this._gotoStmt_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAGotoStatement(this);
}
public PGotoStmt getGotoStmt()
{
return this._gotoStmt_;
}
public void setGotoStmt(PGotoStmt node)
{
if(this._gotoStmt_ != null)
{
this._gotoStmt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._gotoStmt_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._gotoStmt_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._gotoStmt_ == child)
{
this._gotoStmt_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._gotoStmt_ == oldChild)
{
setGotoStmt((PGotoStmt) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,910
| 18.90625
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AGotoStmt.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AGotoStmt extends PGotoStmt
{
private TGoto _goto_;
private PLabelName _labelName_;
private TSemicolon _semicolon_;
public AGotoStmt()
{
// Constructor
}
public AGotoStmt(
@SuppressWarnings("hiding") TGoto _goto_,
@SuppressWarnings("hiding") PLabelName _labelName_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setGoto(_goto_);
setLabelName(_labelName_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AGotoStmt(
cloneNode(this._goto_),
cloneNode(this._labelName_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAGotoStmt(this);
}
public TGoto getGoto()
{
return this._goto_;
}
public void setGoto(TGoto node)
{
if(this._goto_ != null)
{
this._goto_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._goto_ = node;
}
public PLabelName getLabelName()
{
return this._labelName_;
}
public void setLabelName(PLabelName node)
{
if(this._labelName_ != null)
{
this._labelName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._labelName_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._goto_)
+ toString(this._labelName_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._goto_ == child)
{
this._goto_ = null;
return;
}
if(this._labelName_ == child)
{
this._labelName_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._goto_ == oldChild)
{
setGoto((TGoto) newChild);
return;
}
if(this._labelName_ == oldChild)
{
setLabelName((PLabelName) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,660
| 19.115385
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIdentArrayRef.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIdentArrayRef extends PArrayRef
{
private TIdentifier _identifier_;
private PFixedArrayDescriptor _fixedArrayDescriptor_;
public AIdentArrayRef()
{
// Constructor
}
public AIdentArrayRef(
@SuppressWarnings("hiding") TIdentifier _identifier_,
@SuppressWarnings("hiding") PFixedArrayDescriptor _fixedArrayDescriptor_)
{
// Constructor
setIdentifier(_identifier_);
setFixedArrayDescriptor(_fixedArrayDescriptor_);
}
@Override
public Object clone()
{
return new AIdentArrayRef(
cloneNode(this._identifier_),
cloneNode(this._fixedArrayDescriptor_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIdentArrayRef(this);
}
public TIdentifier getIdentifier()
{
return this._identifier_;
}
public void setIdentifier(TIdentifier node)
{
if(this._identifier_ != null)
{
this._identifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._identifier_ = node;
}
public PFixedArrayDescriptor getFixedArrayDescriptor()
{
return this._fixedArrayDescriptor_;
}
public void setFixedArrayDescriptor(PFixedArrayDescriptor node)
{
if(this._fixedArrayDescriptor_ != null)
{
this._fixedArrayDescriptor_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fixedArrayDescriptor_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._identifier_)
+ toString(this._fixedArrayDescriptor_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._identifier_ == child)
{
this._identifier_ = null;
return;
}
if(this._fixedArrayDescriptor_ == child)
{
this._fixedArrayDescriptor_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._identifier_ == oldChild)
{
setIdentifier((TIdentifier) newChild);
return;
}
if(this._fixedArrayDescriptor_ == oldChild)
{
setFixedArrayDescriptor((PFixedArrayDescriptor) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,112
| 21.395683
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIdentClassName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIdentClassName extends PClassName
{
private TIdentifier _identifier_;
public AIdentClassName()
{
// Constructor
}
public AIdentClassName(
@SuppressWarnings("hiding") TIdentifier _identifier_)
{
// Constructor
setIdentifier(_identifier_);
}
@Override
public Object clone()
{
return new AIdentClassName(
cloneNode(this._identifier_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIdentClassName(this);
}
public TIdentifier getIdentifier()
{
return this._identifier_;
}
public void setIdentifier(TIdentifier node)
{
if(this._identifier_ != null)
{
this._identifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._identifier_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._identifier_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._identifier_ == child)
{
this._identifier_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._identifier_ == oldChild)
{
setIdentifier((TIdentifier) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,957
| 19.395833
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIdentName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIdentName extends PName
{
private TIdentifier _identifier_;
public AIdentName()
{
// Constructor
}
public AIdentName(
@SuppressWarnings("hiding") TIdentifier _identifier_)
{
// Constructor
setIdentifier(_identifier_);
}
@Override
public Object clone()
{
return new AIdentName(
cloneNode(this._identifier_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIdentName(this);
}
public TIdentifier getIdentifier()
{
return this._identifier_;
}
public void setIdentifier(TIdentifier node)
{
if(this._identifier_ != null)
{
this._identifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._identifier_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._identifier_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._identifier_ == child)
{
this._identifier_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._identifier_ == oldChild)
{
setIdentifier((TIdentifier) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,927
| 19.083333
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIdentNonvoidType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIdentNonvoidType extends PNonvoidType
{
private TIdentifier _identifier_;
private final LinkedList<PArrayBrackets> _arrayBrackets_ = new LinkedList<PArrayBrackets>();
public AIdentNonvoidType()
{
// Constructor
}
public AIdentNonvoidType(
@SuppressWarnings("hiding") TIdentifier _identifier_,
@SuppressWarnings("hiding") List<?> _arrayBrackets_)
{
// Constructor
setIdentifier(_identifier_);
setArrayBrackets(_arrayBrackets_);
}
@Override
public Object clone()
{
return new AIdentNonvoidType(
cloneNode(this._identifier_),
cloneList(this._arrayBrackets_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIdentNonvoidType(this);
}
public TIdentifier getIdentifier()
{
return this._identifier_;
}
public void setIdentifier(TIdentifier node)
{
if(this._identifier_ != null)
{
this._identifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._identifier_ = node;
}
public LinkedList<PArrayBrackets> getArrayBrackets()
{
return this._arrayBrackets_;
}
public void setArrayBrackets(List<?> list)
{
for(PArrayBrackets e : this._arrayBrackets_)
{
e.parent(null);
}
this._arrayBrackets_.clear();
for(Object obj_e : list)
{
PArrayBrackets e = (PArrayBrackets) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._arrayBrackets_.add(e);
}
}
@Override
public String toString()
{
return ""
+ toString(this._identifier_)
+ toString(this._arrayBrackets_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._identifier_ == child)
{
this._identifier_ = null;
return;
}
if(this._arrayBrackets_.remove(child))
{
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._identifier_ == oldChild)
{
setIdentifier((TIdentifier) newChild);
return;
}
for(ListIterator<PArrayBrackets> i = this._arrayBrackets_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PArrayBrackets) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
throw new RuntimeException("Not a child.");
}
}
| 3,475
| 21.868421
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIdentityNoTypeStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIdentityNoTypeStatement extends PStatement
{
private PLocalName _localName_;
private TColonEquals _colonEquals_;
private TAtIdentifier _atIdentifier_;
private TSemicolon _semicolon_;
public AIdentityNoTypeStatement()
{
// Constructor
}
public AIdentityNoTypeStatement(
@SuppressWarnings("hiding") PLocalName _localName_,
@SuppressWarnings("hiding") TColonEquals _colonEquals_,
@SuppressWarnings("hiding") TAtIdentifier _atIdentifier_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setLocalName(_localName_);
setColonEquals(_colonEquals_);
setAtIdentifier(_atIdentifier_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AIdentityNoTypeStatement(
cloneNode(this._localName_),
cloneNode(this._colonEquals_),
cloneNode(this._atIdentifier_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIdentityNoTypeStatement(this);
}
public PLocalName getLocalName()
{
return this._localName_;
}
public void setLocalName(PLocalName node)
{
if(this._localName_ != null)
{
this._localName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localName_ = node;
}
public TColonEquals getColonEquals()
{
return this._colonEquals_;
}
public void setColonEquals(TColonEquals node)
{
if(this._colonEquals_ != null)
{
this._colonEquals_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._colonEquals_ = node;
}
public TAtIdentifier getAtIdentifier()
{
return this._atIdentifier_;
}
public void setAtIdentifier(TAtIdentifier node)
{
if(this._atIdentifier_ != null)
{
this._atIdentifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._atIdentifier_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._localName_)
+ toString(this._colonEquals_)
+ toString(this._atIdentifier_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._localName_ == child)
{
this._localName_ = null;
return;
}
if(this._colonEquals_ == child)
{
this._colonEquals_ = null;
return;
}
if(this._atIdentifier_ == child)
{
this._atIdentifier_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._localName_ == oldChild)
{
setLocalName((PLocalName) newChild);
return;
}
if(this._colonEquals_ == oldChild)
{
setColonEquals((TColonEquals) newChild);
return;
}
if(this._atIdentifier_ == oldChild)
{
setAtIdentifier((TAtIdentifier) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 4,876
| 20.675556
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIdentityStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIdentityStatement extends PStatement
{
private PLocalName _localName_;
private TColonEquals _colonEquals_;
private TAtIdentifier _atIdentifier_;
private PType _type_;
private TSemicolon _semicolon_;
public AIdentityStatement()
{
// Constructor
}
public AIdentityStatement(
@SuppressWarnings("hiding") PLocalName _localName_,
@SuppressWarnings("hiding") TColonEquals _colonEquals_,
@SuppressWarnings("hiding") TAtIdentifier _atIdentifier_,
@SuppressWarnings("hiding") PType _type_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setLocalName(_localName_);
setColonEquals(_colonEquals_);
setAtIdentifier(_atIdentifier_);
setType(_type_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AIdentityStatement(
cloneNode(this._localName_),
cloneNode(this._colonEquals_),
cloneNode(this._atIdentifier_),
cloneNode(this._type_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIdentityStatement(this);
}
public PLocalName getLocalName()
{
return this._localName_;
}
public void setLocalName(PLocalName node)
{
if(this._localName_ != null)
{
this._localName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localName_ = node;
}
public TColonEquals getColonEquals()
{
return this._colonEquals_;
}
public void setColonEquals(TColonEquals node)
{
if(this._colonEquals_ != null)
{
this._colonEquals_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._colonEquals_ = node;
}
public TAtIdentifier getAtIdentifier()
{
return this._atIdentifier_;
}
public void setAtIdentifier(TAtIdentifier node)
{
if(this._atIdentifier_ != null)
{
this._atIdentifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._atIdentifier_ = node;
}
public PType getType()
{
return this._type_;
}
public void setType(PType node)
{
if(this._type_ != null)
{
this._type_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._type_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._localName_)
+ toString(this._colonEquals_)
+ toString(this._atIdentifier_)
+ toString(this._type_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._localName_ == child)
{
this._localName_ = null;
return;
}
if(this._colonEquals_ == child)
{
this._colonEquals_ = null;
return;
}
if(this._atIdentifier_ == child)
{
this._atIdentifier_ = null;
return;
}
if(this._type_ == child)
{
this._type_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._localName_ == oldChild)
{
setLocalName((PLocalName) newChild);
return;
}
if(this._colonEquals_ == oldChild)
{
setColonEquals((TColonEquals) newChild);
return;
}
if(this._atIdentifier_ == oldChild)
{
setAtIdentifier((TAtIdentifier) newChild);
return;
}
if(this._type_ == oldChild)
{
setType((PType) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 5,671
| 20.164179
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIfStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIfStatement extends PStatement
{
private TIf _if_;
private PBoolExpr _boolExpr_;
private PGotoStmt _gotoStmt_;
public AIfStatement()
{
// Constructor
}
public AIfStatement(
@SuppressWarnings("hiding") TIf _if_,
@SuppressWarnings("hiding") PBoolExpr _boolExpr_,
@SuppressWarnings("hiding") PGotoStmt _gotoStmt_)
{
// Constructor
setIf(_if_);
setBoolExpr(_boolExpr_);
setGotoStmt(_gotoStmt_);
}
@Override
public Object clone()
{
return new AIfStatement(
cloneNode(this._if_),
cloneNode(this._boolExpr_),
cloneNode(this._gotoStmt_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIfStatement(this);
}
public TIf getIf()
{
return this._if_;
}
public void setIf(TIf node)
{
if(this._if_ != null)
{
this._if_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._if_ = node;
}
public PBoolExpr getBoolExpr()
{
return this._boolExpr_;
}
public void setBoolExpr(PBoolExpr node)
{
if(this._boolExpr_ != null)
{
this._boolExpr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._boolExpr_ = node;
}
public PGotoStmt getGotoStmt()
{
return this._gotoStmt_;
}
public void setGotoStmt(PGotoStmt node)
{
if(this._gotoStmt_ != null)
{
this._gotoStmt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._gotoStmt_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._if_)
+ toString(this._boolExpr_)
+ toString(this._gotoStmt_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._if_ == child)
{
this._if_ = null;
return;
}
if(this._boolExpr_ == child)
{
this._boolExpr_ = null;
return;
}
if(this._gotoStmt_ == child)
{
this._gotoStmt_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._if_ == oldChild)
{
setIf((TIf) newChild);
return;
}
if(this._boolExpr_ == oldChild)
{
setBoolExpr((PBoolExpr) newChild);
return;
}
if(this._gotoStmt_ == oldChild)
{
setGotoStmt((PGotoStmt) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,592
| 18.741758
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AImmediateExpression.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AImmediateExpression extends PExpression
{
private PImmediate _immediate_;
public AImmediateExpression()
{
// Constructor
}
public AImmediateExpression(
@SuppressWarnings("hiding") PImmediate _immediate_)
{
// Constructor
setImmediate(_immediate_);
}
@Override
public Object clone()
{
return new AImmediateExpression(
cloneNode(this._immediate_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAImmediateExpression(this);
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._immediate_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,962
| 19.447917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AImplementsClause.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AImplementsClause extends PImplementsClause
{
private TImplements _implements_;
private PClassNameList _classNameList_;
public AImplementsClause()
{
// Constructor
}
public AImplementsClause(
@SuppressWarnings("hiding") TImplements _implements_,
@SuppressWarnings("hiding") PClassNameList _classNameList_)
{
// Constructor
setImplements(_implements_);
setClassNameList(_classNameList_);
}
@Override
public Object clone()
{
return new AImplementsClause(
cloneNode(this._implements_),
cloneNode(this._classNameList_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAImplementsClause(this);
}
public TImplements getImplements()
{
return this._implements_;
}
public void setImplements(TImplements node)
{
if(this._implements_ != null)
{
this._implements_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._implements_ = node;
}
public PClassNameList getClassNameList()
{
return this._classNameList_;
}
public void setClassNameList(PClassNameList node)
{
if(this._classNameList_ != null)
{
this._classNameList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._classNameList_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._implements_)
+ toString(this._classNameList_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._implements_ == child)
{
this._implements_ = null;
return;
}
if(this._classNameList_ == child)
{
this._classNameList_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._implements_ == oldChild)
{
setImplements((TImplements) newChild);
return;
}
if(this._classNameList_ == oldChild)
{
setClassNameList((PClassNameList) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,988
| 20.503597
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AInstanceofExpression.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AInstanceofExpression extends PExpression
{
private PImmediate _immediate_;
private TInstanceof _instanceof_;
private PNonvoidType _nonvoidType_;
public AInstanceofExpression()
{
// Constructor
}
public AInstanceofExpression(
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TInstanceof _instanceof_,
@SuppressWarnings("hiding") PNonvoidType _nonvoidType_)
{
// Constructor
setImmediate(_immediate_);
setInstanceof(_instanceof_);
setNonvoidType(_nonvoidType_);
}
@Override
public Object clone()
{
return new AInstanceofExpression(
cloneNode(this._immediate_),
cloneNode(this._instanceof_),
cloneNode(this._nonvoidType_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAInstanceofExpression(this);
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TInstanceof getInstanceof()
{
return this._instanceof_;
}
public void setInstanceof(TInstanceof node)
{
if(this._instanceof_ != null)
{
this._instanceof_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._instanceof_ = node;
}
public PNonvoidType getNonvoidType()
{
return this._nonvoidType_;
}
public void setNonvoidType(PNonvoidType node)
{
if(this._nonvoidType_ != null)
{
this._nonvoidType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nonvoidType_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._immediate_)
+ toString(this._instanceof_)
+ toString(this._nonvoidType_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._instanceof_ == child)
{
this._instanceof_ = null;
return;
}
if(this._nonvoidType_ == child)
{
this._nonvoidType_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._instanceof_ == oldChild)
{
setInstanceof((TInstanceof) newChild);
return;
}
if(this._nonvoidType_ == oldChild)
{
setNonvoidType((PNonvoidType) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,890
| 20.379121
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIntBaseType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIntBaseType extends PBaseType
{
private TInt _int_;
public AIntBaseType()
{
// Constructor
}
public AIntBaseType(
@SuppressWarnings("hiding") TInt _int_)
{
// Constructor
setInt(_int_);
}
@Override
public Object clone()
{
return new AIntBaseType(
cloneNode(this._int_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIntBaseType(this);
}
public TInt getInt()
{
return this._int_;
}
public void setInt(TInt node)
{
if(this._int_ != null)
{
this._int_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._int_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._int_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._int_ == child)
{
this._int_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._int_ == oldChild)
{
setInt((TInt) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,794
| 17.697917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIntBaseTypeNoName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIntBaseTypeNoName extends PBaseTypeNoName
{
private TInt _int_;
public AIntBaseTypeNoName()
{
// Constructor
}
public AIntBaseTypeNoName(
@SuppressWarnings("hiding") TInt _int_)
{
// Constructor
setInt(_int_);
}
@Override
public Object clone()
{
return new AIntBaseTypeNoName(
cloneNode(this._int_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIntBaseTypeNoName(this);
}
public TInt getInt()
{
return this._int_;
}
public void setInt(TInt node)
{
if(this._int_ != null)
{
this._int_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._int_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._int_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._int_ == child)
{
this._int_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._int_ == oldChild)
{
setInt((TInt) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,830
| 18.072917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AIntegerConstant.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AIntegerConstant extends PConstant
{
private TMinus _minus_;
private TIntegerConstant _integerConstant_;
public AIntegerConstant()
{
// Constructor
}
public AIntegerConstant(
@SuppressWarnings("hiding") TMinus _minus_,
@SuppressWarnings("hiding") TIntegerConstant _integerConstant_)
{
// Constructor
setMinus(_minus_);
setIntegerConstant(_integerConstant_);
}
@Override
public Object clone()
{
return new AIntegerConstant(
cloneNode(this._minus_),
cloneNode(this._integerConstant_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAIntegerConstant(this);
}
public TMinus getMinus()
{
return this._minus_;
}
public void setMinus(TMinus node)
{
if(this._minus_ != null)
{
this._minus_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._minus_ = node;
}
public TIntegerConstant getIntegerConstant()
{
return this._integerConstant_;
}
public void setIntegerConstant(TIntegerConstant node)
{
if(this._integerConstant_ != null)
{
this._integerConstant_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._integerConstant_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._minus_)
+ toString(this._integerConstant_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._minus_ == child)
{
this._minus_ = null;
return;
}
if(this._integerConstant_ == child)
{
this._integerConstant_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._minus_ == oldChild)
{
setMinus((TMinus) newChild);
return;
}
if(this._integerConstant_ == oldChild)
{
setIntegerConstant((TIntegerConstant) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,912
| 19.956835
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AInterfaceFileType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AInterfaceFileType extends PFileType
{
private TInterface _interface_;
public AInterfaceFileType()
{
// Constructor
}
public AInterfaceFileType(
@SuppressWarnings("hiding") TInterface _interface_)
{
// Constructor
setInterface(_interface_);
}
@Override
public Object clone()
{
return new AInterfaceFileType(
cloneNode(this._interface_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAInterfaceFileType(this);
}
public TInterface getInterface()
{
return this._interface_;
}
public void setInterface(TInterface node)
{
if(this._interface_ != null)
{
this._interface_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._interface_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._interface_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._interface_ == child)
{
this._interface_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._interface_ == oldChild)
{
setInterface((TInterface) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,950
| 19.322917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AInterfaceNonstaticInvoke.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AInterfaceNonstaticInvoke extends PNonstaticInvoke
{
private TInterfaceinvoke _interfaceinvoke_;
public AInterfaceNonstaticInvoke()
{
// Constructor
}
public AInterfaceNonstaticInvoke(
@SuppressWarnings("hiding") TInterfaceinvoke _interfaceinvoke_)
{
// Constructor
setInterfaceinvoke(_interfaceinvoke_);
}
@Override
public Object clone()
{
return new AInterfaceNonstaticInvoke(
cloneNode(this._interfaceinvoke_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAInterfaceNonstaticInvoke(this);
}
public TInterfaceinvoke getInterfaceinvoke()
{
return this._interfaceinvoke_;
}
public void setInterfaceinvoke(TInterfaceinvoke node)
{
if(this._interfaceinvoke_ != null)
{
this._interfaceinvoke_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._interfaceinvoke_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._interfaceinvoke_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._interfaceinvoke_ == child)
{
this._interfaceinvoke_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._interfaceinvoke_ == oldChild)
{
setInterfaceinvoke((TInterfaceinvoke) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,118
| 21.072917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AInvokeExpression.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AInvokeExpression extends PExpression
{
private PInvokeExpr _invokeExpr_;
public AInvokeExpression()
{
// Constructor
}
public AInvokeExpression(
@SuppressWarnings("hiding") PInvokeExpr _invokeExpr_)
{
// Constructor
setInvokeExpr(_invokeExpr_);
}
@Override
public Object clone()
{
return new AInvokeExpression(
cloneNode(this._invokeExpr_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAInvokeExpression(this);
}
public PInvokeExpr getInvokeExpr()
{
return this._invokeExpr_;
}
public void setInvokeExpr(PInvokeExpr node)
{
if(this._invokeExpr_ != null)
{
this._invokeExpr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._invokeExpr_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._invokeExpr_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._invokeExpr_ == child)
{
this._invokeExpr_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._invokeExpr_ == oldChild)
{
setInvokeExpr((PInvokeExpr) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,968
| 19.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AInvokeStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AInvokeStatement extends PStatement
{
private PInvokeExpr _invokeExpr_;
private TSemicolon _semicolon_;
public AInvokeStatement()
{
// Constructor
}
public AInvokeStatement(
@SuppressWarnings("hiding") PInvokeExpr _invokeExpr_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setInvokeExpr(_invokeExpr_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AInvokeStatement(
cloneNode(this._invokeExpr_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAInvokeStatement(this);
}
public PInvokeExpr getInvokeExpr()
{
return this._invokeExpr_;
}
public void setInvokeExpr(PInvokeExpr node)
{
if(this._invokeExpr_ != null)
{
this._invokeExpr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._invokeExpr_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._invokeExpr_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._invokeExpr_ == child)
{
this._invokeExpr_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._invokeExpr_ == oldChild)
{
setInvokeExpr((PInvokeExpr) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,892
| 19.81295
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALabelName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALabelName extends PLabelName
{
private TIdentifier _identifier_;
public ALabelName()
{
// Constructor
}
public ALabelName(
@SuppressWarnings("hiding") TIdentifier _identifier_)
{
// Constructor
setIdentifier(_identifier_);
}
@Override
public Object clone()
{
return new ALabelName(
cloneNode(this._identifier_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALabelName(this);
}
public TIdentifier getIdentifier()
{
return this._identifier_;
}
public void setIdentifier(TIdentifier node)
{
if(this._identifier_ != null)
{
this._identifier_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._identifier_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._identifier_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._identifier_ == child)
{
this._identifier_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._identifier_ == oldChild)
{
setIdentifier((TIdentifier) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,932
| 19.135417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALabelStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALabelStatement extends PStatement
{
private PLabelName _labelName_;
private TColon _colon_;
public ALabelStatement()
{
// Constructor
}
public ALabelStatement(
@SuppressWarnings("hiding") PLabelName _labelName_,
@SuppressWarnings("hiding") TColon _colon_)
{
// Constructor
setLabelName(_labelName_);
setColon(_colon_);
}
@Override
public Object clone()
{
return new ALabelStatement(
cloneNode(this._labelName_),
cloneNode(this._colon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALabelStatement(this);
}
public PLabelName getLabelName()
{
return this._labelName_;
}
public void setLabelName(PLabelName node)
{
if(this._labelName_ != null)
{
this._labelName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._labelName_ = node;
}
public TColon getColon()
{
return this._colon_;
}
public void setColon(TColon node)
{
if(this._colon_ != null)
{
this._colon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._colon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._labelName_)
+ toString(this._colon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._labelName_ == child)
{
this._labelName_ = null;
return;
}
if(this._colon_ == child)
{
this._colon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._labelName_ == oldChild)
{
setLabelName((PLabelName) newChild);
return;
}
if(this._colon_ == oldChild)
{
setColon((TColon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,782
| 19.021583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALengthofUnop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALengthofUnop extends PUnop
{
private TLengthof _lengthof_;
public ALengthofUnop()
{
// Constructor
}
public ALengthofUnop(
@SuppressWarnings("hiding") TLengthof _lengthof_)
{
// Constructor
setLengthof(_lengthof_);
}
@Override
public Object clone()
{
return new ALengthofUnop(
cloneNode(this._lengthof_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALengthofUnop(this);
}
public TLengthof getLengthof()
{
return this._lengthof_;
}
public void setLengthof(TLengthof node)
{
if(this._lengthof_ != null)
{
this._lengthof_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lengthof_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._lengthof_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._lengthof_ == child)
{
this._lengthof_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._lengthof_ == oldChild)
{
setLengthof((TLengthof) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,900
| 18.802083
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALocalFieldRef.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALocalFieldRef extends PFieldRef
{
private PLocalName _localName_;
private TDot _dot_;
private PFieldSignature _fieldSignature_;
public ALocalFieldRef()
{
// Constructor
}
public ALocalFieldRef(
@SuppressWarnings("hiding") PLocalName _localName_,
@SuppressWarnings("hiding") TDot _dot_,
@SuppressWarnings("hiding") PFieldSignature _fieldSignature_)
{
// Constructor
setLocalName(_localName_);
setDot(_dot_);
setFieldSignature(_fieldSignature_);
}
@Override
public Object clone()
{
return new ALocalFieldRef(
cloneNode(this._localName_),
cloneNode(this._dot_),
cloneNode(this._fieldSignature_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALocalFieldRef(this);
}
public PLocalName getLocalName()
{
return this._localName_;
}
public void setLocalName(PLocalName node)
{
if(this._localName_ != null)
{
this._localName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localName_ = node;
}
public TDot getDot()
{
return this._dot_;
}
public void setDot(TDot node)
{
if(this._dot_ != null)
{
this._dot_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._dot_ = node;
}
public PFieldSignature getFieldSignature()
{
return this._fieldSignature_;
}
public void setFieldSignature(PFieldSignature node)
{
if(this._fieldSignature_ != null)
{
this._fieldSignature_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fieldSignature_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._localName_)
+ toString(this._dot_)
+ toString(this._fieldSignature_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._localName_ == child)
{
this._localName_ = null;
return;
}
if(this._dot_ == child)
{
this._dot_ = null;
return;
}
if(this._fieldSignature_ == child)
{
this._fieldSignature_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._localName_ == oldChild)
{
setLocalName((PLocalName) newChild);
return;
}
if(this._dot_ == oldChild)
{
setDot((TDot) newChild);
return;
}
if(this._fieldSignature_ == oldChild)
{
setFieldSignature((PFieldSignature) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,769
| 19.714286
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALocalImmediate.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALocalImmediate extends PImmediate
{
private PLocalName _localName_;
public ALocalImmediate()
{
// Constructor
}
public ALocalImmediate(
@SuppressWarnings("hiding") PLocalName _localName_)
{
// Constructor
setLocalName(_localName_);
}
@Override
public Object clone()
{
return new ALocalImmediate(
cloneNode(this._localName_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALocalImmediate(this);
}
public PLocalName getLocalName()
{
return this._localName_;
}
public void setLocalName(PLocalName node)
{
if(this._localName_ != null)
{
this._localName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localName_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._localName_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._localName_ == child)
{
this._localName_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._localName_ == oldChild)
{
setLocalName((PLocalName) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,936
| 19.177083
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALocalName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALocalName extends PLocalName
{
private PName _name_;
public ALocalName()
{
// Constructor
}
public ALocalName(
@SuppressWarnings("hiding") PName _name_)
{
// Constructor
setName(_name_);
}
@Override
public Object clone()
{
return new ALocalName(
cloneNode(this._name_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALocalName(this);
}
public PName getName()
{
return this._name_;
}
public void setName(PName node)
{
if(this._name_ != null)
{
this._name_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._name_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._name_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._name_ == child)
{
this._name_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._name_ == oldChild)
{
setName((PName) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,806
| 17.822917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALocalVariable.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALocalVariable extends PVariable
{
private PLocalName _localName_;
public ALocalVariable()
{
// Constructor
}
public ALocalVariable(
@SuppressWarnings("hiding") PLocalName _localName_)
{
// Constructor
setLocalName(_localName_);
}
@Override
public Object clone()
{
return new ALocalVariable(
cloneNode(this._localName_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALocalVariable(this);
}
public PLocalName getLocalName()
{
return this._localName_;
}
public void setLocalName(PLocalName node)
{
if(this._localName_ != null)
{
this._localName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localName_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._localName_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._localName_ == child)
{
this._localName_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._localName_ == oldChild)
{
setLocalName((PLocalName) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,930
| 19.114583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALongBaseType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALongBaseType extends PBaseType
{
private TLong _long_;
public ALongBaseType()
{
// Constructor
}
public ALongBaseType(
@SuppressWarnings("hiding") TLong _long_)
{
// Constructor
setLong(_long_);
}
@Override
public Object clone()
{
return new ALongBaseType(
cloneNode(this._long_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALongBaseType(this);
}
public TLong getLong()
{
return this._long_;
}
public void setLong(TLong node)
{
if(this._long_ != null)
{
this._long_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._long_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._long_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._long_ == child)
{
this._long_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._long_ == oldChild)
{
setLong((TLong) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,820
| 17.96875
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALongBaseTypeNoName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALongBaseTypeNoName extends PBaseTypeNoName
{
private TLong _long_;
public ALongBaseTypeNoName()
{
// Constructor
}
public ALongBaseTypeNoName(
@SuppressWarnings("hiding") TLong _long_)
{
// Constructor
setLong(_long_);
}
@Override
public Object clone()
{
return new ALongBaseTypeNoName(
cloneNode(this._long_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALongBaseTypeNoName(this);
}
public TLong getLong()
{
return this._long_;
}
public void setLong(TLong node)
{
if(this._long_ != null)
{
this._long_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._long_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._long_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._long_ == child)
{
this._long_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._long_ == oldChild)
{
setLong((TLong) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,856
| 18.34375
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ALookupswitchStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ALookupswitchStatement extends PStatement
{
private TLookupswitch _lookupswitch_;
private TLParen _lParen_;
private PImmediate _immediate_;
private TRParen _rParen_;
private TLBrace _lBrace_;
private final LinkedList<PCaseStmt> _caseStmt_ = new LinkedList<PCaseStmt>();
private TRBrace _rBrace_;
private TSemicolon _semicolon_;
public ALookupswitchStatement()
{
// Constructor
}
public ALookupswitchStatement(
@SuppressWarnings("hiding") TLookupswitch _lookupswitch_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TRParen _rParen_,
@SuppressWarnings("hiding") TLBrace _lBrace_,
@SuppressWarnings("hiding") List<?> _caseStmt_,
@SuppressWarnings("hiding") TRBrace _rBrace_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setLookupswitch(_lookupswitch_);
setLParen(_lParen_);
setImmediate(_immediate_);
setRParen(_rParen_);
setLBrace(_lBrace_);
setCaseStmt(_caseStmt_);
setRBrace(_rBrace_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new ALookupswitchStatement(
cloneNode(this._lookupswitch_),
cloneNode(this._lParen_),
cloneNode(this._immediate_),
cloneNode(this._rParen_),
cloneNode(this._lBrace_),
cloneList(this._caseStmt_),
cloneNode(this._rBrace_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseALookupswitchStatement(this);
}
public TLookupswitch getLookupswitch()
{
return this._lookupswitch_;
}
public void setLookupswitch(TLookupswitch node)
{
if(this._lookupswitch_ != null)
{
this._lookupswitch_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lookupswitch_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
public TLBrace getLBrace()
{
return this._lBrace_;
}
public void setLBrace(TLBrace node)
{
if(this._lBrace_ != null)
{
this._lBrace_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lBrace_ = node;
}
public LinkedList<PCaseStmt> getCaseStmt()
{
return this._caseStmt_;
}
public void setCaseStmt(List<?> list)
{
for(PCaseStmt e : this._caseStmt_)
{
e.parent(null);
}
this._caseStmt_.clear();
for(Object obj_e : list)
{
PCaseStmt e = (PCaseStmt) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._caseStmt_.add(e);
}
}
public TRBrace getRBrace()
{
return this._rBrace_;
}
public void setRBrace(TRBrace node)
{
if(this._rBrace_ != null)
{
this._rBrace_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rBrace_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._lookupswitch_)
+ toString(this._lParen_)
+ toString(this._immediate_)
+ toString(this._rParen_)
+ toString(this._lBrace_)
+ toString(this._caseStmt_)
+ toString(this._rBrace_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._lookupswitch_ == child)
{
this._lookupswitch_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
if(this._lBrace_ == child)
{
this._lBrace_ = null;
return;
}
if(this._caseStmt_.remove(child))
{
return;
}
if(this._rBrace_ == child)
{
this._rBrace_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._lookupswitch_ == oldChild)
{
setLookupswitch((TLookupswitch) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
if(this._lBrace_ == oldChild)
{
setLBrace((TLBrace) newChild);
return;
}
for(ListIterator<PCaseStmt> i = this._caseStmt_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PCaseStmt) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
if(this._rBrace_ == oldChild)
{
setRBrace((TRBrace) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 8,758
| 20.363415
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMethodMember.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMethodMember extends PMember
{
private final LinkedList<PModifier> _modifier_ = new LinkedList<PModifier>();
private PType _type_;
private PName _name_;
private TLParen _lParen_;
private PParameterList _parameterList_;
private TRParen _rParen_;
private PThrowsClause _throwsClause_;
private PMethodBody _methodBody_;
public AMethodMember()
{
// Constructor
}
public AMethodMember(
@SuppressWarnings("hiding") List<?> _modifier_,
@SuppressWarnings("hiding") PType _type_,
@SuppressWarnings("hiding") PName _name_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PParameterList _parameterList_,
@SuppressWarnings("hiding") TRParen _rParen_,
@SuppressWarnings("hiding") PThrowsClause _throwsClause_,
@SuppressWarnings("hiding") PMethodBody _methodBody_)
{
// Constructor
setModifier(_modifier_);
setType(_type_);
setName(_name_);
setLParen(_lParen_);
setParameterList(_parameterList_);
setRParen(_rParen_);
setThrowsClause(_throwsClause_);
setMethodBody(_methodBody_);
}
@Override
public Object clone()
{
return new AMethodMember(
cloneList(this._modifier_),
cloneNode(this._type_),
cloneNode(this._name_),
cloneNode(this._lParen_),
cloneNode(this._parameterList_),
cloneNode(this._rParen_),
cloneNode(this._throwsClause_),
cloneNode(this._methodBody_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMethodMember(this);
}
public LinkedList<PModifier> getModifier()
{
return this._modifier_;
}
public void setModifier(List<?> list)
{
for(PModifier e : this._modifier_)
{
e.parent(null);
}
this._modifier_.clear();
for(Object obj_e : list)
{
PModifier e = (PModifier) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._modifier_.add(e);
}
}
public PType getType()
{
return this._type_;
}
public void setType(PType node)
{
if(this._type_ != null)
{
this._type_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._type_ = node;
}
public PName getName()
{
return this._name_;
}
public void setName(PName node)
{
if(this._name_ != null)
{
this._name_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._name_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PParameterList getParameterList()
{
return this._parameterList_;
}
public void setParameterList(PParameterList node)
{
if(this._parameterList_ != null)
{
this._parameterList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._parameterList_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
public PThrowsClause getThrowsClause()
{
return this._throwsClause_;
}
public void setThrowsClause(PThrowsClause node)
{
if(this._throwsClause_ != null)
{
this._throwsClause_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._throwsClause_ = node;
}
public PMethodBody getMethodBody()
{
return this._methodBody_;
}
public void setMethodBody(PMethodBody node)
{
if(this._methodBody_ != null)
{
this._methodBody_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._methodBody_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._modifier_)
+ toString(this._type_)
+ toString(this._name_)
+ toString(this._lParen_)
+ toString(this._parameterList_)
+ toString(this._rParen_)
+ toString(this._throwsClause_)
+ toString(this._methodBody_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._modifier_.remove(child))
{
return;
}
if(this._type_ == child)
{
this._type_ = null;
return;
}
if(this._name_ == child)
{
this._name_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._parameterList_ == child)
{
this._parameterList_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
if(this._throwsClause_ == child)
{
this._throwsClause_ = null;
return;
}
if(this._methodBody_ == child)
{
this._methodBody_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
for(ListIterator<PModifier> i = this._modifier_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PModifier) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
if(this._type_ == oldChild)
{
setType((PType) newChild);
return;
}
if(this._name_ == oldChild)
{
setName((PName) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._parameterList_ == oldChild)
{
setParameterList((PParameterList) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
if(this._throwsClause_ == oldChild)
{
setThrowsClause((PThrowsClause) newChild);
return;
}
if(this._methodBody_ == oldChild)
{
setMethodBody((PMethodBody) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 8,731
| 20.297561
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMethodSignature.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMethodSignature extends PMethodSignature
{
private TCmplt _cmplt_;
private PClassName _className_;
private TColon _first_;
private PType _type_;
private PName _methodName_;
private TLParen _lParen_;
private PParameterList _parameterList_;
private TRParen _rParen_;
private TCmpgt _cmpgt_;
public AMethodSignature()
{
// Constructor
}
public AMethodSignature(
@SuppressWarnings("hiding") TCmplt _cmplt_,
@SuppressWarnings("hiding") PClassName _className_,
@SuppressWarnings("hiding") TColon _first_,
@SuppressWarnings("hiding") PType _type_,
@SuppressWarnings("hiding") PName _methodName_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PParameterList _parameterList_,
@SuppressWarnings("hiding") TRParen _rParen_,
@SuppressWarnings("hiding") TCmpgt _cmpgt_)
{
// Constructor
setCmplt(_cmplt_);
setClassName(_className_);
setFirst(_first_);
setType(_type_);
setMethodName(_methodName_);
setLParen(_lParen_);
setParameterList(_parameterList_);
setRParen(_rParen_);
setCmpgt(_cmpgt_);
}
@Override
public Object clone()
{
return new AMethodSignature(
cloneNode(this._cmplt_),
cloneNode(this._className_),
cloneNode(this._first_),
cloneNode(this._type_),
cloneNode(this._methodName_),
cloneNode(this._lParen_),
cloneNode(this._parameterList_),
cloneNode(this._rParen_),
cloneNode(this._cmpgt_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMethodSignature(this);
}
public TCmplt getCmplt()
{
return this._cmplt_;
}
public void setCmplt(TCmplt node)
{
if(this._cmplt_ != null)
{
this._cmplt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmplt_ = node;
}
public PClassName getClassName()
{
return this._className_;
}
public void setClassName(PClassName node)
{
if(this._className_ != null)
{
this._className_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._className_ = node;
}
public TColon getFirst()
{
return this._first_;
}
public void setFirst(TColon node)
{
if(this._first_ != null)
{
this._first_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._first_ = node;
}
public PType getType()
{
return this._type_;
}
public void setType(PType node)
{
if(this._type_ != null)
{
this._type_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._type_ = node;
}
public PName getMethodName()
{
return this._methodName_;
}
public void setMethodName(PName node)
{
if(this._methodName_ != null)
{
this._methodName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._methodName_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PParameterList getParameterList()
{
return this._parameterList_;
}
public void setParameterList(PParameterList node)
{
if(this._parameterList_ != null)
{
this._parameterList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._parameterList_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
public TCmpgt getCmpgt()
{
return this._cmpgt_;
}
public void setCmpgt(TCmpgt node)
{
if(this._cmpgt_ != null)
{
this._cmpgt_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._cmpgt_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._cmplt_)
+ toString(this._className_)
+ toString(this._first_)
+ toString(this._type_)
+ toString(this._methodName_)
+ toString(this._lParen_)
+ toString(this._parameterList_)
+ toString(this._rParen_)
+ toString(this._cmpgt_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._cmplt_ == child)
{
this._cmplt_ = null;
return;
}
if(this._className_ == child)
{
this._className_ = null;
return;
}
if(this._first_ == child)
{
this._first_ = null;
return;
}
if(this._type_ == child)
{
this._type_ = null;
return;
}
if(this._methodName_ == child)
{
this._methodName_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._parameterList_ == child)
{
this._parameterList_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
if(this._cmpgt_ == child)
{
this._cmpgt_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._cmplt_ == oldChild)
{
setCmplt((TCmplt) newChild);
return;
}
if(this._className_ == oldChild)
{
setClassName((PClassName) newChild);
return;
}
if(this._first_ == oldChild)
{
setFirst((TColon) newChild);
return;
}
if(this._type_ == oldChild)
{
setType((PType) newChild);
return;
}
if(this._methodName_ == oldChild)
{
setMethodName((PName) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._parameterList_ == oldChild)
{
setParameterList((PParameterList) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
if(this._cmpgt_ == oldChild)
{
setCmpgt((TCmpgt) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 8,979
| 19.409091
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMinusBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMinusBinop extends PBinop
{
private TMinus _minus_;
public AMinusBinop()
{
// Constructor
}
public AMinusBinop(
@SuppressWarnings("hiding") TMinus _minus_)
{
// Constructor
setMinus(_minus_);
}
@Override
public Object clone()
{
return new AMinusBinop(
cloneNode(this._minus_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMinusBinop(this);
}
public TMinus getMinus()
{
return this._minus_;
}
public void setMinus(TMinus node)
{
if(this._minus_ != null)
{
this._minus_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._minus_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._minus_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._minus_ == child)
{
this._minus_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._minus_ == oldChild)
{
setMinus((TMinus) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,828
| 18.052083
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AModBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AModBinop extends PBinop
{
private TMod _mod_;
public AModBinop()
{
// Constructor
}
public AModBinop(
@SuppressWarnings("hiding") TMod _mod_)
{
// Constructor
setMod(_mod_);
}
@Override
public Object clone()
{
return new AModBinop(
cloneNode(this._mod_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAModBinop(this);
}
public TMod getMod()
{
return this._mod_;
}
public void setMod(TMod node)
{
if(this._mod_ != null)
{
this._mod_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._mod_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._mod_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._mod_ == child)
{
this._mod_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._mod_ == oldChild)
{
setMod((TMod) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,776
| 17.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMultBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMultBinop extends PBinop
{
private TMult _mult_;
public AMultBinop()
{
// Constructor
}
public AMultBinop(
@SuppressWarnings("hiding") TMult _mult_)
{
// Constructor
setMult(_mult_);
}
@Override
public Object clone()
{
return new AMultBinop(
cloneNode(this._mult_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMultBinop(this);
}
public TMult getMult()
{
return this._mult_;
}
public void setMult(TMult node)
{
if(this._mult_ != null)
{
this._mult_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._mult_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._mult_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._mult_ == child)
{
this._mult_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._mult_ == oldChild)
{
setMult((TMult) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,802
| 17.78125
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMultiArgList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMultiArgList extends PArgList
{
private PImmediate _immediate_;
private TComma _comma_;
private PArgList _argList_;
public AMultiArgList()
{
// Constructor
}
public AMultiArgList(
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TComma _comma_,
@SuppressWarnings("hiding") PArgList _argList_)
{
// Constructor
setImmediate(_immediate_);
setComma(_comma_);
setArgList(_argList_);
}
@Override
public Object clone()
{
return new AMultiArgList(
cloneNode(this._immediate_),
cloneNode(this._comma_),
cloneNode(this._argList_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMultiArgList(this);
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TComma getComma()
{
return this._comma_;
}
public void setComma(TComma node)
{
if(this._comma_ != null)
{
this._comma_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._comma_ = node;
}
public PArgList getArgList()
{
return this._argList_;
}
public void setArgList(PArgList node)
{
if(this._argList_ != null)
{
this._argList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._argList_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._immediate_)
+ toString(this._comma_)
+ toString(this._argList_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._comma_ == child)
{
this._comma_ = null;
return;
}
if(this._argList_ == child)
{
this._argList_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._comma_ == oldChild)
{
setComma((TComma) newChild);
return;
}
if(this._argList_ == oldChild)
{
setArgList((PArgList) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,658
| 19.104396
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMultiLocalNameList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMultiLocalNameList extends PLocalNameList
{
private PLocalName _localName_;
private TComma _comma_;
private PLocalNameList _localNameList_;
public AMultiLocalNameList()
{
// Constructor
}
public AMultiLocalNameList(
@SuppressWarnings("hiding") PLocalName _localName_,
@SuppressWarnings("hiding") TComma _comma_,
@SuppressWarnings("hiding") PLocalNameList _localNameList_)
{
// Constructor
setLocalName(_localName_);
setComma(_comma_);
setLocalNameList(_localNameList_);
}
@Override
public Object clone()
{
return new AMultiLocalNameList(
cloneNode(this._localName_),
cloneNode(this._comma_),
cloneNode(this._localNameList_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMultiLocalNameList(this);
}
public PLocalName getLocalName()
{
return this._localName_;
}
public void setLocalName(PLocalName node)
{
if(this._localName_ != null)
{
this._localName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localName_ = node;
}
public TComma getComma()
{
return this._comma_;
}
public void setComma(TComma node)
{
if(this._comma_ != null)
{
this._comma_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._comma_ = node;
}
public PLocalNameList getLocalNameList()
{
return this._localNameList_;
}
public void setLocalNameList(PLocalNameList node)
{
if(this._localNameList_ != null)
{
this._localNameList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localNameList_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._localName_)
+ toString(this._comma_)
+ toString(this._localNameList_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._localName_ == child)
{
this._localName_ = null;
return;
}
if(this._comma_ == child)
{
this._comma_ = null;
return;
}
if(this._localNameList_ == child)
{
this._localNameList_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._localName_ == oldChild)
{
setLocalName((PLocalName) newChild);
return;
}
if(this._comma_ == oldChild)
{
setComma((TComma) newChild);
return;
}
if(this._localNameList_ == oldChild)
{
setLocalNameList((PLocalNameList) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,820
| 19.994505
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMultiNameList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMultiNameList extends PNameList
{
private PName _name_;
private TComma _comma_;
private PNameList _nameList_;
public AMultiNameList()
{
// Constructor
}
public AMultiNameList(
@SuppressWarnings("hiding") PName _name_,
@SuppressWarnings("hiding") TComma _comma_,
@SuppressWarnings("hiding") PNameList _nameList_)
{
// Constructor
setName(_name_);
setComma(_comma_);
setNameList(_nameList_);
}
@Override
public Object clone()
{
return new AMultiNameList(
cloneNode(this._name_),
cloneNode(this._comma_),
cloneNode(this._nameList_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMultiNameList(this);
}
public PName getName()
{
return this._name_;
}
public void setName(PName node)
{
if(this._name_ != null)
{
this._name_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._name_ = node;
}
public TComma getComma()
{
return this._comma_;
}
public void setComma(TComma node)
{
if(this._comma_ != null)
{
this._comma_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._comma_ = node;
}
public PNameList getNameList()
{
return this._nameList_;
}
public void setNameList(PNameList node)
{
if(this._nameList_ != null)
{
this._nameList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nameList_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._name_)
+ toString(this._comma_)
+ toString(this._nameList_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._name_ == child)
{
this._name_ = null;
return;
}
if(this._comma_ == child)
{
this._comma_ = null;
return;
}
if(this._nameList_ == child)
{
this._nameList_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._name_ == oldChild)
{
setName((PName) newChild);
return;
}
if(this._comma_ == oldChild)
{
setComma((TComma) newChild);
return;
}
if(this._nameList_ == oldChild)
{
setNameList((PNameList) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,580
| 18.675824
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMultiNewExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMultiNewExpr extends PNewExpr
{
private TNewmultiarray _newmultiarray_;
private TLParen _lParen_;
private PBaseType _baseType_;
private TRParen _rParen_;
private final LinkedList<PArrayDescriptor> _arrayDescriptor_ = new LinkedList<PArrayDescriptor>();
public AMultiNewExpr()
{
// Constructor
}
public AMultiNewExpr(
@SuppressWarnings("hiding") TNewmultiarray _newmultiarray_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PBaseType _baseType_,
@SuppressWarnings("hiding") TRParen _rParen_,
@SuppressWarnings("hiding") List<?> _arrayDescriptor_)
{
// Constructor
setNewmultiarray(_newmultiarray_);
setLParen(_lParen_);
setBaseType(_baseType_);
setRParen(_rParen_);
setArrayDescriptor(_arrayDescriptor_);
}
@Override
public Object clone()
{
return new AMultiNewExpr(
cloneNode(this._newmultiarray_),
cloneNode(this._lParen_),
cloneNode(this._baseType_),
cloneNode(this._rParen_),
cloneList(this._arrayDescriptor_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMultiNewExpr(this);
}
public TNewmultiarray getNewmultiarray()
{
return this._newmultiarray_;
}
public void setNewmultiarray(TNewmultiarray node)
{
if(this._newmultiarray_ != null)
{
this._newmultiarray_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._newmultiarray_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PBaseType getBaseType()
{
return this._baseType_;
}
public void setBaseType(PBaseType node)
{
if(this._baseType_ != null)
{
this._baseType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._baseType_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
public LinkedList<PArrayDescriptor> getArrayDescriptor()
{
return this._arrayDescriptor_;
}
public void setArrayDescriptor(List<?> list)
{
for(PArrayDescriptor e : this._arrayDescriptor_)
{
e.parent(null);
}
this._arrayDescriptor_.clear();
for(Object obj_e : list)
{
PArrayDescriptor e = (PArrayDescriptor) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._arrayDescriptor_.add(e);
}
}
@Override
public String toString()
{
return ""
+ toString(this._newmultiarray_)
+ toString(this._lParen_)
+ toString(this._baseType_)
+ toString(this._rParen_)
+ toString(this._arrayDescriptor_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._newmultiarray_ == child)
{
this._newmultiarray_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._baseType_ == child)
{
this._baseType_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
if(this._arrayDescriptor_.remove(child))
{
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._newmultiarray_ == oldChild)
{
setNewmultiarray((TNewmultiarray) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._baseType_ == oldChild)
{
setBaseType((PBaseType) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
for(ListIterator<PArrayDescriptor> i = this._arrayDescriptor_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PArrayDescriptor) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
throw new RuntimeException("Not a child.");
}
}
| 6,201
| 21.071174
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AMultiParameterList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AMultiParameterList extends PParameterList
{
private PParameter _parameter_;
private TComma _comma_;
private PParameterList _parameterList_;
public AMultiParameterList()
{
// Constructor
}
public AMultiParameterList(
@SuppressWarnings("hiding") PParameter _parameter_,
@SuppressWarnings("hiding") TComma _comma_,
@SuppressWarnings("hiding") PParameterList _parameterList_)
{
// Constructor
setParameter(_parameter_);
setComma(_comma_);
setParameterList(_parameterList_);
}
@Override
public Object clone()
{
return new AMultiParameterList(
cloneNode(this._parameter_),
cloneNode(this._comma_),
cloneNode(this._parameterList_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAMultiParameterList(this);
}
public PParameter getParameter()
{
return this._parameter_;
}
public void setParameter(PParameter node)
{
if(this._parameter_ != null)
{
this._parameter_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._parameter_ = node;
}
public TComma getComma()
{
return this._comma_;
}
public void setComma(TComma node)
{
if(this._comma_ != null)
{
this._comma_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._comma_ = node;
}
public PParameterList getParameterList()
{
return this._parameterList_;
}
public void setParameterList(PParameterList node)
{
if(this._parameterList_ != null)
{
this._parameterList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._parameterList_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._parameter_)
+ toString(this._comma_)
+ toString(this._parameterList_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._parameter_ == child)
{
this._parameter_ = null;
return;
}
if(this._comma_ == child)
{
this._comma_ = null;
return;
}
if(this._parameterList_ == child)
{
this._parameterList_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._parameter_ == oldChild)
{
setParameter((PParameter) newChild);
return;
}
if(this._comma_ == oldChild)
{
setComma((TComma) newChild);
return;
}
if(this._parameterList_ == oldChild)
{
setParameterList((PParameterList) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,820
| 19.994505
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANativeModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANativeModifier extends PModifier
{
private TNative _native_;
public ANativeModifier()
{
// Constructor
}
public ANativeModifier(
@SuppressWarnings("hiding") TNative _native_)
{
// Constructor
setNative(_native_);
}
@Override
public Object clone()
{
return new ANativeModifier(
cloneNode(this._native_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANativeModifier(this);
}
public TNative getNative()
{
return this._native_;
}
public void setNative(TNative node)
{
if(this._native_ != null)
{
this._native_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._native_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._native_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._native_ == child)
{
this._native_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._native_ == oldChild)
{
setNative((TNative) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,872
| 18.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANegUnop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANegUnop extends PUnop
{
private TNeg _neg_;
public ANegUnop()
{
// Constructor
}
public ANegUnop(
@SuppressWarnings("hiding") TNeg _neg_)
{
// Constructor
setNeg(_neg_);
}
@Override
public Object clone()
{
return new ANegUnop(
cloneNode(this._neg_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANegUnop(this);
}
public TNeg getNeg()
{
return this._neg_;
}
public void setNeg(TNeg node)
{
if(this._neg_ != null)
{
this._neg_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._neg_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._neg_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._neg_ == child)
{
this._neg_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._neg_ == oldChild)
{
setNeg((TNeg) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,770
| 17.447917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANewExpression.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANewExpression extends PExpression
{
private PNewExpr _newExpr_;
public ANewExpression()
{
// Constructor
}
public ANewExpression(
@SuppressWarnings("hiding") PNewExpr _newExpr_)
{
// Constructor
setNewExpr(_newExpr_);
}
@Override
public Object clone()
{
return new ANewExpression(
cloneNode(this._newExpr_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANewExpression(this);
}
public PNewExpr getNewExpr()
{
return this._newExpr_;
}
public void setNewExpr(PNewExpr node)
{
if(this._newExpr_ != null)
{
this._newExpr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._newExpr_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._newExpr_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._newExpr_ == child)
{
this._newExpr_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._newExpr_ == oldChild)
{
setNewExpr((PNewExpr) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,890
| 18.697917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANonstaticInvokeExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANonstaticInvokeExpr extends PInvokeExpr
{
private PNonstaticInvoke _nonstaticInvoke_;
private PLocalName _localName_;
private TDot _dot_;
private PMethodSignature _methodSignature_;
private TLParen _lParen_;
private PArgList _argList_;
private TRParen _rParen_;
public ANonstaticInvokeExpr()
{
// Constructor
}
public ANonstaticInvokeExpr(
@SuppressWarnings("hiding") PNonstaticInvoke _nonstaticInvoke_,
@SuppressWarnings("hiding") PLocalName _localName_,
@SuppressWarnings("hiding") TDot _dot_,
@SuppressWarnings("hiding") PMethodSignature _methodSignature_,
@SuppressWarnings("hiding") TLParen _lParen_,
@SuppressWarnings("hiding") PArgList _argList_,
@SuppressWarnings("hiding") TRParen _rParen_)
{
// Constructor
setNonstaticInvoke(_nonstaticInvoke_);
setLocalName(_localName_);
setDot(_dot_);
setMethodSignature(_methodSignature_);
setLParen(_lParen_);
setArgList(_argList_);
setRParen(_rParen_);
}
@Override
public Object clone()
{
return new ANonstaticInvokeExpr(
cloneNode(this._nonstaticInvoke_),
cloneNode(this._localName_),
cloneNode(this._dot_),
cloneNode(this._methodSignature_),
cloneNode(this._lParen_),
cloneNode(this._argList_),
cloneNode(this._rParen_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANonstaticInvokeExpr(this);
}
public PNonstaticInvoke getNonstaticInvoke()
{
return this._nonstaticInvoke_;
}
public void setNonstaticInvoke(PNonstaticInvoke node)
{
if(this._nonstaticInvoke_ != null)
{
this._nonstaticInvoke_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nonstaticInvoke_ = node;
}
public PLocalName getLocalName()
{
return this._localName_;
}
public void setLocalName(PLocalName node)
{
if(this._localName_ != null)
{
this._localName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._localName_ = node;
}
public TDot getDot()
{
return this._dot_;
}
public void setDot(TDot node)
{
if(this._dot_ != null)
{
this._dot_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._dot_ = node;
}
public PMethodSignature getMethodSignature()
{
return this._methodSignature_;
}
public void setMethodSignature(PMethodSignature node)
{
if(this._methodSignature_ != null)
{
this._methodSignature_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._methodSignature_ = node;
}
public TLParen getLParen()
{
return this._lParen_;
}
public void setLParen(TLParen node)
{
if(this._lParen_ != null)
{
this._lParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._lParen_ = node;
}
public PArgList getArgList()
{
return this._argList_;
}
public void setArgList(PArgList node)
{
if(this._argList_ != null)
{
this._argList_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._argList_ = node;
}
public TRParen getRParen()
{
return this._rParen_;
}
public void setRParen(TRParen node)
{
if(this._rParen_ != null)
{
this._rParen_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._rParen_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._nonstaticInvoke_)
+ toString(this._localName_)
+ toString(this._dot_)
+ toString(this._methodSignature_)
+ toString(this._lParen_)
+ toString(this._argList_)
+ toString(this._rParen_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._nonstaticInvoke_ == child)
{
this._nonstaticInvoke_ = null;
return;
}
if(this._localName_ == child)
{
this._localName_ = null;
return;
}
if(this._dot_ == child)
{
this._dot_ = null;
return;
}
if(this._methodSignature_ == child)
{
this._methodSignature_ = null;
return;
}
if(this._lParen_ == child)
{
this._lParen_ = null;
return;
}
if(this._argList_ == child)
{
this._argList_ = null;
return;
}
if(this._rParen_ == child)
{
this._rParen_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._nonstaticInvoke_ == oldChild)
{
setNonstaticInvoke((PNonstaticInvoke) newChild);
return;
}
if(this._localName_ == oldChild)
{
setLocalName((PLocalName) newChild);
return;
}
if(this._dot_ == oldChild)
{
setDot((TDot) newChild);
return;
}
if(this._methodSignature_ == oldChild)
{
setMethodSignature((PMethodSignature) newChild);
return;
}
if(this._lParen_ == oldChild)
{
setLParen((TLParen) newChild);
return;
}
if(this._argList_ == oldChild)
{
setArgList((PArgList) newChild);
return;
}
if(this._rParen_ == oldChild)
{
setRParen((TRParen) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 7,500
| 20.189266
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANonvoidJimpleType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANonvoidJimpleType extends PJimpleType
{
private PNonvoidType _nonvoidType_;
public ANonvoidJimpleType()
{
// Constructor
}
public ANonvoidJimpleType(
@SuppressWarnings("hiding") PNonvoidType _nonvoidType_)
{
// Constructor
setNonvoidType(_nonvoidType_);
}
@Override
public Object clone()
{
return new ANonvoidJimpleType(
cloneNode(this._nonvoidType_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANonvoidJimpleType(this);
}
public PNonvoidType getNonvoidType()
{
return this._nonvoidType_;
}
public void setNonvoidType(PNonvoidType node)
{
if(this._nonvoidType_ != null)
{
this._nonvoidType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nonvoidType_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._nonvoidType_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._nonvoidType_ == child)
{
this._nonvoidType_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._nonvoidType_ == oldChild)
{
setNonvoidType((PNonvoidType) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,994
| 19.78125
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANopStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANopStatement extends PStatement
{
private TNop _nop_;
private TSemicolon _semicolon_;
public ANopStatement()
{
// Constructor
}
public ANopStatement(
@SuppressWarnings("hiding") TNop _nop_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setNop(_nop_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new ANopStatement(
cloneNode(this._nop_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANopStatement(this);
}
public TNop getNop()
{
return this._nop_;
}
public void setNop(TNop node)
{
if(this._nop_ != null)
{
this._nop_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nop_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._nop_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._nop_ == child)
{
this._nop_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._nop_ == oldChild)
{
setNop((TNop) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,730
| 18.647482
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANovoidType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANovoidType extends PType
{
private PNonvoidType _nonvoidType_;
public ANovoidType()
{
// Constructor
}
public ANovoidType(
@SuppressWarnings("hiding") PNonvoidType _nonvoidType_)
{
// Constructor
setNonvoidType(_nonvoidType_);
}
@Override
public Object clone()
{
return new ANovoidType(
cloneNode(this._nonvoidType_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANovoidType(this);
}
public PNonvoidType getNonvoidType()
{
return this._nonvoidType_;
}
public void setNonvoidType(PNonvoidType node)
{
if(this._nonvoidType_ != null)
{
this._nonvoidType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nonvoidType_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._nonvoidType_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._nonvoidType_ == child)
{
this._nonvoidType_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._nonvoidType_ == oldChild)
{
setNonvoidType((PNonvoidType) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,953
| 19.354167
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANullBaseType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANullBaseType extends PBaseType
{
private TNullType _nullType_;
public ANullBaseType()
{
// Constructor
}
public ANullBaseType(
@SuppressWarnings("hiding") TNullType _nullType_)
{
// Constructor
setNullType(_nullType_);
}
@Override
public Object clone()
{
return new ANullBaseType(
cloneNode(this._nullType_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANullBaseType(this);
}
public TNullType getNullType()
{
return this._nullType_;
}
public void setNullType(TNullType node)
{
if(this._nullType_ != null)
{
this._nullType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nullType_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._nullType_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._nullType_ == child)
{
this._nullType_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._nullType_ == oldChild)
{
setNullType((TNullType) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,904
| 18.84375
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANullBaseTypeNoName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANullBaseTypeNoName extends PBaseTypeNoName
{
private TNullType _nullType_;
public ANullBaseTypeNoName()
{
// Constructor
}
public ANullBaseTypeNoName(
@SuppressWarnings("hiding") TNullType _nullType_)
{
// Constructor
setNullType(_nullType_);
}
@Override
public Object clone()
{
return new ANullBaseTypeNoName(
cloneNode(this._nullType_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANullBaseTypeNoName(this);
}
public TNullType getNullType()
{
return this._nullType_;
}
public void setNullType(TNullType node)
{
if(this._nullType_ != null)
{
this._nullType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nullType_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._nullType_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._nullType_ == child)
{
this._nullType_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._nullType_ == oldChild)
{
setNullType((TNullType) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,940
| 19.21875
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ANullConstant.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ANullConstant extends PConstant
{
private TNull _null_;
public ANullConstant()
{
// Constructor
}
public ANullConstant(
@SuppressWarnings("hiding") TNull _null_)
{
// Constructor
setNull(_null_);
}
@Override
public Object clone()
{
return new ANullConstant(
cloneNode(this._null_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseANullConstant(this);
}
public TNull getNull()
{
return this._null_;
}
public void setNull(TNull node)
{
if(this._null_ != null)
{
this._null_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._null_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._null_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._null_ == child)
{
this._null_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._null_ == oldChild)
{
setNull((TNull) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,820
| 17.96875
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AOrBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AOrBinop extends PBinop
{
private TOr _or_;
public AOrBinop()
{
// Constructor
}
public AOrBinop(
@SuppressWarnings("hiding") TOr _or_)
{
// Constructor
setOr(_or_);
}
@Override
public Object clone()
{
return new AOrBinop(
cloneNode(this._or_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAOrBinop(this);
}
public TOr getOr()
{
return this._or_;
}
public void setOr(TOr node)
{
if(this._or_ != null)
{
this._or_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._or_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._or_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._or_ == child)
{
this._or_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._or_ == oldChild)
{
setOr((TOr) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,750
| 17.239583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/EOF.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class EOF extends Token
{
public EOF()
{
setText("");
}
public EOF(int line, int pos)
{
setText("");
setLine(line);
setPos(pos);
}
@Override
public Object clone()
{
return new EOF(getLine(), getPos());
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseEOF(this);
}
}
| 567
| 15.705882
| 67
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AParameter.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AParameter extends PParameter
{
private PNonvoidType _nonvoidType_;
public AParameter()
{
// Constructor
}
public AParameter(
@SuppressWarnings("hiding") PNonvoidType _nonvoidType_)
{
// Constructor
setNonvoidType(_nonvoidType_);
}
@Override
public Object clone()
{
return new AParameter(
cloneNode(this._nonvoidType_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAParameter(this);
}
public PNonvoidType getNonvoidType()
{
return this._nonvoidType_;
}
public void setNonvoidType(PNonvoidType node)
{
if(this._nonvoidType_ != null)
{
this._nonvoidType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._nonvoidType_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._nonvoidType_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._nonvoidType_ == child)
{
this._nonvoidType_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._nonvoidType_ == oldChild)
{
setNonvoidType((PNonvoidType) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,953
| 19.354167
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/APlusBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class APlusBinop extends PBinop
{
private TPlus _plus_;
public APlusBinop()
{
// Constructor
}
public APlusBinop(
@SuppressWarnings("hiding") TPlus _plus_)
{
// Constructor
setPlus(_plus_);
}
@Override
public Object clone()
{
return new APlusBinop(
cloneNode(this._plus_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAPlusBinop(this);
}
public TPlus getPlus()
{
return this._plus_;
}
public void setPlus(TPlus node)
{
if(this._plus_ != null)
{
this._plus_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._plus_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._plus_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._plus_ == child)
{
this._plus_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._plus_ == oldChild)
{
setPlus((TPlus) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,802
| 17.78125
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/APrivateModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class APrivateModifier extends PModifier
{
private TPrivate _private_;
public APrivateModifier()
{
// Constructor
}
public APrivateModifier(
@SuppressWarnings("hiding") TPrivate _private_)
{
// Constructor
setPrivate(_private_);
}
@Override
public Object clone()
{
return new APrivateModifier(
cloneNode(this._private_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAPrivateModifier(this);
}
public TPrivate getPrivate()
{
return this._private_;
}
public void setPrivate(TPrivate node)
{
if(this._private_ != null)
{
this._private_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._private_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._private_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._private_ == child)
{
this._private_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._private_ == oldChild)
{
setPrivate((TPrivate) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,898
| 18.78125
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AProtectedModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AProtectedModifier extends PModifier
{
private TProtected _protected_;
public AProtectedModifier()
{
// Constructor
}
public AProtectedModifier(
@SuppressWarnings("hiding") TProtected _protected_)
{
// Constructor
setProtected(_protected_);
}
@Override
public Object clone()
{
return new AProtectedModifier(
cloneNode(this._protected_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAProtectedModifier(this);
}
public TProtected getProtected()
{
return this._protected_;
}
public void setProtected(TProtected node)
{
if(this._protected_ != null)
{
this._protected_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._protected_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._protected_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._protected_ == child)
{
this._protected_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._protected_ == oldChild)
{
setProtected((TProtected) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,950
| 19.322917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/APublicModifier.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class APublicModifier extends PModifier
{
private TPublic _public_;
public APublicModifier()
{
// Constructor
}
public APublicModifier(
@SuppressWarnings("hiding") TPublic _public_)
{
// Constructor
setPublic(_public_);
}
@Override
public Object clone()
{
return new APublicModifier(
cloneNode(this._public_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAPublicModifier(this);
}
public TPublic getPublic()
{
return this._public_;
}
public void setPublic(TPublic node)
{
if(this._public_ != null)
{
this._public_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._public_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._public_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._public_ == child)
{
this._public_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._public_ == oldChild)
{
setPublic((TPublic) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,872
| 18.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AQuotedArrayRef.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AQuotedArrayRef extends PArrayRef
{
private TQuotedName _quotedName_;
private PFixedArrayDescriptor _fixedArrayDescriptor_;
public AQuotedArrayRef()
{
// Constructor
}
public AQuotedArrayRef(
@SuppressWarnings("hiding") TQuotedName _quotedName_,
@SuppressWarnings("hiding") PFixedArrayDescriptor _fixedArrayDescriptor_)
{
// Constructor
setQuotedName(_quotedName_);
setFixedArrayDescriptor(_fixedArrayDescriptor_);
}
@Override
public Object clone()
{
return new AQuotedArrayRef(
cloneNode(this._quotedName_),
cloneNode(this._fixedArrayDescriptor_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAQuotedArrayRef(this);
}
public TQuotedName getQuotedName()
{
return this._quotedName_;
}
public void setQuotedName(TQuotedName node)
{
if(this._quotedName_ != null)
{
this._quotedName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._quotedName_ = node;
}
public PFixedArrayDescriptor getFixedArrayDescriptor()
{
return this._fixedArrayDescriptor_;
}
public void setFixedArrayDescriptor(PFixedArrayDescriptor node)
{
if(this._fixedArrayDescriptor_ != null)
{
this._fixedArrayDescriptor_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fixedArrayDescriptor_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._quotedName_)
+ toString(this._fixedArrayDescriptor_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._quotedName_ == child)
{
this._quotedName_ = null;
return;
}
if(this._fixedArrayDescriptor_ == child)
{
this._fixedArrayDescriptor_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._quotedName_ == oldChild)
{
setQuotedName((TQuotedName) newChild);
return;
}
if(this._fixedArrayDescriptor_ == oldChild)
{
setFixedArrayDescriptor((PFixedArrayDescriptor) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,117
| 21.431655
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AQuotedClassName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AQuotedClassName extends PClassName
{
private TQuotedName _quotedName_;
public AQuotedClassName()
{
// Constructor
}
public AQuotedClassName(
@SuppressWarnings("hiding") TQuotedName _quotedName_)
{
// Constructor
setQuotedName(_quotedName_);
}
@Override
public Object clone()
{
return new AQuotedClassName(
cloneNode(this._quotedName_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAQuotedClassName(this);
}
public TQuotedName getQuotedName()
{
return this._quotedName_;
}
public void setQuotedName(TQuotedName node)
{
if(this._quotedName_ != null)
{
this._quotedName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._quotedName_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._quotedName_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._quotedName_ == child)
{
this._quotedName_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._quotedName_ == oldChild)
{
setQuotedName((TQuotedName) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,962
| 19.447917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AQuotedName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AQuotedName extends PName
{
private TQuotedName _quotedName_;
public AQuotedName()
{
// Constructor
}
public AQuotedName(
@SuppressWarnings("hiding") TQuotedName _quotedName_)
{
// Constructor
setQuotedName(_quotedName_);
}
@Override
public Object clone()
{
return new AQuotedName(
cloneNode(this._quotedName_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAQuotedName(this);
}
public TQuotedName getQuotedName()
{
return this._quotedName_;
}
public void setQuotedName(TQuotedName node)
{
if(this._quotedName_ != null)
{
this._quotedName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._quotedName_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._quotedName_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._quotedName_ == child)
{
this._quotedName_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._quotedName_ == oldChild)
{
setQuotedName((TQuotedName) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,932
| 19.135417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AQuotedNonvoidType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import java.util.*;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AQuotedNonvoidType extends PNonvoidType
{
private TQuotedName _quotedName_;
private final LinkedList<PArrayBrackets> _arrayBrackets_ = new LinkedList<PArrayBrackets>();
public AQuotedNonvoidType()
{
// Constructor
}
public AQuotedNonvoidType(
@SuppressWarnings("hiding") TQuotedName _quotedName_,
@SuppressWarnings("hiding") List<?> _arrayBrackets_)
{
// Constructor
setQuotedName(_quotedName_);
setArrayBrackets(_arrayBrackets_);
}
@Override
public Object clone()
{
return new AQuotedNonvoidType(
cloneNode(this._quotedName_),
cloneList(this._arrayBrackets_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAQuotedNonvoidType(this);
}
public TQuotedName getQuotedName()
{
return this._quotedName_;
}
public void setQuotedName(TQuotedName node)
{
if(this._quotedName_ != null)
{
this._quotedName_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._quotedName_ = node;
}
public LinkedList<PArrayBrackets> getArrayBrackets()
{
return this._arrayBrackets_;
}
public void setArrayBrackets(List<?> list)
{
for(PArrayBrackets e : this._arrayBrackets_)
{
e.parent(null);
}
this._arrayBrackets_.clear();
for(Object obj_e : list)
{
PArrayBrackets e = (PArrayBrackets) obj_e;
if(e.parent() != null)
{
e.parent().removeChild(e);
}
e.parent(this);
this._arrayBrackets_.add(e);
}
}
@Override
public String toString()
{
return ""
+ toString(this._quotedName_)
+ toString(this._arrayBrackets_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._quotedName_ == child)
{
this._quotedName_ = null;
return;
}
if(this._arrayBrackets_.remove(child))
{
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._quotedName_ == oldChild)
{
setQuotedName((TQuotedName) newChild);
return;
}
for(ListIterator<PArrayBrackets> i = this._arrayBrackets_.listIterator(); i.hasNext();)
{
if(i.next() == oldChild)
{
if(newChild != null)
{
i.set((PArrayBrackets) newChild);
newChild.parent(this);
oldChild.parent(null);
return;
}
i.remove();
oldChild.parent(null);
return;
}
}
throw new RuntimeException("Not a child.");
}
}
| 3,480
| 21.901316
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AReferenceExpression.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AReferenceExpression extends PExpression
{
private PReference _reference_;
public AReferenceExpression()
{
// Constructor
}
public AReferenceExpression(
@SuppressWarnings("hiding") PReference _reference_)
{
// Constructor
setReference(_reference_);
}
@Override
public Object clone()
{
return new AReferenceExpression(
cloneNode(this._reference_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAReferenceExpression(this);
}
public PReference getReference()
{
return this._reference_;
}
public void setReference(PReference node)
{
if(this._reference_ != null)
{
this._reference_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._reference_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._reference_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._reference_ == child)
{
this._reference_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._reference_ == oldChild)
{
setReference((PReference) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,962
| 19.447917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AReferenceVariable.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AReferenceVariable extends PVariable
{
private PReference _reference_;
public AReferenceVariable()
{
// Constructor
}
public AReferenceVariable(
@SuppressWarnings("hiding") PReference _reference_)
{
// Constructor
setReference(_reference_);
}
@Override
public Object clone()
{
return new AReferenceVariable(
cloneNode(this._reference_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAReferenceVariable(this);
}
public PReference getReference()
{
return this._reference_;
}
public void setReference(PReference node)
{
if(this._reference_ != null)
{
this._reference_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._reference_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._reference_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._reference_ == child)
{
this._reference_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._reference_ == oldChild)
{
setReference((PReference) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,950
| 19.322917
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ARetStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ARetStatement extends PStatement
{
private TRet _ret_;
private PImmediate _immediate_;
private TSemicolon _semicolon_;
public ARetStatement()
{
// Constructor
}
public ARetStatement(
@SuppressWarnings("hiding") TRet _ret_,
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setRet(_ret_);
setImmediate(_immediate_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new ARetStatement(
cloneNode(this._ret_),
cloneNode(this._immediate_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseARetStatement(this);
}
public TRet getRet()
{
return this._ret_;
}
public void setRet(TRet node)
{
if(this._ret_ != null)
{
this._ret_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._ret_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._ret_)
+ toString(this._immediate_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._ret_ == child)
{
this._ret_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._ret_ == oldChild)
{
setRet((TRet) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,660
| 19.115385
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AReturnStatement.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AReturnStatement extends PStatement
{
private TReturn _return_;
private PImmediate _immediate_;
private TSemicolon _semicolon_;
public AReturnStatement()
{
// Constructor
}
public AReturnStatement(
@SuppressWarnings("hiding") TReturn _return_,
@SuppressWarnings("hiding") PImmediate _immediate_,
@SuppressWarnings("hiding") TSemicolon _semicolon_)
{
// Constructor
setReturn(_return_);
setImmediate(_immediate_);
setSemicolon(_semicolon_);
}
@Override
public Object clone()
{
return new AReturnStatement(
cloneNode(this._return_),
cloneNode(this._immediate_),
cloneNode(this._semicolon_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAReturnStatement(this);
}
public TReturn getReturn()
{
return this._return_;
}
public void setReturn(TReturn node)
{
if(this._return_ != null)
{
this._return_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._return_ = node;
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
public TSemicolon getSemicolon()
{
return this._semicolon_;
}
public void setSemicolon(TSemicolon node)
{
if(this._semicolon_ != null)
{
this._semicolon_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._semicolon_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._return_)
+ toString(this._immediate_)
+ toString(this._semicolon_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._return_ == child)
{
this._return_ = null;
return;
}
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
if(this._semicolon_ == child)
{
this._semicolon_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._return_ == oldChild)
{
setReturn((TReturn) newChild);
return;
}
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
if(this._semicolon_ == oldChild)
{
setSemicolon((TSemicolon) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 3,738
| 19.543956
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AShlBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AShlBinop extends PBinop
{
private TShl _shl_;
public AShlBinop()
{
// Constructor
}
public AShlBinop(
@SuppressWarnings("hiding") TShl _shl_)
{
// Constructor
setShl(_shl_);
}
@Override
public Object clone()
{
return new AShlBinop(
cloneNode(this._shl_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAShlBinop(this);
}
public TShl getShl()
{
return this._shl_;
}
public void setShl(TShl node)
{
if(this._shl_ != null)
{
this._shl_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._shl_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._shl_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._shl_ == child)
{
this._shl_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._shl_ == oldChild)
{
setShl((TShl) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,776
| 17.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AShortBaseType.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AShortBaseType extends PBaseType
{
private TShort _short_;
public AShortBaseType()
{
// Constructor
}
public AShortBaseType(
@SuppressWarnings("hiding") TShort _short_)
{
// Constructor
setShort(_short_);
}
@Override
public Object clone()
{
return new AShortBaseType(
cloneNode(this._short_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAShortBaseType(this);
}
public TShort getShort()
{
return this._short_;
}
public void setShort(TShort node)
{
if(this._short_ != null)
{
this._short_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._short_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._short_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._short_ == child)
{
this._short_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._short_ == oldChild)
{
setShort((TShort) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,846
| 18.239583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AShortBaseTypeNoName.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AShortBaseTypeNoName extends PBaseTypeNoName
{
private TShort _short_;
public AShortBaseTypeNoName()
{
// Constructor
}
public AShortBaseTypeNoName(
@SuppressWarnings("hiding") TShort _short_)
{
// Constructor
setShort(_short_);
}
@Override
public Object clone()
{
return new AShortBaseTypeNoName(
cloneNode(this._short_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAShortBaseTypeNoName(this);
}
public TShort getShort()
{
return this._short_;
}
public void setShort(TShort node)
{
if(this._short_ != null)
{
this._short_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._short_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._short_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._short_ == child)
{
this._short_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._short_ == oldChild)
{
setShort((TShort) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,882
| 18.614583
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/AShrBinop.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class AShrBinop extends PBinop
{
private TShr _shr_;
public AShrBinop()
{
// Constructor
}
public AShrBinop(
@SuppressWarnings("hiding") TShr _shr_)
{
// Constructor
setShr(_shr_);
}
@Override
public Object clone()
{
return new AShrBinop(
cloneNode(this._shr_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseAShrBinop(this);
}
public TShr getShr()
{
return this._shr_;
}
public void setShr(TShr node)
{
if(this._shr_ != null)
{
this._shr_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._shr_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._shr_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._shr_ == child)
{
this._shr_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._shr_ == oldChild)
{
setShr((TShr) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,776
| 17.510417
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ASigFieldRef.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ASigFieldRef extends PFieldRef
{
private PFieldSignature _fieldSignature_;
public ASigFieldRef()
{
// Constructor
}
public ASigFieldRef(
@SuppressWarnings("hiding") PFieldSignature _fieldSignature_)
{
// Constructor
setFieldSignature(_fieldSignature_);
}
@Override
public Object clone()
{
return new ASigFieldRef(
cloneNode(this._fieldSignature_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseASigFieldRef(this);
}
public PFieldSignature getFieldSignature()
{
return this._fieldSignature_;
}
public void setFieldSignature(PFieldSignature node)
{
if(this._fieldSignature_ != null)
{
this._fieldSignature_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._fieldSignature_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._fieldSignature_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._fieldSignature_ == child)
{
this._fieldSignature_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._fieldSignature_ == oldChild)
{
setFieldSignature((PFieldSignature) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,025
| 20.104167
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ASimpleNewExpr.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ASimpleNewExpr extends PNewExpr
{
private TNew _new_;
private PBaseType _baseType_;
public ASimpleNewExpr()
{
// Constructor
}
public ASimpleNewExpr(
@SuppressWarnings("hiding") TNew _new_,
@SuppressWarnings("hiding") PBaseType _baseType_)
{
// Constructor
setNew(_new_);
setBaseType(_baseType_);
}
@Override
public Object clone()
{
return new ASimpleNewExpr(
cloneNode(this._new_),
cloneNode(this._baseType_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseASimpleNewExpr(this);
}
public TNew getNew()
{
return this._new_;
}
public void setNew(TNew node)
{
if(this._new_ != null)
{
this._new_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._new_ = node;
}
public PBaseType getBaseType()
{
return this._baseType_;
}
public void setBaseType(PBaseType node)
{
if(this._baseType_ != null)
{
this._baseType_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._baseType_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._new_)
+ toString(this._baseType_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._new_ == child)
{
this._new_ = null;
return;
}
if(this._baseType_ == child)
{
this._baseType_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._new_ == oldChild)
{
setNew((TNew) newChild);
return;
}
if(this._baseType_ == oldChild)
{
setBaseType((PBaseType) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 2,712
| 18.517986
| 107
|
java
|
soot
|
soot-master/src/main/generated/sablecc/soot/jimple/parser/node/ASingleArgList.java
|
/* This file was generated by SableCC (http://www.sablecc.org/). */
package soot.jimple.parser.node;
import soot.jimple.parser.analysis.*;
@SuppressWarnings("nls")
public final class ASingleArgList extends PArgList
{
private PImmediate _immediate_;
public ASingleArgList()
{
// Constructor
}
public ASingleArgList(
@SuppressWarnings("hiding") PImmediate _immediate_)
{
// Constructor
setImmediate(_immediate_);
}
@Override
public Object clone()
{
return new ASingleArgList(
cloneNode(this._immediate_));
}
@Override
public void apply(Switch sw)
{
((Analysis) sw).caseASingleArgList(this);
}
public PImmediate getImmediate()
{
return this._immediate_;
}
public void setImmediate(PImmediate node)
{
if(this._immediate_ != null)
{
this._immediate_.parent(null);
}
if(node != null)
{
if(node.parent() != null)
{
node.parent().removeChild(node);
}
node.parent(this);
}
this._immediate_ = node;
}
@Override
public String toString()
{
return ""
+ toString(this._immediate_);
}
@Override
void removeChild(@SuppressWarnings("unused") Node child)
{
// Remove child
if(this._immediate_ == child)
{
this._immediate_ = null;
return;
}
throw new RuntimeException("Not a child.");
}
@Override
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild)
{
// Replace child
if(this._immediate_ == oldChild)
{
setImmediate((PImmediate) newChild);
return;
}
throw new RuntimeException("Not a child.");
}
}
| 1,929
| 19.104167
| 107
|
java
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.