I have a class with a constructor which receives a parent type object, so that I can copy those values to my current instance.
E.g:
public class DatabaseEvent extends BaseEvent {
public DatabaseEvent(BaseEvent baseEvent) {
super(baseEvent);
}
....
}
The BaseEvent parent constructor is a copy constructor (copies all the object values passed to its instance).
The Builder generated contains a method withBaseEvent(BaseEvent value) but the comments have a link
{@link DatabaseEvent#baseEvent} which is not correct because DatabaseEvent doesn't contain any baseEvent property (and doesn't need)
/**
Sets the default value for the {@link DatabaseEvent#baseEvent} property.
@param value the default value
@return this builder
*/
public DatabaseEventBuilder withBaseEvent(BaseEvent value) { }
Can it be corrected?
I also tried to find a way to exclude the javadoc generation for this method but I was not able to do it.
Hello,
I have a class with a constructor which receives a parent type object, so that I can copy those values to my current instance. E.g:
public class DatabaseEvent extends BaseEvent {
.... }
The BaseEvent parent constructor is a copy constructor (copies all the object values passed to its instance).
The Builder generated contains a method withBaseEvent(BaseEvent value) but the comments have a link {@link DatabaseEvent#baseEvent} which is not correct because DatabaseEvent doesn't contain any baseEvent property (and doesn't need) /**
Can it be corrected? I also tried to find a way to exclude the javadoc generation for this method but I was not able to do it.
Thank you!