Bug 337418 - [content assist] Content assist does not expand boolean parameter of annotation
Summary: [content assist] Content assist does not expand boolean parameter of annotation
Status: CLOSED DUPLICATE of bug 93120
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 06:50 EST by David Balažic CLA
Modified: 2011-02-17 07:09 EST (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 David Balažic CLA 2011-02-17 06:50:36 EST
ctrl-space does not offer expand the strings "true" and "false" as an annotation parameter.

Example:

package org.springframework.test.annotation;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({java.lang.annotation.ElementType.METHOD})
public @interface Rollback
{
  public abstract boolean value();
}


If I type in java code this:

@Rollback()

having the cursor between the brackets, ctrl-space does not offer "true" or "false".
Even if I start typing "fa" and then press ctrl-space, it does not expand it to "false".


-- Configuration Details --
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.6.1.r361_v20100714-0800-7z8XFUSFLFlmgLc5z-Bvrt8-HVkH
Comment 1 Dani Megert CLA 2011-02-17 07:09:41 EST

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