Browse Source

364380

tags/preJava7Merge
aclement 12 years ago
parent
commit
e097ad55db

+ 9
- 2
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java View File

} }


public boolean isVisible(ResolvedType fromType) { public boolean isVisible(ResolvedType fromType) {
World world = fromType.getWorld();
return ResolvedType.isVisible(getModifiers(), getDeclaringType().resolve(world), fromType);
UnresolvedType declaringType = getDeclaringType();
ResolvedType type = null;
if (fromType.equals(declaringType)) {
type = fromType;
} else {
World world = fromType.getWorld();
type = declaringType.resolve(world);
}
return ResolvedType.isVisible(getModifiers(), type, fromType);
} }


public void setCheckedExceptions(UnresolvedType[] checkedExceptions) { public void setCheckedExceptions(UnresolvedType[] checkedExceptions) {

Loading…
Cancel
Save