We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3542b commit 10f8716Copy full SHA for 10f8716
spring-modulith-core/src/main/java/org/springframework/modulith/core/ApplicationModule.java
@@ -781,6 +781,19 @@ Classes getClasses() {
781
return classes;
782
}
783
784
+ /**
785
+ * Returns all types internal to the module.
786
+ *
787
+ * @return will never be {@literal null}.
788
+ * @since 1.4
789
+ */
790
+ public Collection<JavaClass> getInternalTypes() {
791
+
792
+ return classes.stream()
793
+ .filter(Predicate.not(this::isExposed))
794
+ .toList();
795
+ }
796
797
private String getQualifiedName(NamedInterface namedInterface) {
798
return namedInterface.getQualifiedName(getIdentifier());
799
0 commit comments