Refactoring
This commit is contained in:
parent
03080c43cb
commit
86b2118770
@ -11,7 +11,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public class AssertStmt extends Statement
|
public class AssertStmt extends Statement
|
||||||
{
|
{
|
||||||
final List<Expression> expr;
|
public final List<Expression> expr;
|
||||||
public AssertStmt(RefTypeOrTPHOrWildcardOrGeneric type, List<Expression> expr, Token offset){
|
public AssertStmt(RefTypeOrTPHOrWildcardOrGeneric type, List<Expression> expr, Token offset){
|
||||||
super(type, offset);
|
super(type, offset);
|
||||||
this.expr=expr;
|
this.expr=expr;
|
||||||
|
@ -9,8 +9,8 @@ import org.antlr.v4.runtime.Token;
|
|||||||
*/
|
*/
|
||||||
public class SwitchStmt extends Statement
|
public class SwitchStmt extends Statement
|
||||||
{
|
{
|
||||||
final Expression expr;
|
public final Expression expr;
|
||||||
final Block switchBlock;
|
public final Block switchBlock;
|
||||||
public SwitchStmt(RefTypeOrTPHOrWildcardOrGeneric type,Expression expr, Block block, Token offset){
|
public SwitchStmt(RefTypeOrTPHOrWildcardOrGeneric type,Expression expr, Block block, Token offset){
|
||||||
super(type,offset);
|
super(type,offset);
|
||||||
this.expr=expr;
|
this.expr=expr;
|
||||||
|
Loading…
Reference in New Issue
Block a user