}
}
private void generateQualifiedIdeCodeAsExpr(QualifiedIde qualifiedIde) throws IOException {
boolean commentOutQualifierCode = false;
IdeDeclaration memberDeclaration = null;
IdeDeclaration qualifierDeclaration = qualifiedIde.getQualifier().getDeclaration(false);
if (qualifierDeclaration != null && qualifierDeclaration.isConstructor()) {
qualifierDeclaration = qualifierDeclaration.getClassDeclaration();
}
if (qualifierDeclaration != null && qualifierDeclaration.equals(qualifiedIde.getScope().getClassDeclaration())) {
memberDeclaration = ((ClassDeclaration) qualifierDeclaration).getStaticMemberDeclaration(qualifiedIde.getName());
commentOutQualifierCode = memberDeclaration != null && memberDeclaration.isPrivateStatic();
}
if (memberDeclaration == null) {
final IdeDeclaration type = qualifiedIde.getQualifier().resolveDeclaration();
memberDeclaration = Ide.resolveMember(type, qualifiedIde);
}
if (qualifiedIde.isBound()) {
writeBoundMethodAccess(qualifiedIde, qualifiedIde.getQualifier(), qualifiedIde.getSymDot(), memberDeclaration);
return;