Skip to content

Method: toString()

1: package de.fhdw.wtf.generator.java.generatorModel;
2:
3: public enum GenAttributeModifier {
4:         // Nur echte Java-Attribute hier
5:         // Daher KEIN: SYMMETRIC("symmetric");
6:         FINAL("final"), STATIC("static"), TRANSIENT("transient");
7:         
8:         private final String t;
9:         
10:         GenAttributeModifier(final String t) {
11:                 this.t = t;
12:         }
13:         
14:         @Override
15:         public String toString() {
16:                 return this.t;
17:         }
18:         
19: }