浏览代码

work-around for hack that makes BinaryTypeBinding extend SourceTypeBinding

tags/V_1_1_b5
jhugunin 21 年前
父节点
当前提交
779e5e30c4

+ 1
- 0
org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java 查看文件

@@ -387,6 +387,7 @@ public final int sourceEnd() {
}
public AbstractMethodDeclaration sourceMethod() {
SourceTypeBinding sourceType;
if (declaringClass instanceof BinaryTypeBinding) return null;
try {
sourceType = (SourceTypeBinding) declaringClass;
} catch (ClassCastException e) {

正在加载...
取消
保存