Given a property with a generic type (in this case java.util.List):
package test;
import org.eclipse.microprofile.config.inject.ConfigProperty;
public class MyClass {
@ConfigProperty(name="grocery.list")
List<String> groceries;
}
and a property file where it's being set:
grocery.list=Lettuce,Bread,Milk
If you hover the property name (grocery.list) in the property file, it will list the type of the property as List rather than List<String>