No access to FlagEncoder.factor

Continuing the discussion from How to develop or change stuff in GraphHopper and use IDE features like debugging etc?:

Now i have another problem. I wanted to add my own FlagEncoder, outside Graphhopper.
The problem i have is, that factor inside EncodedValue has protected acces. I recieve this error:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project custom: Compilation failure
[ERROR] [path]/MyFlagEncoder.java:[275,32] error: factor has protected access in EncodedValue

Why would you need access to the factor?

I reworked my project architecture, so that my own classes are exactly in the same package, therefore there is no reason for me to access this value. This Topic can be closed.

Again: why would you need the factor? Moving your classes to com.graphhopper etc is code smell and we’ll always assume we can safely refactor such ‘hidden’ stuff without notice in the changelogs etc