diff options
Diffstat (limited to 'Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen')
6 files changed, 92 insertions, 28 deletions
diff --git a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/DirectSupertype.java b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/DirectSupertype.java index 003dbe3f..a557d865 100644 --- a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/DirectSupertype.java +++ b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/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: queries.DirectSupertype (visibility: PUBLIC, simpleName: DirectSupertype, identifier: queries.DirectSupertype, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (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: queries.DirectSupertype (visibility: PUBLIC, simpleName: DirectSupertype, identifier: queries.DirectSupertype, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (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 | * |
diff --git a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/LoopInInheritence.java b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/LoopInInheritence.java index 18ef65f0..5212e3d2 100644 --- a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/LoopInInheritence.java +++ b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/LoopInInheritence.java | |||
@@ -79,8 +79,18 @@ public final class LoopInInheritence extends BaseGeneratedEMFQuerySpecification< | |||
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 | return null; | 83 | case "a": return this.fA; |
84 | default: return null; | ||
85 | } | ||
86 | } | ||
87 | |||
88 | @Override | ||
89 | public Object get(final int index) { | ||
90 | switch(index) { | ||
91 | case 0: return this.fA; | ||
92 | default: return null; | ||
93 | } | ||
84 | } | 94 | } |
85 | 95 | ||
86 | public EClass getA() { | 96 | public EClass getA() { |
@@ -467,9 +477,9 @@ public final class LoopInInheritence extends BaseGeneratedEMFQuerySpecification< | |||
467 | } | 477 | } |
468 | 478 | ||
469 | /** | 479 | /** |
470 | * Inner class allowing the singleton instance of {@link JvmGenericType: queries.LoopInInheritence (visibility: PUBLIC, simpleName: LoopInInheritence, identifier: queries.LoopInInheritence, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created | 480 | * Inner class allowing the singleton instance of {@link LoopInInheritence} to be created |
471 | * <b>not</b> at the class load time of the outer class, | 481 | * <b>not</b> at the class load time of the outer class, |
472 | * but rather at the first call to {@link JvmGenericType: queries.LoopInInheritence (visibility: PUBLIC, simpleName: LoopInInheritence, identifier: queries.LoopInInheritence, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 482 | * but rather at the first call to {@link LoopInInheritence#instance()}. |
473 | * | 483 | * |
474 | * <p> This workaround is required e.g. to support recursion. | 484 | * <p> This workaround is required e.g. to support recursion. |
475 | * | 485 | * |
diff --git a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java index cecbe2d8..c98014f5 100644 --- a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java +++ b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/NonSymmetricOpposite.java | |||
@@ -85,9 +85,20 @@ public final class NonSymmetricOpposite extends BaseGeneratedEMFQuerySpecificati | |||
85 | 85 | ||
86 | @Override | 86 | @Override |
87 | public Object get(final String parameterName) { | 87 | public Object get(final String parameterName) { |
88 | if ("a".equals(parameterName)) return this.fA; | 88 | switch(parameterName) { |
89 | if ("b".equals(parameterName)) return this.fB; | 89 | case "a": return this.fA; |
90 | return null; | 90 | case "b": return this.fB; |
91 | default: return null; | ||
92 | } | ||
93 | } | ||
94 | |||
95 | @Override | ||
96 | public Object get(final int index) { | ||
97 | switch(index) { | ||
98 | case 0: return this.fA; | ||
99 | case 1: return this.fB; | ||
100 | default: return null; | ||
101 | } | ||
91 | } | 102 | } |
92 | 103 | ||
93 | public EReference getA() { | 104 | public EReference getA() { |
@@ -619,9 +630,9 @@ public final class NonSymmetricOpposite extends BaseGeneratedEMFQuerySpecificati | |||
619 | } | 630 | } |
620 | 631 | ||
621 | /** | 632 | /** |
622 | * Inner class allowing the singleton instance of {@link JvmGenericType: queries.NonSymmetricOpposite (visibility: PUBLIC, simpleName: NonSymmetricOpposite, identifier: queries.NonSymmetricOpposite, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created | 633 | * Inner class allowing the singleton instance of {@link NonSymmetricOpposite} to be created |
623 | * <b>not</b> at the class load time of the outer class, | 634 | * <b>not</b> at the class load time of the outer class, |
624 | * but rather at the first call to {@link JvmGenericType: queries.NonSymmetricOpposite (visibility: PUBLIC, simpleName: NonSymmetricOpposite, identifier: queries.NonSymmetricOpposite, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 635 | * but rather at the first call to {@link NonSymmetricOpposite#instance()}. |
625 | * | 636 | * |
626 | * <p> This workaround is required e.g. to support recursion. | 637 | * <p> This workaround is required e.g. to support recursion. |
627 | * | 638 | * |
diff --git a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/Opposite.java b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/Opposite.java index 8c501b8e..ab808e10 100644 --- a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/Opposite.java +++ b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/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: queries.Opposite (visibility: PUBLIC, simpleName: Opposite, identifier: queries.Opposite, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (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: queries.Opposite (visibility: PUBLIC, simpleName: Opposite, identifier: queries.Opposite, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (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 | * |
diff --git a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/OppositeDifferentClass.java b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/OppositeDifferentClass.java index 05f3a312..ff46566d 100644 --- a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/OppositeDifferentClass.java +++ b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/OppositeDifferentClass.java | |||
@@ -84,8 +84,18 @@ public final class OppositeDifferentClass extends BaseGeneratedEMFQuerySpecifica | |||
84 | 84 | ||
85 | @Override | 85 | @Override |
86 | public Object get(final String parameterName) { | 86 | public Object get(final String parameterName) { |
87 | if ("a".equals(parameterName)) return this.fA; | 87 | switch(parameterName) { |
88 | return null; | 88 | case "a": return this.fA; |
89 | default: return null; | ||
90 | } | ||
91 | } | ||
92 | |||
93 | @Override | ||
94 | public Object get(final int index) { | ||
95 | switch(index) { | ||
96 | case 0: return this.fA; | ||
97 | default: return null; | ||
98 | } | ||
89 | } | 99 | } |
90 | 100 | ||
91 | public EReference getA() { | 101 | public EReference getA() { |
@@ -475,9 +485,9 @@ public final class OppositeDifferentClass extends BaseGeneratedEMFQuerySpecifica | |||
475 | } | 485 | } |
476 | 486 | ||
477 | /** | 487 | /** |
478 | * Inner class allowing the singleton instance of {@link JvmGenericType: queries.OppositeDifferentClass (visibility: PUBLIC, simpleName: OppositeDifferentClass, identifier: queries.OppositeDifferentClass, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created | 488 | * Inner class allowing the singleton instance of {@link OppositeDifferentClass} to be created |
479 | * <b>not</b> at the class load time of the outer class, | 489 | * <b>not</b> at the class load time of the outer class, |
480 | * but rather at the first call to {@link JvmGenericType: queries.OppositeDifferentClass (visibility: PUBLIC, simpleName: OppositeDifferentClass, identifier: queries.OppositeDifferentClass, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 490 | * but rather at the first call to {@link OppositeDifferentClass#instance()}. |
481 | * | 491 | * |
482 | * <p> This workaround is required e.g. to support recursion. | 492 | * <p> This workaround is required e.g. to support recursion. |
483 | * | 493 | * |
diff --git a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/SuperTypes.java b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/SuperTypes.java index 823e55da..4bf7a455 100644 --- a/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/SuperTypes.java +++ b/Metrics/Metrics-Calculation/SocialNetwork_plugin/src-gen/queries/SuperTypes.java | |||
@@ -79,9 +79,20 @@ public final class SuperTypes extends BaseGeneratedEMFQuerySpecification<SuperTy | |||
79 | 79 | ||
80 | @Override | 80 | @Override |
81 | public Object get(final String parameterName) { | 81 | public Object get(final String parameterName) { |
82 | if ("c1".equals(parameterName)) return this.fC1; | 82 | switch(parameterName) { |
83 | if ("c2".equals(parameterName)) return this.fC2; | 83 | case "c1": return this.fC1; |
84 | return null; | 84 | case "c2": return this.fC2; |
85 | default: return null; | ||
86 | } | ||
87 | } | ||
88 | |||
89 | @Override | ||
90 | public Object get(final int index) { | ||
91 | switch(index) { | ||
92 | case 0: return this.fC1; | ||
93 | case 1: return this.fC2; | ||
94 | default: return null; | ||
95 | } | ||
85 | } | 96 | } |
86 | 97 | ||
87 | public EClass getC1() { | 98 | public EClass getC1() { |
@@ -611,9 +622,9 @@ public final class SuperTypes extends BaseGeneratedEMFQuerySpecification<SuperTy | |||
611 | } | 622 | } |
612 | 623 | ||
613 | /** | 624 | /** |
614 | * Inner class allowing the singleton instance of {@link JvmGenericType: queries.SuperTypes (visibility: PUBLIC, simpleName: SuperTypes, identifier: queries.SuperTypes, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)} to be created | 625 | * Inner class allowing the singleton instance of {@link SuperTypes} 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: queries.SuperTypes (visibility: PUBLIC, simpleName: SuperTypes, identifier: queries.SuperTypes, deprecated: <unset>) (abstract: false, static: false, final: true, packageName: queries) (interface: false, strictFloatingPoint: false, anonymous: false)#instance()}. | 627 | * but rather at the first call to {@link SuperTypes#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 | * |