Lines 7580-7611
Link Here
|
7580 |
} |
7580 |
} |
7581 |
|
7581 |
|
7582 |
private void findVariableNames(char[] name, TypeReference type , char[][] discouragedNames, char[][] forbiddenNames, int kind, int modifiers){ |
7582 |
private void findVariableNames(char[] name, TypeReference type , char[][] discouragedNames, char[][] forbiddenNames, int kind, int modifiers){ |
7583 |
|
|
|
7584 |
if(type != null && |
7583 |
if(type != null && |
7585 |
type.resolvedType != null && |
7584 |
type.resolvedType != null) { |
7586 |
type.resolvedType.problemId() == ProblemReasons.NoError){ |
|
|
7587 |
TypeBinding tb = type.resolvedType; |
7585 |
TypeBinding tb = type.resolvedType; |
7588 |
findVariableName( |
7586 |
|
7589 |
name, |
7587 |
if (tb.problemId() == ProblemReasons.NoError && |
7590 |
tb.leafComponentType().qualifiedPackageName(), |
7588 |
tb != Scope.getBaseType(VOID)) { |
7591 |
tb.leafComponentType().qualifiedSourceName(), |
7589 |
findVariableName( |
7592 |
tb.leafComponentType().sourceName(), |
7590 |
name, |
7593 |
tb, |
7591 |
tb.leafComponentType().qualifiedPackageName(), |
7594 |
discouragedNames, |
7592 |
tb.leafComponentType().qualifiedSourceName(), |
7595 |
forbiddenNames, |
7593 |
tb.leafComponentType().sourceName(), |
7596 |
type.dimensions(), |
7594 |
tb, |
7597 |
kind, |
7595 |
discouragedNames, |
7598 |
modifiers); |
7596 |
forbiddenNames, |
7599 |
}/* else { |
7597 |
type.dimensions(), |
7600 |
char[][] typeName = type.getTypeName(); |
7598 |
kind, |
7601 |
findVariableName( |
7599 |
modifiers); |
7602 |
name, |
7600 |
} |
7603 |
NoChar, |
7601 |
} |
7604 |
CharOperation.concatWith(typeName, '.'), |
7602 |
|
7605 |
typeName[typeName.length - 1], |
|
|
7606 |
excludeNames, |
7607 |
type.dimensions()); |
7608 |
}*/ |
7609 |
} |
7603 |
} |
7610 |
|
7604 |
|
7611 |
private ImportBinding[] getFavoriteReferenceBindings(Scope scope) { |
7605 |
private ImportBinding[] getFavoriteReferenceBindings(Scope scope) { |