NodeTypesComponent_new currentTypesComponent = myTypeChecker.getCurrentTypesComponent();   //first, in current component
if (currentTypesComponent != null) {
currentTypesComponent.addNodeToFrontier(node);
currentTypesComponent.addDependcyOnCurrent(node);
type = currentTypesComponent.getRawTypeFromContext(node);
<BUG>if (type != null) return type;
}</BUG>
NodeTypesComponent_new nodeTypesComponent = NodeTypesComponentsRepository.getInstance()  // then, in appropriate component
.getNodeTypesComponent(node.getContainingRoot());
if (nodeTypesComponent != null && nodeTypesComponent != currentTypesComponent) {

NodeTypesComponent_new currentTypesComponent = myTypeChecker.getCurrentTypesComponent();   //first, in current component
if (currentTypesComponent != null) {
currentTypesComponent.addNodeToFrontier(node);
currentTypesComponent.addDependcyOnCurrent(node);
type = currentTypesComponent.getRawTypeFromContext(node);
if (type != null) return getRepresentatorIfNecessary(type, currentTypesComponent);
}
NodeTypesComponent_new nodeTypesComponent = NodeTypesComponentsRepository.getInstance()  // then, in appropriate component
.getNodeTypesComponent(node.getContainingRoot());
if (nodeTypesComponent != null && nodeTypesComponent != currentTypesComponent) {
