Lines 2747-2753
Link Here
|
2747 |
location.sourceStart, |
2747 |
location.sourceStart, |
2748 |
location.sourceEnd); |
2748 |
location.sourceEnd); |
2749 |
} |
2749 |
} |
2750 |
public void inheritedMethodReducesVisibility(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods) { |
2750 |
private void inheritedMethodReducesVisibility(int sourceStart, int sourceEnd, MethodBinding concreteMethod, MethodBinding[] abstractMethods) { |
2751 |
StringBuffer concreteSignature = new StringBuffer(); |
2751 |
StringBuffer concreteSignature = new StringBuffer(); |
2752 |
concreteSignature |
2752 |
concreteSignature |
2753 |
.append(concreteMethod.declaringClass.readableName()) |
2753 |
.append(concreteMethod.declaringClass.readableName()) |
Lines 2767-2774
Link Here
|
2767 |
new String[] { |
2767 |
new String[] { |
2768 |
shortSignature.toString(), |
2768 |
shortSignature.toString(), |
2769 |
new String(abstractMethods[0].declaringClass.shortReadableName())}, |
2769 |
new String(abstractMethods[0].declaringClass.shortReadableName())}, |
2770 |
type.sourceStart(), |
2770 |
sourceStart, |
2771 |
type.sourceEnd()); |
2771 |
sourceEnd); |
|
|
2772 |
} |
2773 |
public void inheritedMethodReducesVisibility(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods) { |
2774 |
inheritedMethodReducesVisibility(type.sourceStart(), type.sourceEnd(), concreteMethod, abstractMethods); |
2775 |
} |
2776 |
public void inheritedMethodReducesVisibility(TypeParameter typeParameter, MethodBinding concreteMethod, MethodBinding[] abstractMethods) { |
2777 |
inheritedMethodReducesVisibility(typeParameter.sourceStart(), typeParameter.sourceEnd(), concreteMethod, abstractMethods); |
2772 |
} |
2778 |
} |
2773 |
public void inheritedMethodsHaveIncompatibleReturnTypes(ASTNode location, MethodBinding[] inheritedMethods, int length) { |
2779 |
public void inheritedMethodsHaveIncompatibleReturnTypes(ASTNode location, MethodBinding[] inheritedMethods, int length) { |
2774 |
StringBuffer methodSignatures = new StringBuffer(); |
2780 |
StringBuffer methodSignatures = new StringBuffer(); |