[hotfix] Avoid NullPointerException in static property visitor
@@ -28,8 +28,10 @@ public abstract class DefaultStaticPropertyVisitor implements StaticPropertyVisi
@Override
public void visit(StaticPropertyAlternative staticPropertyAlternative) {
+ if (staticPropertyAlternative.getStaticProperty() != null) {
staticPropertyAlternative.getStaticProperty().accept(this);
}
+ }
@Override
public void visit(StaticPropertyAlternatives staticPropertyAlternatives) {
