Skip to content

Commit 12e7c43

Browse files
authored
Fix javadoc for Exp.getUses() and Stmt.getUses() (#184)
1 parent a9c37ee commit 12e7c43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/pascal/taie/ir/exp/Exp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public interface Exp extends Serializable {
3838
Type getType();
3939

4040
/**
41-
* @return a list of expressions which are used by (contained in) this Exp.
41+
* @return a set of expressions which are used by (contained in) this Exp.
4242
*/
4343
default Set<RValue> getUses() {
4444
return Set.of();

src/main/java/pascal/taie/ir/stmt/Stmt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public interface Stmt extends Indexable, Serializable {
5858
Optional<LValue> getDef();
5959

6060
/**
61-
* @return a list of right-value expressions used in this Stmt.
61+
* @return a set of right-value expressions used in this Stmt.
6262
*/
6363
Set<RValue> getUses();
6464

0 commit comments

Comments
 (0)