Bug 307347 - [syntax highlighting][5.0] not colorized type argument in generic
Summary: [syntax highlighting][5.0] not colorized type argument in generic
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.5.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 03:34 EDT by Sergio Fiorentini CLA
Modified: 2023-06-28 14:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio Fiorentini CLA 2010-03-29 03:34:32 EDT
/*
 * Using generics, in bounded type, bounded wildcard and generic metod
 * the formal and actual type parameters are not colorized as type argument.
 */

public class TestGenericType<T extends Number> {
    // "Number" is not colorized as type argument

    public <U extends Number> void genericMetod() {
	// "Number" is not colorized as type argument
    }

    public void metod() {
	TestGenericType<Number> genericType1 = new TestGenericType<Number>();
	// the two types "Number" are colorized as type argument it is ok

	TestGenericType<? extends Number> genericType2 = new TestGenericType<Number>();
	// the first "Number" is not colorized as type argument, the second is
	// ok

	TestGenericType<? super Number> genericType3 = new TestGenericType<Number>();
	// the first "Number" is not colorized as type argument, the second is
	// ok

	genericType1.<Integer> genericMetod();
	// "Integer" is not colorized as type argument
    }

}
Comment 1 Eclipse Genie CLA 2019-07-16 08:24:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Dani Megert CLA 2019-07-16 14:06:12 EDT
Same in 4.13 M1.
Comment 3 Eclipse Genie CLA 2021-07-06 07:33:24 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2023-06-28 14:19:51 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.