Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
swissiety committed Jan 21, 2025
1 parent 7bd9e7d commit 6ca33ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public interface AnalysisInputLocation {
/**
* Scan the input location and create ClassSources for every compilation / interpretation unit.
*
* @return The source entries.
* @return an Autocloseable resource that must be closed!
*/
@Nonnull
Stream<? extends SootClassSource> getClassSources(@Nonnull View view);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public Optional<JavaSootClassSource> getClassSource(@Nonnull ClassType type, @No
}
}

/** returns a Autocloseable resource that must be closed! */
@Override
@Nonnull
public Stream<JavaSootClassSource> getClassSources(@Nonnull View view) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public static PathBasedAnalysisInputLocation create(
+ "' has to be pointing to the root of a class container, e.g. directory, jar, zip, apk, war etc.");
}

/** returns a resource that must be closed! */
/** returns a Autocloseable resource that must be closed! */
@Nonnull
protected Stream<JavaSootClassSource> walkDirectory(
@Nonnull Path dirPath,
Expand Down

0 comments on commit 6ca33ad

Please sign in to comment.