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
As my SAST vulnerability report tool always complain that "Method names should start with a lower case letter". Is there any reason to use static constructor method name with capital letter.
@RecordBuilder
public record MyRecord(String name){}
The generated code:
/**
* Static constructor/builder. Can be used instead of new MyRecord(...)
*/
@Generated("io.soabase.recordbuilder.core.RecordBuilder")
public static MyRecord MyRecord(String name) {...}
May be it would be great if we can configure the method name conventions.
Expected generated code:
/**
* Static constructor/builder. Can be used instead of new MyRecord(...)
*/
@Generated("io.soabase.recordbuilder.core.RecordBuilder")
public static MyRecord myRecord(String name) {...}
The text was updated successfully, but these errors were encountered:
As my SAST vulnerability report tool always complain that "Method names should start with a lower case letter". Is there any reason to use static constructor method name with capital letter.
The generated code:
Identifier: Find Security Bugs-NM_METHOD_NAMING_CONVENTION
May be it would be great if we can configure the method name conventions.
Expected generated code:
The text was updated successfully, but these errors were encountered: