mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Javafx: Quick fix for event handler method's signature: added TODO comment about handling wildcard types. (IDEA-151694)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user