more precise resolution:=optional directives, avoiding split-packages on javassist