1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

add wildcard

This commit is contained in:
Ayman Nadeem 2018-07-24 18:24:50 -04:00
parent 41e5165195
commit c07120fcca
6 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,3 @@
class Connectable {
void connect(C<? extends B> connection);
}

View File

@ -0,0 +1,19 @@
(Statements
(Class
(Identifier)
(Statements
(Method
(Void)
(Empty)
(Identifier)
(Annotation
(Identifier)
(GenericType
{ (Identifier)
->(Identifier) }
(Wildcard
{ (WildcardBoundSuper
{-(Identifier)-})
->(WildcardBoundExtends
{+(Identifier)+}) })))
(Empty)))))

View File

@ -0,0 +1,19 @@
(Statements
(Class
(Identifier)
(Statements
(Method
(Void)
(Empty)
(Identifier)
(Annotation
(Identifier)
(GenericType
{ (Identifier)
->(Identifier) }
(Wildcard
{ (WildcardBoundExtends
{-(Identifier)-})
->(WildcardBoundSuper
{+(Identifier)+}) })))
(Empty)))))

View File

@ -0,0 +1,16 @@
(Statements
(Class
(Identifier)
(Statements
(Method
(Void)
(Empty)
(Identifier)
(Annotation
(Identifier)
(GenericType
(Identifier)
(Wildcard
(WildcardBoundSuper
(Identifier)))))
(Empty)))))

View File

@ -0,0 +1,16 @@
(Statements
(Class
(Identifier)
(Statements
(Method
(Void)
(Empty)
(Identifier)
(Annotation
(Identifier)
(GenericType
(Identifier)
(Wildcard
(WildcardBoundExtends
(Identifier)))))
(Empty)))))