This repository has been archived by the owner on Nov 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into backport_intellij_11
Conflicts: .idea/compiler.xml lombok-plugin/src/main/resources/META-INF/plugin.xml
- Loading branch information
Showing
7 changed files
with
111 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
lombok-plugin/src/main/java/de/plushnikov/intellij/plugin/provider/AugmentCallData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package de.plushnikov.intellij.plugin.provider; | ||
|
||
import com.intellij.psi.PsiElement; | ||
|
||
public class AugmentCallData { | ||
private final PsiElement element; | ||
private final Class type; | ||
|
||
public <Psi extends PsiElement> AugmentCallData(PsiElement element, Class<Psi> type) { | ||
this.element = element; | ||
this.type = type; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
|
||
AugmentCallData that = (AugmentCallData) o; | ||
|
||
return element.equals(that.element) && type.equals(that.type); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
int result = element.hashCode(); | ||
result = 31 * result + type.hashCode(); | ||
return result; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<id>Lombook Plugin</id> | ||
<name>Lombok Plugin</name> | ||
<vendor url="https://github.com/mplushnikov/lombok-intellij-plugin" email="[email protected]">Michail Plushnikov</vendor> | ||
<version>0.8.2</version> | ||
<version>0.8.3</version> | ||
<idea-version since-build="110.3" until-build="123.00"/> | ||
|
||
<description><![CDATA[ | ||
|
@@ -152,18 +152,26 @@ | |
<!--<li>TODO: Add delombok action for @Cleanup, @Synchronized and other annotations</li>--> | ||
<change-notes><![CDATA[ | ||
<ul> | ||
<li>0.8.2 | ||
<li>0.8.3 | ||
<ol> | ||
<li>Added support for "topic" annotation value of all @Log annotations (Lombok >= 1.12.6)</li> | ||
<li>Fixed #17: Cyclic parent child relation</li> | ||
<li>Fixed #34: Lombok plugin crashes</li> | ||
<li>Fixed #36: Possible class cast exception</li> | ||
<li>Fixed #37: Delombok of files included as library failes</li> | ||
</ol> | ||
</li> | ||
<li>0.8.2 | ||
<ol> | ||
<li>Added support for "topic" annotation value of all @Log annotations (Lombok >= 1.12.6)</li> | ||
<li>Added validation of static fields/methods of @Delegate annotation (@Delegate is legal only on instance fields or no-argument instance methods)</li> | ||
<li>Fixed #19: Slf4j in static context</li> | ||
<li>Fixed #29: Renaming a class with the @Log* annotation adds extra qualification to calls</li> | ||
<li>Fixed #31: Prevent errors with invalid identifiers for builderClassName in @Builder annotation</li> | ||
<li>Fixed #32: Refactor -> Extract -> Parameter Object || Change Signature broken</li> | ||
<li>Fixed (on GoogleCode) #83: @Slf4j does not work when added for first time</li> | ||
<li>Fixed (on GoogleCode) #100: Refactor Change Signature || Extract - Parameter Object</li> | ||
</ol> | ||
</li> | ||
</ol> | ||
</li> | ||
<li>0.8.1 | ||
<ol> | ||
<li>Issue (on Git) #23: Fixed @Delegate inspection reports error</li> | ||
|