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/Opposite.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/Opposite.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Opposite.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/Opposite.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Opposite.java index c4832370..7689d070 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Opposite.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.alloyexamples/src-gen/hu/bme/mit/inf/dslreasoner/domains/alloyexamples/Opposite.java | |||
@@ -80,9 +80,20 @@ public final class Opposite extends BaseGeneratedEMFQuerySpecification<Opposite. | |||
80 | 80 | ||
81 | @Override | 81 | @Override |
82 | public Object get(final String parameterName) { | 82 | public Object get(final String parameterName) { |
83 | if ("a".equals(parameterName)) return this.fA; | 83 | switch(parameterName) { |
84 | if ("b".equals(parameterName)) return this.fB; | 84 | case "a": return this.fA; |
85 | return null; | 85 | case "b": return this.fB; |
86 | default: return null; | ||
87 | } | ||
88 | } | ||
89 | |||
90 | @Override | ||
91 | public Object get(final int index) { | ||
92 | switch(index) { | ||
93 | case 0: return this.fA; | ||
94 | case 1: return this.fB; | ||
95 | default: return null; | ||
96 | } | ||
86 | } | 97 | } |
87 | 98 | ||
88 | public EReference getA() { | 99 | public EReference getA() { |
@@ -612,9 +623,9 @@ public final class Opposite extends BaseGeneratedEMFQuerySpecification<Opposite. | |||
612 | } | 623 | } |
613 | 624 | ||
614 | /** | 625 | /** |
615 | * Inner class allowing the singleton instance of {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Opposite (visibility: PUBLIC, simpleName: Opposite, identifier: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Opposite, 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 | 626 | * Inner class allowing the singleton instance of {@link Opposite} to be created |
616 | * <b>not</b> at the class load time of the outer class, | 627 | * <b>not</b> at the class load time of the outer class, |
617 | * but rather at the first call to {@link JvmGenericType: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Opposite (visibility: PUBLIC, simpleName: Opposite, identifier: hu.bme.mit.inf.dslreasoner.domains.alloyexamples.Opposite, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: hu.bme.mit.inf.dslreasoner.domains.alloyexamples) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 628 | * but rather at the first call to {@link Opposite#instance()}. |
618 | * | 629 | * |
619 | * <p> This workaround is required e.g. to support recursion. | 630 | * <p> This workaround is required e.g. to support recursion. |
620 | * | 631 | * |