use of com.google.devtools.j2objc.ast.SimpleType in project j2objc by google.
the class MethodTranslator method visitTypeReference.
@Override
public TreeNode visitTypeReference(TypeReferenceExpression node, Void data) {
SimpleType typeNode = (SimpleType) node.getFirstChild().acceptVisitor(this, null);
DeclaredType type = (DeclaredType) typeNode.getTypeMirror();
return ClassFileConverter.convertName(type.asElement());
}
Aggregations