Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/share/classes/jdk/codetools/apidiff/model/API.java
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,11 @@ private class LocationAndKinds {
this.locn = locn;
this.kinds = kinds;
}

@Override
public String toString() {
return getClass().getSimpleName() + "[locn:" + locn + ",kinds:" + kinds + "]";
}
}

private Map<String, LocationAndKinds> moduleLocationAndKinds;
Expand Down
8 changes: 8 additions & 0 deletions src/share/classes/jdk/codetools/apidiff/model/Selector.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,14 @@ boolean excludesType(String moduleName, String packageName, String typeName) {
return excludesPackage(moduleName, packageName)
|| includesPackage(moduleName, packageName) && excludeType.test(typeName);
}

@Override
public String toString() {
return getClass().getSimpleName() + "[modulePart:" + modulePart
+ ",packagePart:" + packagePart
+ ",typePart:" + typePart
+ "]";
}
}

final List<Entry> includes;
Expand Down