SourceLineAnnotation sla = fa.getSourceLines();
EditorUtil.goToLine(activeEditor, sla.getStartLine());
}
return;
} else if (theAnnotation instanceof TypeAnnotation) {
TypeAnnotation fa = (TypeAnnotation) theAnnotation;
String className = ClassName.fromFieldSignature(fa.getTypeDescriptor());
if (className == null) {
break findLocation;
}
IJavaProject project = getIProject();
IType type = project.findType(ClassName.toDottedClassName(className));
if (type == null) {
break findLocation;
}
JavaUI.openInEditor(type, true, true);
return;
} else if (theAnnotation instanceof ClassAnnotation) {
ClassAnnotation fa = (ClassAnnotation) theAnnotation;
String className = fa.getClassName();
IJavaProject project = getIProject();
IType type = project.findType(className);
if (type == null) {
break findLocation;
}