Skip to content

Lombokify

Lombokify #194

Triggered via pull request November 11, 2024 00:44
Status Cancelled
Total duration 20m 2s
Artifacts

code_quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 874 warnings, and 125 notices
qodana
The run was canceled by @Desoroxxx.
Auto-boxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L93
Auto-boxing `DEFAULT_GRAVITY_VELOCITY`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/EntityVehicle.java#L116
Auto-boxing `!getSolver().isDrifting`
Auto-boxing: src/main/java/com/paneedah/weaponlib/WeaponRenderer.java#L5201
Auto-boxing `(isLegSlot(slot) ? 2 : 1)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PipelineShaderGroupSourceProvider.java#L43
Auto-boxing `vignetteEnabled ? 1.0f : 0.0f`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java#L52
Auto-boxing `hasOpticScope() ? 10f : 5f`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L135
Auto-boxing `initialConcentration`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PipelineShaderGroupSourceProvider.java#L37
Auto-boxing `nightVisionEnabled ? 1.0f : 0.0f`
Auto-boxing: src/main/java/com/paneedah/weaponlib/crafting/ammopress/GUIContainerAmmoPress.java#L206
Auto-boxing `getCurrentAmountInQuantityBox() * TileEntityAmmoPress.BULLETS_CRAFTED_PER_PRESS`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/VehicleRendererBuilder.java#L34
Auto-boxing `((EntityVehicle) context.getEntity()).getInterpolatedYawDelta()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L146
Auto-boxing `lastTime + (timePerTransiton * x - totalPauseTime)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L254
Auto-boxing `initialConcentration`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/VehicleRendererBuilder.java#L37
Auto-boxing `(float) ((EntityVehicle) context.getEntity()).getInterpolatedWheelRotation()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/animation/Transform.java#L210
Auto-boxing `getRotationPointX()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/render/ModificationGUI.java#L603
Auto-boxing `(weaponInstance.getRecoil())`
Auto-boxing: src/main/java/com/paneedah/weaponlib/SpreadableExposure.java#L90
Auto-boxing `dose * Math.min(0.2f, 0.2f / totalDose)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/render/ModificationGUI.java#L601
Auto-boxing `(BalancePackManager.getNetGunDamage(weapon))`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerItemInstanceRegistry.java#L125
Auto-boxing `extendedStateToMerge.getItemInventoryIndex()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/perspective/WirelessCameraPerspective.java#L79
Auto-boxing `1f - ((float) (entityPlayer.world.getWorldTime() - te.getStartTimestamp()) / te....`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L62
Auto-boxing `DEFAULT_PREPARE_STUB_TIMEOUT`
Auto-boxing: src/main/java/com/paneedah/weaponlib/config/BalancePackManager.java#L374
Auto-boxing `this.globalRecoilMultiplier`
Auto-boxing: src/main/java/com/paneedah/weaponlib/ClientEventHandler.java#L572
Auto-boxing `System.currentTimeMillis()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L149
Auto-boxing `lastTime + (timePerTransiton * x)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java#L53
Auto-boxing `getAimChangeProgress()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L108
Auto-boxing `DEFAULT_ROTATION_SLOWDOWN_FACTOR`
Auto-boxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L92
Auto-boxing `DEFAULT_FAR_VELOCITY`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L64
Auto-boxing `DEFAULT_ATTACK_COOLDOWN_TIMEOUT`
Auto-boxing: src/main/java/com/paneedah/mwc/network/handlers/EntityPickupMessageHandler.java#L28
Auto-boxing `((EntityCustomMob) targetEntity).getConfiguration().getPickupItemID()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/particle/ExplosionSmokeFX.java#L57
Auto-boxing `0.3f * (float) Math.sin(alphaRadians > Math.PI ? Math.PI : alphaRadians)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/config/BalancePackManager.java#L375
Auto-boxing `this.globalHipFireSpread`
Auto-boxing: src/main/java/com/paneedah/weaponlib/SyncManager.java#L45
Auto-boxing `watchableInstance.getUpdateId()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L61
Auto-boxing `DEFAULT_PREPARE_STUB_TIMEOUT`
Auto-boxing: src/main/java/com/paneedah/weaponlib/animation/DebugPositioner.java#L199
Auto-boxing `Boolean.getBoolean(WEAPONLIB_DEBUG_PROPERTY)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/animation/Transform.java#L210
Auto-boxing `getRotationPointY()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L153
Auto-boxing `lastTime + (timePerTransiton * x + totalPauseTime)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L769
Auto-boxing `speedModifier`
Auto-boxing: src/main/java/com/paneedah/weaponlib/sound/JSoundEngine.java#L214
Auto-boxing `volumesMap.get(i) - 0.05f`
Auto-boxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L65
Auto-boxing `DEFAULT_HEAVY_ATTACK_COOLDOWN_TIMEOUT`
Auto-boxing: src/main/java/com/paneedah/weaponlib/CustomArmor.java#L651
Auto-boxing `dose * (1f - exposureReductionFactor)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/config/BalancePackManager.java#L373
Auto-boxing `this.globalDamageMultiplier`
Auto-boxing: src/main/java/com/paneedah/weaponlib/particle/ExplosionSmokeFX.java#L62
Auto-boxing `0.3f * (float) Math.sin(alphaRadians > Math.PI ? Math.PI : alphaRadians)`
Auto-boxing: src/main/java/com/paneedah/weaponlib/render/ModificationGUI.java#L608
Auto-boxing `(weaponInstance.getInaccuracy())`
Auto-boxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L904
Auto-boxing `Integer.MAX_VALUE`
Auto-boxing: src/main/java/com/paneedah/weaponlib/animation/Transform.java#L210
Auto-boxing `getRotationPointZ()`
Auto-boxing: src/main/java/com/paneedah/weaponlib/vehicle/VehicleTransmissionStrategy.java#L26
Auto-boxing `(float) Math.log10((0.01 + gear.strategy.speed - gear.minSpeed) * 20) * 0.9f`
Auto-boxing: src/main/java/com/paneedah/weaponlib/PlayerWeaponInstance.java#L62
Auto-boxing `getOpticScopeVignetteRadius(context.getPartialTicks())`
Auto-boxing: src/main/java/com/paneedah/weaponlib/ClientEventHandler.java#L569
Auto-boxing `System.currentTimeMillis()`
AutoCloseable used without 'try'-with-resources: src/main/java/com/paneedah/weaponlib/render/WavefrontLoader.java#L103
'BufferedReader' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/com/paneedah/weaponlib/render/WavefrontLoader.java#L39
'BufferedReader' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/com/paneedah/weaponlib/render/WavefrontLoader.java#L74
'BufferedReader' used without 'try'-with-resources statement
Auto-unboxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L1394
Auto-unboxing `maxShotsList.get(0)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/KeyedAnimation.java#L64
Auto-unboxing `bbMap.floorEntry(time).getKey()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java#L294
Auto-unboxing `keyList.ceilingKey(timestamp)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/WeaponFireAspect.java#L324
Auto-unboxing `weapon.builder.flashOffsetY.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/ClientValueRepo.java#L123
Auto-unboxing `screenShakeParam.getFirst()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L501
Auto-unboxing `builder.velocity.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L434
Auto-unboxing `builder.attackCooldownTimeout.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/CommonModContext.java#L573
Auto-unboxing `existingEntry.get().getKey()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/EntityGrenadeRenderer.java#L43
Auto-unboxing `renderer.getXRotationCenterOffset().get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L260
Auto-unboxing `spreadMap.getOrDefault(blockPos, 0f)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/ClientEventHandler.java#L560
Auto-unboxing `muzzleFlashMap.get(entityID).peek()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/EntityGrenadeRenderer.java#L44
Auto-unboxing `renderer.getYRotationCenterOffset().get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/Weapon.java#L1354
Auto-unboxing `builder.maxShots.get(0)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L505
Auto-unboxing `builder.farVelocity.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/CommonModContext.java#L590
Auto-unboxing `existingEntry.get().getKey()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/HierarchicalPartRenderer.java#L68
Auto-unboxing `currentProgressProvider.apply(context)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java#L243
Auto-unboxing `keyList.floorKey(timestamp)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L204
Auto-unboxing `spreadMap.getOrDefault(entityPos, 0f)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L167
Auto-unboxing `realTimeTransitions.get(x).getFirst()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java#L244
Auto-unboxing `keyList.ceilingKey(timestamp)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/GearShiftPattern.java#L168
Auto-unboxing `realTimeTransitions.get(x + 1).getFirst()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/WeaponFireAspect.java#L323
Auto-unboxing `weapon.builder.flashOffsetX.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java#L48
Auto-unboxing `arrayList.get(arrayList.size() - 1)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/jimphysics/Engine.java#L59
Auto-unboxing `torqueCurve.get(firstBound)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/EntitySpreadable.java#L318
Auto-unboxing `currentConcentration`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/vehicle/jimphysics/Engine.java#L60
Auto-unboxing `torqueCurve.get(secondBound)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/AnimationData.java#L293
Auto-unboxing `keyList.floorKey(timestamp)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L509
Auto-unboxing `builder.gravityVelocity.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/ai/EntityConfiguration.java#L423
Auto-unboxing `entityIdSupplier.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/compatibility/CompatibleDataManager.java#L35
Auto-unboxing `(Boolean) dataManager.get(key)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/jim/SingleAnimation.java#L91
Auto-unboxing `getTimestamps().get(t - 1)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/compatibility/CompatibleDataManager.java#L31
Auto-unboxing `(Integer) dataManager.get(key)`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/ItemGrenade.java#L513
Auto-unboxing `builder.rotationSlowdownFactor.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L426
Auto-unboxing `builder.prepareStubTimeout.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/ClientValueRepo.java#L127
Auto-unboxing `screenShakeParam.getFirst()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/WeaponFireAspect.java#L322
Auto-unboxing `weapon.builder.flashScale.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/grenade/EntityGrenadeRenderer.java#L45
Auto-unboxing `renderer.getZRotationCenterOffset().get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/crafting/base/GUIContainerStation.java#L614
Auto-unboxing `this.hasAvailableMaterials.get(entry.getIngredient())`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/WeaponFireAspect.java#L332
Auto-unboxing `weapon.builder.smokeOffsetX.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/WeaponFireAspect.java#L332
Auto-unboxing `weapon.builder.smokeOffsetY.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L438
Auto-unboxing `builder.heavyAttackCooldownTimeout.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/melee/ItemMelee.java#L430
Auto-unboxing `builder.prepareHeavyStubTimeout.get()`
Auto-unboxing: src/main/java/com/paneedah/weaponlib/animation/ClientValueRepo.java#L129
Auto-unboxing `screenShakeParam.getFirst()`
Class is exposed outside of its visibility scope: src/main/java/com/paneedah/weaponlib/ai/EntityConfiguration.java#L737
Class `TexturedModel` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/main/java/com/paneedah/weaponlib/crafting/OptionsMetadata.java#L120
Class `OptionMetadata` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/main/java/com/paneedah/weaponlib/tile/LootBoxConfiguration.java#L185
Class `Equipment` is exposed outside its defined visibility scope
Redundant 'Collection.addAll()' call: src/main/java/com/paneedah/weaponlib/vehicle/jimphysics/Engine.java#L47
'addAll()' call can be replaced with parametrized constructor call