private void initFields() {
      tag_ = 0L;
      type_ = org.box2d.proto.Box2D.PbJointType.DISTANCE;
      bodyA_ = 0;
      bodyB_ = 0;
      collideConnected_ = false;
      localAnchorA_ = org.box2d.proto.Box2D.PbVec2.getDefaultInstance();
      localAnchorB_ = org.box2d.proto.Box2D.PbVec2.getDefaultInstance();
      refAngle_ = 0F;
      enableLimit_ = false;
      lowerLimit_ = 0F;
      upperLimit_ = 0F;
      enableMotor_ = false;
      motorSpeed_ = 0F;
      maxMotorTorque_ = 0F;
      localAxisA_ = org.box2d.proto.Box2D.PbVec2.getDefaultInstance();
      maxMotorForce_ = 0F;
      length_ = 0F;
      frequency_ = 0F;
      dampingRatio_ = 0F;
      groundAnchorA_ = org.box2d.proto.Box2D.PbVec2.getDefaultInstance();
      groundAnchorB_ = org.box2d.proto.Box2D.PbVec2.getDefaultInstance();
      lengthA_ = 0F;
      lengthB_ = 0F;
      ratio_ = 0F;
      maxLengthA_ = 0F;
      maxLengthB_ = 0F;
      target_ = org.box2d.proto.Box2D.PbVec2.getDefaultInstance();
      maxForce_ = 0F;
      joint1_ = 0;
      joint2_ = 0;
      springFrequency_ = 0F;
      springDampingRatio_ = 0F;
      maxTorque_ = 0F;
      maxLength_ = 0F;
      bodies_ = java.util.Collections.emptyList();;
      joints_ = java.util.Collections.emptyList();;
      targetVolume_ = 0F;
    }