You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: generator/src/main/java/org/jsonx/AnyModel.java
+24-18
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ private AnyModel(final Registry registry, final Declarer declarer, final AnyProp
179
179
if (isRegex && !Map.class.isAssignableFrom(getMethod.getReturnType()))
180
180
thrownewIllegalAnnotationException(property, getMethod.getDeclaringClass().getName() + "." + fieldName + ": @" + AnyProperty.class.getSimpleName() + " of type " + Bind.Type.getClassName(getMethod, property.nullable(), property.use()) + " with regex name=\"" + property.name() + "\" must be of type that extends " + Map.class.getName());
if (!isAssignable(getMethod, true, isRegex, property.nullable(), property.use(), false, getFieldClasses(types)))
183
183
thrownewIllegalAnnotationException(property, getMethod.getDeclaringClass().getName() + "." + fieldName + ": @" + AnyProperty.class.getSimpleName() + " of type " + Bind.Type.getClassName(getMethod, property.nullable(), property.use()) + " is not assignable for the specified types attribute");
184
184
185
185
validateTypeBinding();
@@ -225,27 +225,29 @@ private Member addReference(final String idref, final Boolean nullable, final Us
0 commit comments