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
{{ message }}
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Static imports are for static functions and JavaPoet does nothing with them when handling type references. Nested types in Java use regular imports, but JavaPoet will always prefer to import the top-level type and use a semi-qualified reference instead. There is no way to force it that I can remember.
In MethodSpec.Builder, I have...
builder.addAnnotation(Value.Lazy.class);
In JavaFile.Builder, I have..
static import is added, however the annotation contains the fully qualified static name....
The text was updated successfully, but these errors were encountered: