-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
None
-
b26
-
generic
-
generic
The DocTrees API currently provides a getElement(DocTreePath) method that allows to retrieve the javax.lang.model.element.Element referred to by a DocTree node.
However, the element API cannot represent all types. ForJDK-8177280 we need a way to represent instantiated generic types with their type arguments. For this purpose we should provide a method that returns a TypeMirror for the type referred to by a DocTreePath, or null if it does not refer to a type.
TypeMirror getType(DocTreePath path)
However, the element API cannot represent all types. For
TypeMirror getType(DocTreePath path)
- csr for
-
JDK-8237827 DocTrees should provide getType(DocTreePath) method
- Closed
- relates to
-
JDK-8177280 @see {@link} syntax should allow generic types
- Resolved