}
}
public String getFQClassName() {
if (declaration instanceof FieldDeclaration || declaration instanceof MethodDeclaration) {
MemberDeclaration memberDeclaration = (MemberDeclaration) declaration;
return memberDeclaration.getDeclaringType().getQualifiedName();
} else if (declaration instanceof ClassDeclaration) {
ClassDeclaration classDeclaration = (ClassDeclaration) declaration;
return classDeclaration.getPackage() + "." + classDeclaration.getSimpleName();
} else {
return declaration.getSimpleName();