Skip to content

Package: GenOperationModifier

GenOperationModifier

nameinstructionbranchcomplexitylinemethod
GenOperationModifier(String, int, String)
M: 0 C: 8
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 3
100%
M: 0 C: 1
100%
static {...}
M: 0 C: 26
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 3
100%
M: 0 C: 1
100%
toString()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: package de.fhdw.wtf.generator.java.generatorModel;
2:
3: /**
4: * A GenOperationModifier represents one of all possible modifiers for java-operations. For example "abstract" and
5: * "static".
6: */
7: public enum GenOperationModifier {
8:         /**
9:          * The {@link GenOperationModifier} "abstract" declares that an operation is not implemented and needs to be
10:          * implemented by concrete subclasses.
11:          */
12:         ABSTRACT("abstract"),
13:         /**
14:          * The {@link GenOperationModifier} "static" declares that the operation can be called without having to instantiate
15:          * an object of the class containing the static operation.
16:          */
17:         STATIC("static");
18:         
19:         /**
20:          * The String-representation of this {@link GenOperationModifier}.
21:          */
22:         private final String t;
23:         
24:         /**
25:          * Instantiates a new {@link GenOperationModifier}.
26:          *
27:          * @param t
28:          * The String-representation of the GenOperationModifier.
29:          */
30:         GenOperationModifier(final String t) {
31:                 this.t = t;
32:         }
33:         
34:         @Override
35:         public String toString() {
36:                 return this.t;
37:         }
38: }