Javafx: Quick fix for event handler method's signature: added TODO comment about handling wildcard types. (IDEA-151694)

This commit is contained in:
Pavel Dolgov
2016-03-23 15:15:38 +03:00
parent 8325e4a4e0
commit 840bd4952f
@@ -905,7 +905,7 @@ public class JavaFxPsiUtil {
if (eventType instanceof PsiClassType) {
return (PsiClassType)eventType;
}
if (eventType instanceof PsiWildcardType) {
if (eventType instanceof PsiWildcardType) { // TODO Handle wildcards more accurately
final PsiType boundType = ((PsiWildcardType)eventType).getBound();
if (boundType instanceof PsiClassType) {
return (PsiClassType)boundType;