Invalid parsing the following java code
DeveshUpadhyay opened this issue · 0 comments
DeveshUpadhyay commented
When you parse the below code with javalang it doesn't parse the "!" as prefix_operators which is inside the if condition which is after "(" but if you associate it with a variable like " !str2" then it gets recognized.
String str1="something";
String str2 = "something else";
**if( ! ( str1 == str2 ) )**
{
System.out.println("Hello world");
}