Skip to content

Commit

Permalink
[Issue-457] Observer resolution - assignability clarification
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Gao <aoingl@gmail.com>
  • Loading branch information
gaol authored and manovotn committed Oct 20, 2020
1 parent b49dede commit 23986b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/src/main/asciidoc/core/events.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ For a custom implementation of the `ObserverMethod` interface defined in <<obser

An event type is considered assignable to a type variable if the event type is assignable to the upper bound, if any.

A raw event type is considered assignable to a parameterized observed event type if the raw types are identical and all type parameters of the required type are either unbounded type variables or java.lang.Object.

A parameterized event type is considered assignable to a raw observed event type if the raw types are identical.

A parameterized event type is considered assignable to a parameterized observed event type if they have identical raw type and for each parameter:
Expand Down

0 comments on commit 23986b2

Please sign in to comment.