fixed annotation processor for simple inheritance