Open wangxi761 opened 4 years ago
Describe the bug one class have @Builder and a inner enum, static import these, then build the project ,it will appear "java:cannot find symbol"
To Reproduce
@Data @NoArgsConstructor @AllArgsConstructor @Builder public class EventCommand { private String id; private EventAssembler.EventAggregate agg; private Command type; public enum Command { addEvent, addNode, updateNode, updateEvent, updateEventAndNode } }
another class
import static com.huya.eventcenter.entity.message.EventCommand.Command; import static com.huya.eventcenter.entity.message.EventCommand.builder;
Expected behavior Compile project normal
Version info (please complete the following information):
Cannot find which symbol? What java version is used?
Use a star (*) import instead. You cannot statically import lombok-generated types using a named, non-star import.
Describe the bug one class have @Builder and a inner enum, static import these, then build the project ,it will appear "java:cannot find symbol"
To Reproduce
another class
Expected behavior Compile project normal
Version info (please complete the following information):