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

Summary: Code completion for nested annotation (and ann. arrays) doesn't work
Product: java Reporter: Marek Fukala <mfukala>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: blocker CC: jkovalsky, pjiricka
Priority: P2 Keywords: RELNOTE
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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