-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROASTER-1: Java Statement Fluent Model #27
base: master
Are you sure you want to change the base?
Conversation
The changes in MethodImpl are not updated to the last commit, could you fix that? Thanks. |
oops something went wrong with the rebase.. should be fixed now |
7badf29
to
70f87e1
Compare
d9e5f2c
to
ff28cd6
Compare
It looks like it is not using the Forge formatter. Could you apply the formatter and rebase with the latest master? Thanks! |
This is the formatter used in Eclipse: https://raw.githubusercontent.com/forge/core/master/eclipse-code-formatter-profile.xml |
c5386ab
to
5955b08
Compare
What about having a method
WDYT ? |
Agreed. Actually it's already in the next version of this PR, which I haven't committed yet :) |
Cool. Commit it and I'll give it a try |
72450f4
to
247be3b
Compare
@@ -33,4 +34,5 @@ | |||
*/ | |||
public boolean isLocalClass(); | |||
|
|||
public JavaClassSource asJavaClassSource(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this method needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftover, removed
On Sat, Jul 25, 2015 at 11:46 PM, George Gastaldi notifications@github.com
wrote:
In api/src/main/java/org/jboss/forge/roaster/model/JavaClass.java
#27 (comment):@@ -33,4 +34,5 @@
*/
public boolean isLocalClass();
- public JavaClassSource asJavaClassSource();
Why is this method needed?
—
Reply to this email directly or view it on GitHub
https://github.com/forge/roaster/pull/27/files#r35489315.
Update Copyright Conflicts: api/src/main/java/org/jboss/forge/roaster/model/source/MethodSource.java impl/src/main/java/org/jboss/forge/roaster/model/impl/AnnotationImpl.java impl/src/main/java/org/jboss/forge/roaster/model/impl/MethodImpl.java Conflicts: impl/src/main/java/org/jboss/forge/roaster/model/impl/MethodImpl.java
Next item is checking the consistency of the internal "origin"/"parent" tree |
@@ -8,6 +8,7 @@ | |||
package org.jboss.forge.roaster.model; | |||
|
|||
import org.jboss.forge.roaster.Roaster; | |||
import org.jboss.forge.roaster.model.source.JavaClassSource; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused import
I like this, excellent job! |
How is parsing of statements work in this proposal? Suppose you want to change some statement in an existing class (change the for loop condition, add another statement), how will this be possible? |
import org.jboss.forge.roaster.model.source.JavaSource; | ||
import org.jboss.forge.roaster.model.statements.Statement; | ||
|
||
public abstract class StatementImpl<O extends JavaSource<O>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have more meaningful names for these generics?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but for uniformity that would need to happen across all the codebase
This is the new feature I (and Mario) started adding in the latest On Tue, Jul 28, 2015 at 3:21 PM, George Gastaldi notifications@github.com
|
Oops broken paste :) On Tue, Jul 28, 2015 at 4:39 PM, Davide Sottara dsotty@gmail.com wrote:
|
Any update on this? |
Can one of the admins verify this patch? |
@sotty, are you still working on this PR? |
I am, and I have just come back to development this week after a long On Wed, Jul 6, 2016 at 10:16 AM, George Gastaldi notifications@github.com
|
Awesome, thank you. Haven't fully checked yet, but it would be nice if it supported Lambdas too. |
@sotty That is great to hear as I just started to get my hands dirty and hit a wall when |
Perhaps this project may give some ideas: https://github.com/square/javapoet |
@sotty Hi is there any update on this project? Thanks |
@sotty I really love this idea. Do you think you are able to finish it in the next time or is there any update on this? |
Unfortunately I do not have the bandwidth these days, but I may have time
to get back to this project in late around mid May
…On Sat, Jan 26, 2019 at 10:07 AM Kai Müller ***@***.***> wrote:
@sotty <https://github.com/sotty> I really love this idea. Do you think
you are able to finish it in the next time or is there any update on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAf0OgSmM5Pj4cpJ6dx29rNeh4WjiJHKks5vHH0ngaJpZM4CfcnO>
.
|
Update Copyright