Bug 82487 - Cannot use instanceof operator with nested or inner classes in Eclipse Platform
Summary: Cannot use instanceof operator with nested or inner classes in Eclipse Platform
Status: RESOLVED DUPLICATE of bug 75490
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 12:00 EST by kanishka CLA
Modified: 2005-01-10 15:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kanishka CLA 2005-01-10 12:00:06 EST
if I used a statement like 

if (obj instanceof com.xxx.Part$Address){

}

This if statement doesnt compile. It shows a syntax error.
Comment 1 Rafael Chaves CLA 2005-01-10 12:50:50 EST
Dup of bug 75490.
Comment 2 Olivier Thomann CLA 2005-01-10 15:45:59 EST
Try this:
if (obj instanceof com.xxx.Part.Address){

}

You should not use the '$' sign.
Close as duplicate of bug 75490.

*** This bug has been marked as a duplicate of 75490 ***