Open
Description
Description
We need to improve our processing of generics type info:
- We may use info about parameter type of class to pass it to type info about its parametrized fields, for example:
class ParametrizedClass<T> {
T parametrizedField;
}
In this case, we may use the info that if an instance of ParametrizedClass
is parametrized with type Integer
(for example), thus field parametrizedField
also has type Integer
.
- Also, we may make a connection between the parameters of a method and its return type, for example:
<T> T returnFirstElement(List<T> list);
In this case, we may use the info that a return value has the type of elements in the provided list.
Metadata
Metadata
Assignees
Type
Projects
Status