I have a problem that I changed the class name in java class using javaParser and now I want to change all references from the old name to the new name. For example, if I have a java class like this
class A{
private static final Logger log4j = LoggerFactory.getLogger(A.class);
}
and I changed the name of A to B
class B{
private static final Logger log4j = LoggerFactory.getLogger(A.class);
}
then I also want to scan all the files to change A to B using javaParser and I don't know how anybody here can help?