-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Handle refactors Separate generator interfaces * Fix addTo generation and cleanup deleted fields * Reuse addElement * Remove ancestor check
- Loading branch information
1 parent
97b236f
commit 836d9bf
Showing
11 changed files
with
130 additions
and
79 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
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
9 changes: 9 additions & 0 deletions
9
src/main/java/com/github/junkfactory/innerbuilder/generators/FieldsGenerator.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,9 @@ | ||
package com.github.junkfactory.innerbuilder.generators; | ||
|
||
import com.intellij.psi.PsiField; | ||
|
||
import java.util.List; | ||
|
||
public interface FieldsGenerator extends Runnable { | ||
List<PsiField> getFields(); | ||
} |
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
4 changes: 4 additions & 0 deletions
4
src/main/java/com/github/junkfactory/innerbuilder/generators/MethodsGenerator.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,4 @@ | ||
package com.github.junkfactory.innerbuilder.generators; | ||
|
||
public interface MethodsGenerator extends Runnable { | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/com/github/junkfactory/innerbuilder/generators/UserDataKey.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,13 @@ | ||
package com.github.junkfactory.innerbuilder.generators; | ||
|
||
import com.intellij.openapi.util.Key; | ||
import com.intellij.psi.PsiMethod; | ||
|
||
final class UserDataKey { | ||
|
||
private UserDataKey() { | ||
} | ||
|
||
static final Key<PsiMethod> METHOD_REF = Key.create("METHOD_REF"); | ||
|
||
} |
Oops, something went wrong.