-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Example class:
package com.example;
import com.arpnetworking.commons.builder.OvalBuilder;
import net.sf.oval.constraint.Min;
public class MyClass {
private final int _value;
public MyClass(final Builder builder) {
_value = builder._value;
}
public static class Builder extends OvalBuilder<MyClass> {
@Min(1)
private int _value = 1;
public Builder() {
super(MyClass::new);
}
public Builder setValue(final int value) {
_value = value;
return this;
}
}
}This results in the following compile error during annotation processing:
Class processing failed: javassist.CannotCompileException: [source error] isSatisfied(com.example.MyClass$Builder,int,Object,Object) not found in net.sf.oval.constraint.MinCheck
Metadata
Metadata
Assignees
Labels
No labels