-
Notifications
You must be signed in to change notification settings - Fork 566
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
Class model and builder generation reworked #7256
Conversation
b3b0444
to
69135ab
Compare
builder/processor/src/main/java/io/helidon/builder/processor/BlueprintProcessor.java
Outdated
Show resolved
Hide resolved
builder/processor/src/main/java/io/helidon/builder/processor/BlueprintProcessor.java
Show resolved
Hide resolved
builder/processor/src/main/java/io/helidon/builder/processor/BlueprintProcessor.java
Show resolved
Hide resolved
builder/processor/src/main/java/io/helidon/builder/processor/BlueprintProcessor.java
Outdated
Show resolved
Hide resolved
builder/processor/src/main/java/io/helidon/builder/processor/GenerateAbstractBuilder.java
Outdated
Show resolved
Hide resolved
builder/tests/common-types/src/main/java/io/helidon/common/types/TypeNameBlueprint.java
Outdated
Show resolved
Hide resolved
common/processor/class-model/src/main/java/io/helidon/common/processor/model/ClassType.java
Outdated
Show resolved
Hide resolved
@@ -253,331 +259,223 @@ private void generatePrototypeWithBuilder(TypeElement builderInterface, | |||
TypeInfo typeInfo = typeInformation.blueprintType(); | |||
TypeName prototype = typeContext.typeInfo().prototype(); | |||
String ifaceName = prototype.className(); | |||
List<TypeName> typeGenericArguments = blueprintDef.typeArguments(); |
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.
See line 243 (original), 249 (new):
@SuppressWarnings("checkstyle:MethodLength") // will be fixed when we switch to model
builder/processor/src/main/java/io/helidon/builder/processor/TypeHandler.java
Show resolved
Hide resolved
common/processor/class-model/src/main/java/io/helidon/common/processor/model/Method.java
Outdated
Show resolved
Hide resolved
common/types/src/main/java/io/helidon/common/types/Annotation.java
Outdated
Show resolved
Hide resolved
common/types/src/main/java/io/helidon/common/types/Annotation.java
Outdated
Show resolved
Hide resolved
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
Signed-off-by: David Kral <david.k.kral@oracle.com>
76afdca
to
867d050
Compare
Signed-off-by: David Kral <david.k.kral@oracle.com>
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.
LGTM
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.
LGTM
Fixes #6713
Fixes #6716