return realMember.isStatic();
}
- public boolean isPrivate() {
- return realMember.isPrivate();
- }
-
public boolean canBeParameterized() {
return realMember.canBeParameterized();
}
public boolean isStatic();
- public boolean isPrivate();
-
/**
* Returns true iff the member is generic (NOT parameterized)
*/
}
public boolean isDefault() {
- return !(isPublic() || isProtected() || isPrivate());
+ int mods = getModifiers();
+ return !(Modifier.isPublic(mods) || Modifier.isProtected(mods) || Modifier.isPrivate(mods));
}
public boolean isVisible(ResolvedType fromType) {
return false;
}
// now have to test that itdMember is visible from targetType
- if (itdMember.isPrivate()) {
+ if (Modifier.isPrivate(itdMember.getModifiers())) {
return false;
}
if (itdMember.isPublic()) {
declaringType = searchStart;
}
pointcutDec = declaringType.findPointcut(name);
- boolean foundMatchingPointcut = (pointcutDec != null && pointcutDec.isPrivate());
+ boolean foundMatchingPointcut = (pointcutDec != null && Modifier.isPrivate(pointcutDec.getModifiers()));
if (!foundMatchingPointcut) {
pointcutDec = searchStart.findPointcut(name);
if (pointcutDec == null) {