use of com.google.devtools.j2objc.ast.IntersectionType in project j2objc by google.
the class TreeConverter method convertIntersectionType.
private static TreeNode convertIntersectionType(org.eclipse.jdt.core.dom.IntersectionType node) {
TypeMirror type = BindingConverter.getType(node.resolveBinding());
IntersectionType newNode = new IntersectionType(type);
for (Object x : node.types()) {
newNode.addType((Type) convert(x));
}
return newNode;
}
Aggregations