diff --git a/src/main/java/space/iseki/pefile/PEFile.java b/src/main/java/space/iseki/pefile/PEFile.java index 31a799e..7c06336 100644 --- a/src/main/java/space/iseki/pefile/PEFile.java +++ b/src/main/java/space/iseki/pefile/PEFile.java @@ -188,7 +188,7 @@ static PEFile open(DataAccessor accessor) throws IOException { * * @return the iterator */ - public ImportTable getImportTable() { + public @NotNull ImportTable getImportTable() { return importTable; } @@ -217,7 +217,7 @@ public void close() throws Exception { return resourceRoot; } - public List listChildren(ResourceNode dirNode) { + public @NotNull List<@NotNull ResourceNode> listChildren(@NotNull ResourceNode dirNode) { if (dirNode.peFile != this) { throw new IllegalArgumentException("ResourceNode does not belong to this PEFile"); }