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 73552 - Code completion for nested annotation (and ann. arrays) doesn't work
Summary: Code completion for nested annotation (and ann. arrays) doesn't work
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: RELNOTE
: 73815 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-13 16:12 UTC by Marek Fukala
Modified: 2007-01-23 15:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2006-03-13 16:12:23 UTC
[20060313]
import javax.persistence.JoinTable;

@JoinTable(joinColumns=|) 
@JoinTable(joinColumns={|)

doesn't offer anything; should offer @JoinColumn annotation and when completed
put it into braces.

@JoinTable(table=|) doesn't offer anything; should offer @Table annotation
Comment 1 Marek Fukala 2006-03-13 16:14:49 UTC
Since the java 5 ee support is heavily based on the annotations in java classes
we really need this to be fixed for 5.5.
Comment 2 Marek Fukala 2006-03-25 13:54:51 UTC
*** Issue 73815 has been marked as a duplicate of this issue. ***
Comment 3 Vitezslav Stejskal 2006-10-13 06:22:17 UTC
java/editor most likely
Comment 4 Dusan Balek 2007-01-23 15:31:22 UTC
Fixed. Use 'smart' completion (Ctrl+Shift+Space) for expected results.

Checking in JavaCompletionItem.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionItem.java,v
 <--  JavaCompletionItem.java
new revision: 1.26; previous revision: 1.25
done
Checking in JavaCompletionProvider.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v
 <--  JavaCompletionProvider.java
new revision: 1.75; previous revision: 1.74
done