This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 116602 - Ability to OR in instanceof clauses
Summary: Ability to OR in instanceof clauses
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 02:30 UTC by _ tboudreau
Modified: 2009-12-04 02:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2007-09-25 02:30:41 UTC
Some potential templates can have arguments of different types which are not subtypes of each other.  A simple example is a template for a case statement - 
it can either be a java.util.Enum or a primitive type.

It would be nice to be able to specify, e.g.
${foo instanceof="java.util.Enum | $PRIMITIVE"}

or similar.  See also issue 116599.