/* 200: */ /* 201: */ public boolean visibleFrom(CtClass clazz) /* 202: */ { /* 203:170 */ int mod = getModifiers(); /* 204:171 */ if (Modifier.isPublic(mod)) { /* 205:172 */ return true; /* 206: */ } /* 207:173 */ if (Modifier.isPrivate(mod)) { /* 208:174 */ return clazz == this.declaringClass; /* 209: */ } /* 210:176 */ String declName = this.declaringClass.getPackageName(); /* 211:177 */ String fromName = clazz.getPackageName(); /* 212: */ boolean visible; /* 213: */ boolean visible; /* 214:179 */ if (declName == null) { /* 215:180 */ visible = fromName == null; /* 216: */ } else { /* 217:182 */ visible = declName.equals(fromName); /* 218: */ } /* 219:184 */ if ((!visible) && (Modifier.isProtected(mod))) { /* 220:185 */ return clazz.subclassOf(this.declaringClass); /* 221: */ } /* 222:187 */ return visible; /* 223: */ }