|
|
@ -1,4 +1,4 @@ |
|
|
|
/* LocalOperator Copyright (C) 1998-1999 Jochen Hoenicke. |
|
|
|
/* LocalVarOperator Copyright (C) 1998-1999 Jochen Hoenicke. |
|
|
|
* |
|
|
|
* |
|
|
|
* This program is free software; you can redistribute it and/or modify |
|
|
|
* This program is free software; you can redistribute it and/or modify |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
@ -23,6 +23,8 @@ import jode.type.Type; |
|
|
|
import jode.decompiler.LocalInfo; |
|
|
|
import jode.decompiler.LocalInfo; |
|
|
|
import jode.decompiler.TabbedPrintWriter; |
|
|
|
import jode.decompiler.TabbedPrintWriter; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import @COLLECTIONS@.Collection; |
|
|
|
|
|
|
|
|
|
|
|
public abstract class LocalVarOperator extends Operator { |
|
|
|
public abstract class LocalVarOperator extends Operator { |
|
|
|
LocalInfo local; |
|
|
|
LocalInfo local; |
|
|
|
|
|
|
|
|
|
|
@ -47,6 +49,11 @@ public abstract class LocalVarOperator extends Operator { |
|
|
|
updateParentType(local.getType()); |
|
|
|
updateParentType(local.getType()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void fillDeclarables(Collection used) { |
|
|
|
|
|
|
|
used.add(local); |
|
|
|
|
|
|
|
super.fillDeclarables(used); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public LocalInfo getLocalInfo() { |
|
|
|
public LocalInfo getLocalInfo() { |
|
|
|
return local.getLocalInfo(); |
|
|
|
return local.getLocalInfo(); |
|
|
|
} |
|
|
|
} |