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 e8e3fca commit 856a9d1Copy full SHA for 856a9d1
migration-tool/src/main/java/software/amazon/awssdk/migration/internal/utils/SdkTypeUtils.java
@@ -137,7 +137,7 @@ public static boolean isV2ClientBuilder(JavaType type) {
137
}
138
139
public static boolean isEligibleToConvertToBuilder(JavaType.FullyQualified type) {
140
- return isV2ModelClass(type) || isV2ClientClass(type) || isV2CoreClassesWithBuilder(type.getFullyQualifiedName());
+ return type != null && (isV2ModelClass(type) || isV2ClientClass(type) || isV2CoreClassesWithBuilder(type.getFullyQualifiedName()));
141
142
143
public static boolean isEligibleToConvertToStaticFactory(JavaType.FullyQualified type) {
0 commit comments