I am working on a big project. So, it's not possible to copy the whole code here. But my problem is that by evaluating an expression, I can try the following code and I get true
back:
((HashMap.Node)((HashMap)((FiFiClass)objectTerm.getValue()).getFiFiObjects()).entrySet().toArray()[0]).getKey().equals(FiFiObjectType.AAA)
However, when I copy exactly the same code in my code, Node
is in red color and when I write HashMap.
, I don't get Node
as a possible extension of the phrase. Can anyone help me please?
I am usingJava8
.
Thanks in advance,