Author: vrubezhny
Date: 2007-11-02 15:53:15 -0400 (Fri, 02 Nov 2007)
New Revision: 4674
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/TypeInfoCollector.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1203 EL autocompletion prompts static members
All the fields are excluded from valid proposals
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/TypeInfoCollector.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/TypeInfoCollector.java 2007-11-02
19:47:15 UTC (rev 4673)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/TypeInfoCollector.java 2007-11-02
19:53:15 UTC (rev 4674)
@@ -314,7 +314,6 @@
char[][] parameterNames, char[] completionName,
int modifiers, int completionStart,
int completionEnd, int relevance) {
- // TODO Auto-generated method stub
}
@@ -322,12 +321,10 @@
char[] className, char[] completionName,
int modifiers, int completionStart,
int completionEnd, int relevance) {
- // TODO Auto-generated method stub
}
public void acceptError(IProblem error) {
- // TODO Auto-generated method stub
}
@@ -350,30 +347,23 @@
char[] interfaceName, char[] completionName,
int modifiers, int completionStart,
int completionEnd, int relevance) {
- // TODO Auto-generated method stub
-
}
public void acceptKeyword(char[] keywordName,
int completionStart, int completionEnd,
int relevance) {
- // TODO Auto-generated method stub
}
public void acceptLabel(char[] labelName,
int completionStart, int completionEnd,
int relevance) {
- // TODO Auto-generated method stub
-
}
public void acceptLocalVariable(char[] name,
char[] typePackageName, char[] typeName,
int modifiers, int completionStart,
int completionEnd, int relevance) {
- // TODO Auto-generated method stub
-
}
public void acceptMethod(
@@ -406,21 +396,17 @@
char[] returnTypeName, char[] completionName,
int modifiers, int completionStart,
int completionEnd, int relevance) {
- // TODO Auto-generated method stub
-
}
public void acceptModifier(char[] modifierName,
int completionStart, int completionEnd,
int relevance) {
- // TODO Auto-generated method stub
}
public void acceptPackage(char[] packageName,
char[] completionName, int completionStart,
int completionEnd, int relevance) {
- // TODO Auto-generated method stub
}
@@ -428,7 +414,6 @@
char[] typeName, char[] completionName,
int completionStart, int completionEnd,
int relevance) {
- // TODO Auto-generated method stub
}
@@ -436,8 +421,6 @@
char[] typeName, char[] name,
char[] completionName, int completionStart,
int completionEnd, int relevance) {
- // TODO Auto-generated method stub
-
}
};
@@ -540,13 +523,20 @@
&& (info.isGetter() || info.isSetter()))
properties.add(info);
}
+
+ /*
+ * The following code was excluded due to the following issue:
+ *
+ *
http://jira.jboss.com/jira/browse/JBIDE-1203#action_12385823
+ *
+ *
for (FieldInfo info : fFields) {
if (info.isPublic()
&& !info.isStatic() && !info.isJavaLangObject())
properties.add(info);
}
+ */
-
return properties;
}