Skip to content

Commit 67946af

Browse files
committed
regenerate eachBase, from javapoet to small homemade codegen classes
1 parent 944de15 commit 67946af

133 files changed

Lines changed: 11228 additions & 14173 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/generator/java/com/github/elebras1/flecs/EachBaseGenerator.java

Lines changed: 248 additions & 195 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component10Callback<A, B, C, D, E, F, G, H, I, J> {
7-
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF,
8-
G componentG, H componentH, I componentI, J componentJ);
5+
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ);
96
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component10WithEntityCallback<A, B, C, D, E, F, G, H, I, J> {
7-
void accept(long entityId, A componentA, B componentB, C componentC, D componentD, E componentE,
8-
F componentF, G componentG, H componentH, I componentI, J componentJ);
5+
void accept(long entityId, A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ);
96
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component11Callback<A, B, C, D, E, F, G, H, I, J, K> {
7-
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF,
8-
G componentG, H componentH, I componentI, J componentJ, K componentK);
5+
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK);
96
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component11WithEntityCallback<A, B, C, D, E, F, G, H, I, J, K> {
7-
void accept(long entityId, A componentA, B componentB, C componentC, D componentD, E componentE,
8-
F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK);
5+
void accept(long entityId, A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK);
96
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component12Callback<A, B, C, D, E, F, G, H, I, J, K, L> {
7-
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF,
8-
G componentG, H componentH, I componentI, J componentJ, K componentK, L componentL);
5+
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK, L componentL);
96
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component12WithEntityCallback<A, B, C, D, E, F, G, H, I, J, K, L> {
7-
void accept(long entityId, A componentA, B componentB, C componentC, D componentD, E componentE,
8-
F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK,
9-
L componentL);
5+
void accept(long entityId, A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK, L componentL);
106
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component13Callback<A, B, C, D, E, F, G, H, I, J, K, L, M> {
7-
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF,
8-
G componentG, H componentH, I componentI, J componentJ, K componentK, L componentL,
9-
M componentM);
5+
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK, L componentL, M componentM);
106
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component13WithEntityCallback<A, B, C, D, E, F, G, H, I, J, K, L, M> {
7-
void accept(long entityId, A componentA, B componentB, C componentC, D componentD, E componentE,
8-
F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK,
9-
L componentL, M componentM);
5+
void accept(long entityId, A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK, L componentL, M componentM);
106
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
package com.github.elebras1.flecs;
22

3-
import java.lang.FunctionalInterface;
4-
53
@FunctionalInterface
64
public interface Component14Callback<A, B, C, D, E, F, G, H, I, J, K, L, M, N> {
7-
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF,
8-
G componentG, H componentH, I componentI, J componentJ, K componentK, L componentL,
9-
M componentM, N componentN);
5+
void accept(A componentA, B componentB, C componentC, D componentD, E componentE, F componentF, G componentG, H componentH, I componentI, J componentJ, K componentK, L componentL, M componentM, N componentN);
106
}

0 commit comments

Comments
 (0)