Lines 98-103
Link Here
|
98 |
return localArrayBindings[length] = new ArrayBinding(this, dimensionCount, scope.environment()); |
98 |
return localArrayBindings[length] = new ArrayBinding(this, dimensionCount, scope.environment()); |
99 |
} |
99 |
} |
100 |
|
100 |
|
|
|
101 |
/* |
102 |
* Overriden for code assist. In this case, the constantPoolName() has not been computed yet. |
103 |
* Slam the source name so that the signature is syntactically correct. |
104 |
* (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=99686) |
105 |
*/ |
106 |
public char[] genericTypeSignature() { |
107 |
if (this.genericReferenceTypeSignature == null && constantPoolName() == null) { |
108 |
if (isAnonymousType()) |
109 |
setConstantPoolName(superclass().sourceName()); |
110 |
else |
111 |
setConstantPoolName(sourceName()); |
112 |
} |
113 |
return super.genericTypeSignature(); |
114 |
} |
115 |
|
101 |
public char[] readableName() /*java.lang.Object, p.X<T> */ { |
116 |
public char[] readableName() /*java.lang.Object, p.X<T> */ { |
102 |
char[] readableName; |
117 |
char[] readableName; |
103 |
if (isAnonymousType()) { |
118 |
if (isAnonymousType()) { |