-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Java: Argument[-1] -> Argument[this] #12556
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
Conversation
9c2f92e
to
7b29936
Compare
Click to show differences in coveragejavaGenerated file changes for java
- Android,``android.*``,52,479,138,,,3,67,,,
+ Android,``android.*``,52,481,138,,,3,67,,,
- `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,728,39,,6,,,,,
+ `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,730,39,,6,,,,,
- Java Standard Library,``java.*``,3,611,141,30,,,9,,,10
+ Java Standard Library,``java.*``,3,612,141,30,,,9,,,10
- `Spring <https://spring.io/>`_,``org.springframework.*``,29,477,101,,,,19,14,,29
+ `Spring <https://spring.io/>`_,``org.springframework.*``,29,480,101,,,,19,14,,29
- Totals,,217,8467,1582,133,6,10,113,33,1,88
+ Totals,,217,8475,1582,133,6,10,113,33,1,88
- android.database,59,,39,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,39,
+ android.database,59,,41,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,41,
- com.google.common.base,4,,85,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,62,23
+ com.google.common.base,4,,87,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,63,24
- java.nio,16,,16,,13,,,,,,,,,,,,,,,1,,,,,,,,,,,,,2,,,,,,,,16,
+ java.nio,16,,17,,13,,,,,,,,,,,,,,,1,,,,,,,,,,,,,2,,,,,,,,17,
- org.springframework.http,14,,70,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,60,10
+ org.springframework.http,14,,71,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,61,10
- org.springframework.web.util,,,163,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,138,25
+ org.springframework.web.util,,,165,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,140,25 |
7b29936
to
1370228
Compare
Click to show differences in coveragejavaGenerated file changes for java
- Android,``android.*``,52,479,138,,,3,67,,,
+ Android,``android.*``,52,481,138,,,3,67,,,
- `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,728,39,,6,,,,,
+ `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,730,39,,6,,,,,
- Java Standard Library,``java.*``,3,611,141,30,,,9,,,10
+ Java Standard Library,``java.*``,3,612,141,30,,,9,,,10
- `Spring <https://spring.io/>`_,``org.springframework.*``,29,477,101,,,,19,14,,29
+ `Spring <https://spring.io/>`_,``org.springframework.*``,29,480,101,,,,19,14,,29
- Totals,,217,8467,1582,133,6,10,113,33,1,88
+ Totals,,217,8475,1582,133,6,10,113,33,1,88
- android.database,59,,39,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,39,
+ android.database,59,,41,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,41,
- com.google.common.base,4,,85,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,62,23
+ com.google.common.base,4,,87,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,63,24
- java.nio,16,,16,,13,,,,,,,,,,,,,,,1,,,,,,,,,,,,,2,,,,,,,,16,
+ java.nio,16,,17,,13,,,,,,,,,,,,,,,1,,,,,,,,,,,,,2,,,,,,,,17,
- org.springframework.http,14,,70,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,60,10
+ org.springframework.http,14,,71,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,61,10
- org.springframework.web.util,,,163,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,138,25
+ org.springframework.web.util,,,165,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,140,25 |
Click to show differences in coveragejavaGenerated file changes for java
- Android,``android.*``,52,479,138,,,3,67,,,
+ Android,``android.*``,52,481,138,,,3,67,,,
- `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,728,39,,6,,,,,
+ `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,730,39,,6,,,,,
- Java Standard Library,``java.*``,3,611,141,30,,,9,,,10
+ Java Standard Library,``java.*``,3,612,141,30,,,9,,,10
- `Spring <https://spring.io/>`_,``org.springframework.*``,29,477,101,,,,19,14,,29
+ `Spring <https://spring.io/>`_,``org.springframework.*``,29,480,101,,,,19,14,,29
- Totals,,217,8467,1582,133,6,10,113,33,1,88
+ Totals,,217,8475,1582,133,6,10,113,33,1,88
- android.database,59,,39,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,39,
+ android.database,59,,41,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,41,
- com.google.common.base,4,,85,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,62,23
+ com.google.common.base,4,,87,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,63,24
- java.nio,16,,16,,13,,,,,,,,,,,,,,,1,,,,,,,,,,,,,2,,,,,,,,16,
+ java.nio,16,,17,,13,,,,,,,,,,,,,,,1,,,,,,,,,,,,,2,,,,,,,,17,
- org.springframework.http,14,,70,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,60,10
+ org.springframework.http,14,,71,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,61,10
- org.springframework.web.util,,,163,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,138,25
+ org.springframework.web.util,,,165,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,140,25 |
Click to show differences in coveragejavaGenerated file changes for java
- Android,``android.*``,52,479,138,,,3,67,,,
+ Android,``android.*``,52,481,138,,,3,67,,,
- `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,728,39,,6,,,,,
+ `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,730,39,,6,,,,,
- Java Standard Library,``java.*``,3,611,141,30,,,9,,,10
+ Java Standard Library,``java.*``,3,612,141,30,,,9,,,10
- `Spring <https://spring.io/>`_,``org.springframework.*``,29,477,101,,,,19,14,,29
+ `Spring <https://spring.io/>`_,``org.springframework.*``,29,480,101,,,,19,14,,29
- Totals,,217,8467,1582,133,6,10,113,33,1,88
+ Totals,,217,8475,1582,133,6,10,113,33,1,88
- android.database,59,,39,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,39,
+ android.database,59,,41,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,41,
- com.google.common.base,4,,85,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,62,23
+ com.google.common.base,4,,87,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,63,24
- java.nio,16,,16,,13,,,,,,,,,,,,,,,1,,,,,,,,,,,,,2,,,,,,,,16,
+ java.nio,16,,17,,13,,,,,,,,,,,,,,,1,,,,,,,,,,,,,2,,,,,,,,17,
- org.springframework.http,14,,70,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,60,10
+ org.springframework.http,14,,71,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,61,10
- org.springframework.web.util,,,163,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,138,25
+ org.springframework.web.util,,,165,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,140,25 |
… model generator.
390c5f3
to
7245182
Compare
Click to show differences in coveragejavaGenerated file changes for java
- Android,``android.*``,52,479,138,,,3,67,,,
+ Android,``android.*``,52,481,138,,,3,67,,,
- `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,728,39,,6,,,,,
+ `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,730,39,,6,,,,,
- Java Standard Library,``java.*``,3,615,147,32,,,9,,,12
+ Java Standard Library,``java.*``,3,616,147,32,,,9,,,12
- `Spring <https://spring.io/>`_,``org.springframework.*``,29,477,101,,,,19,14,,29
+ `Spring <https://spring.io/>`_,``org.springframework.*``,29,480,101,,,,19,14,,29
- Totals,,217,8477,1612,140,6,10,113,33,1,97
+ Totals,,217,8485,1612,140,6,10,113,33,1,97
- android.database,59,,39,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,39,
+ android.database,59,,41,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,41,
- com.google.common.base,4,,85,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,62,23
+ com.google.common.base,4,,87,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,63,24
- java.nio,20,,15,,15,,,,,,,,,,,,,,,3,,,,,,,,,,,,,2,,,,,,,,15,
+ java.nio,20,,16,,15,,,,,,,,,,,,,,,3,,,,,,,,,,,,,2,,,,,,,,16,
- org.springframework.http,14,,70,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,60,10
+ org.springframework.http,14,,71,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,61,10
- org.springframework.web.util,,,163,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,138,25
+ org.springframework.web.util,,,165,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,140,25 |
Click to show differences in coveragejavaGenerated file changes for java
- Android,``android.*``,52,479,138,,,3,67,,,
+ Android,``android.*``,52,481,138,,,3,67,,,
- `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,728,39,,6,,,,,
+ `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,730,39,,6,,,,,
- Java Standard Library,``java.*``,3,615,147,32,,,9,,,12
+ Java Standard Library,``java.*``,3,616,147,32,,,9,,,12
- `Spring <https://spring.io/>`_,``org.springframework.*``,29,477,101,,,,19,14,,29
+ `Spring <https://spring.io/>`_,``org.springframework.*``,29,480,101,,,,19,14,,29
- Totals,,217,8477,1612,140,6,10,113,33,1,97
+ Totals,,217,8485,1612,140,6,10,113,33,1,97
- android.database,59,,39,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,39,
+ android.database,59,,41,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,41,
- com.google.common.base,4,,85,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,62,23
+ com.google.common.base,4,,87,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,63,24
- java.nio,20,,15,,15,,,,,,,,,,,,,,,3,,,,,,,,,,,,,2,,,,,,,,15,
+ java.nio,20,,16,,15,,,,,,,,,,,,,,,3,,,,,,,,,,,,,2,,,,,,,,16,
- org.springframework.http,14,,70,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,60,10
+ org.springframework.http,14,,71,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,61,10
- org.springframework.web.util,,,163,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,138,25
+ org.springframework.web.util,,,165,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,140,25 |
8f2ac50
to
01ade87
Compare
Click to show differences in coveragejavaGenerated file changes for java
- Android,``android.*``,52,479,138,,,3,67,,,
+ Android,``android.*``,52,481,138,,,3,67,,,
- `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,728,39,,6,,,,,
+ `Google Guava <https://guava.dev/>`_,``com.google.common.*``,,730,39,,6,,,,,
- Java Standard Library,``java.*``,3,615,147,32,,,9,,,12
+ Java Standard Library,``java.*``,3,616,147,32,,,9,,,12
- `Spring <https://spring.io/>`_,``org.springframework.*``,29,477,101,,,,19,14,,29
+ `Spring <https://spring.io/>`_,``org.springframework.*``,29,480,101,,,,19,14,,29
- Totals,,217,8477,1612,140,6,10,113,33,1,97
+ Totals,,217,8485,1612,140,6,10,113,33,1,97
- android.database,59,,39,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,39,
+ android.database,59,,41,,,,,,,,,,,,,,,,,,,,,,,,,,59,,,,,,,,,,,,41,
- com.google.common.base,4,,85,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,62,23
+ com.google.common.base,4,,87,,,,,,,,,,,,,,,,,,,,3,1,,,,,,,,,,,,,,,,,63,24
- java.nio,20,,15,,15,,,,,,,,,,,,,,,3,,,,,,,,,,,,,2,,,,,,,,15,
+ java.nio,20,,16,,15,,,,,,,,,,,,,,,3,,,,,,,,,,,,,2,,,,,,,,16,
- org.springframework.http,14,,70,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,60,10
+ org.springframework.http,14,,71,,,,,,,,,,,,,,,14,,,,,,,,,,,,,,,,,,,,,,,61,10
- org.springframework.web.util,,,163,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,138,25
+ org.springframework.web.util,,,165,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,140,25 |
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.
Python 👍
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.
Java LGTM (didn't review all the YMLs, only the CodeQL).
DCA looks good. |
In this PR we change the syntax of the input/output DSL of MaD models such that
Argument[this]
is used to denote the qualifier instead ofArgument[-1]
.Please note that
Argument[-1]
will no longer work.Argument[n]
thenn >= 0
(this also applies to ranges).-1
(e.g.Argument[-1..0]
) then that model needed to be split.Argument[this]
as qualifier.@lcartey : This is relevant for the field team. All models need to be updated accordingly.