use of org.eclipse.ceylon.compiler.typechecker.tree.Tree.QualifiedMemberOrTypeExpression in project ceylon by eclipse.
the class DocVisitor method visit.
// This catches function calls, method/attribute calls, object refs, constructors.
@Override
public void visit(MemberOrTypeExpression that) {
String loc = that.getLocation();
if (that.getDeclaration() != null && loc != null) {
if (that instanceof QualifiedMemberOrTypeExpression) {
QualifiedMemberOrTypeExpression qme = (QualifiedMemberOrTypeExpression) that;
loc = qme.getIdentifier().getLocation();
}
retrieveDocs(that.getDeclaration().getAnnotations(), loc);
}
super.visit(that);
}
Aggregations