Lines 2028-2036
Link Here
|
2028 |
} |
2028 |
} |
2029 |
if(importReference.isStatic()) { |
2029 |
if(importReference.isStatic()) { |
2030 |
if(!this.requestor.isIgnored(CompletionProposal.FIELD_REF)) { |
2030 |
if(!this.requestor.isIgnored(CompletionProposal.FIELD_REF)) { |
|
|
2031 |
long positions = importReference.sourcePositions[importReference.sourcePositions.length - 1]; |
2032 |
setSourceRange((int) (positions >>> 32), (int) positions); |
2033 |
|
2031 |
this.findImportsOfStaticFields(lastToken, ref); |
2034 |
this.findImportsOfStaticFields(lastToken, ref); |
2032 |
} |
2035 |
} |
2033 |
if(!this.requestor.isIgnored(CompletionProposal.METHOD_NAME_REFERENCE)) { |
2036 |
if(!this.requestor.isIgnored(CompletionProposal.METHOD_NAME_REFERENCE)) { |
|
|
2037 |
setSourceRange( |
2038 |
importReference.sourceStart, |
2039 |
importReference.declarationSourceEnd); |
2040 |
|
2034 |
this.findImportsOfStaticMethods(lastToken, ref); |
2041 |
this.findImportsOfStaticMethods(lastToken, ref); |
2035 |
} |
2042 |
} |
2036 |
} |
2043 |
} |
Lines 3939-3950
Link Here
|
3939 |
&& !field.canBeSeenBy(this.unitScope.fPackage)) |
3946 |
&& !field.canBeSeenBy(this.unitScope.fPackage)) |
3940 |
continue next; |
3947 |
continue next; |
3941 |
|
3948 |
|
3942 |
char[] completionName = CharOperation.concat( |
3949 |
char[] completionName = field.name; |
3943 |
field.declaringClass.qualifiedPackageName(), |
|
|
3944 |
'.', |
3945 |
field.declaringClass.qualifiedSourceName(), |
3946 |
'.', |
3947 |
field.name); |
3948 |
|
3950 |
|
3949 |
completionName = CharOperation.concat(completionName, SEMICOLON); |
3951 |
completionName = CharOperation.concat(completionName, SEMICOLON); |
3950 |
|
3952 |
|