}
if (obj instanceof IBeansConfig) {
return true;
}
IInteractionElement node = ContextCore.getContextManager().getElement(getHandleIdentifier(obj));
if (node != null && node.getInterest().isInteresting()) {
return false;
}
}
else if ((obj instanceof IFile && isBeansConfig((IFile) obj))) {
IInteractionElement node = ContextCore.getContextManager().getElement(getHandleIdentifier(obj));
if (node != null && node.getInterest().isInteresting()) {
return false;
}
}
// Support for meta data
else if (obj instanceof BeanMetadataReference) {
for (Object child : ((BeanMetadataReference) obj).getChildren()) {
if (!canFilter(child)) {
return false;
}
}
}
else if (obj instanceof BeanMetadataNode) {
IInteractionElement node = ContextCore.getContextManager().getElement(
((BeanMetadataNode) obj).getHandleIdentifier());
if (node != null && node.getInterest().isInteresting()) {
return false;
}
for (Object child : ((BeanMetadataNode) obj).getChildren()) {
if (!canFilter(child)) {
return false;
}
}
}
else if (obj instanceof IClassMetadata) {
IInteractionElement node = ContextCore.getContextManager().getElement(
((IBeanMetadata) obj).getHandleIdentifier());
if (node != null && node.getInterest().isInteresting()) {
return false;
}
for (Object child : ((IClassMetadata) obj).getMethodMetaData()) {
if (!canFilter(child)) {
return false;
}
}
}
else if (obj instanceof IBeanMetadata) {
IInteractionElement node = ContextCore.getContextManager().getElement(
((IBeanMetadata) obj).getHandleIdentifier());
if (node != null && node.getInterest().isInteresting()) {
return false;
}
}
AbstractContextStructureBridge parentBridge = ContextCore.getStructureBridge(parentContentType);