Skip to content

Package: GenParameterModifier

GenParameterModifier

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

Coverage

1: package de.fhdw.wtf.generator.java.generatorModel;
2:
3: /**
4: * A GenParameterModifier represents one of all possible modifiers for java-parameters. For example "final".
5: */
6: public enum GenParameterModifier {
7:         /**
8:          * The {@link GenParameterModifier} "final" declares that the value of a variable ones initialized can not be
9:          * changed anymore.
10:          */
11:         FINAL("final");
12:         
13:         /**
14:          * The String-representation of this {@link GenParameterModifier}.
15:          */
16:         private final String t;
17:         
18:         /**
19:          * Instantiates a new {@link GenParameterModifier}.
20:          *
21:          * @param t
22:          * The String-representation of the GenParameterModifier.
23:          */
24:         GenParameterModifier(final String t) {
25:                 this.t = t;
26:         }
27:         
28:         @Override
29:         public String toString() {
30:                 return this.t;
31:         }
32: }