public int getLineNumber() {
   if (astElement != null) lineNumber = astElement.getPosition().getLine();
   return lineNumber;
 }
 public String getClassName() {
   if (astElement != null)
     className = astElement.getPosition().getCompilationUnit().getMainType().getQualifiedName();
   return className;
 }