diff options
author | 2019-10-29 16:43:49 +0100 | |
---|---|---|
committer | 2019-10-29 16:43:49 +0100 | |
commit | 9ccfc1a2853f3da61758a50c0c545235dcebbfab (patch) | |
tree | 5209c0a9f3afa1d57e9d377788d4754f4a9e9f08 /Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java | |
parent | Remove MDEOptimiser dependency (diff) | |
download | VIATRA-Generator-9ccfc1a2853f3da61758a50c0c545235dcebbfab.tar.gz VIATRA-Generator-9ccfc1a2853f3da61758a50c0c545235dcebbfab.tar.zst VIATRA-Generator-9ccfc1a2853f3da61758a50c0c545235dcebbfab.zip |
Remove empty src directories from build path
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java index 03020a7c..72c31e34 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/DirectSupertype.java | |||
@@ -79,9 +79,20 @@ public final class DirectSupertype extends BaseGeneratedEMFQuerySpecification<Di | |||
79 | 79 | ||
80 | @Override | 80 | @Override |
81 | public Object get(final String parameterName) { | 81 | public Object get(final String parameterName) { |
82 | if ("a".equals(parameterName)) return this.fA; | 82 | switch(parameterName) { |
83 | if ("b".equals(parameterName)) return this.fB; | 83 | case "a": return this.fA; |
84 | return null; | 84 | case "b": return this.fB; |
85 | default: return null; | ||
86 | } | ||
87 | } | ||
88 | |||
89 | @Override | ||
90 | public Object get(final int index) { | ||
91 | switch(index) { | ||
92 | case 0: return this.fA; | ||
93 | case 1: return this.fB; | ||
94 | default: return null; | ||
95 | } | ||
85 | } | 96 | } |
86 | 97 | ||
87 | public EClass getA() { | 98 | public EClass getA() { |
@@ -611,9 +622,9 @@ public final class DirectSupertype extends BaseGeneratedEMFQuerySpecification<Di | |||
611 | } | 622 | } |
612 | 623 | ||
613 | /** | 624 | /** |
614 | * Inner class allowing the singleton instance of {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.DirectSupertype (visibility: PUBLIC, simpleName: DirectSupertype, identifier: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.DirectSupertype, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.alloyexamples) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created | 625 | * Inner class allowing the singleton instance of {@link DirectSupertype} to be created |
615 | * <b>not</b> at the class load time of the outer class, | 626 | * <b>not</b> at the class load time of the outer class, |
616 | * but rather at the first call to {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.DirectSupertype (visibility: PUBLIC, simpleName: DirectSupertype, identifier: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.DirectSupertype, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.alloyexamples) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 627 | * but rather at the first call to {@link DirectSupertype#instance()}. |
617 | * | 628 | * |
618 | * <p> This workaround is required e.g. to support recursion. | 629 | * <p> This workaround is required e.g. to support recursion. |
619 | * | 630 | * |