I am trying to use this awesome package. I am using this on IntelliJIDEA. I ran it smoothly there. I now need to block certain edges. I know the actual osm-way-id of the edges. e.g., the Osm_id/Osm-way-id for I-270 in Maryland is 382296939. I hope to use this code https://github.com/graphhopper/graphhopper/blob/94ac7f853f3a9053cfb7e202ca020b03e425e783/core/src/main/java/com/graphhopper/routing/weighting/AvoidEdgesWeighting.java#L50 for that.
However, I actually do not know Java and thus still trying to figure out how to use that. How and where to specify that edge to avoid and how to use that code? Is there any sample code showing the usage within the main GraphHopper file? I know it might be very novice question but I am very grateful for any suggestion.