Minor, rename TRAIT -> INTERFACE, CLASS_OBJECT -> COMPANION_OBJECT

This commit is contained in:
Alexander Udalov
2015-09-16 18:39:20 +03:00
parent a0fb1a18e3
commit 7cc416ed12
8 changed files with 33 additions and 34 deletions
@@ -10004,9 +10004,9 @@ public final class DebugProtoBuf {
*/
CLASS(0, 0),
/**
* <code>TRAIT = 1;</code>
* <code>INTERFACE = 1;</code>
*/
TRAIT(1, 1),
INTERFACE(1, 1),
/**
* <code>ENUM_CLASS = 2;</code>
*/
@@ -10024,7 +10024,7 @@ public final class DebugProtoBuf {
*/
OBJECT(5, 5),
/**
* <code>CLASS_OBJECT = 6;</code>
* <code>COMPANION_OBJECT = 6;</code>
*/
CLASS_OBJECT(6, 6),
;
@@ -10038,9 +10038,9 @@ public final class DebugProtoBuf {
*/
public static final int CLASS_VALUE = 0;
/**
* <code>TRAIT = 1;</code>
* <code>INTERFACE = 1;</code>
*/
public static final int TRAIT_VALUE = 1;
public static final int INTERFACE_VALUE = 1;
/**
* <code>ENUM_CLASS = 2;</code>
*/
@@ -10058,7 +10058,7 @@ public final class DebugProtoBuf {
*/
public static final int OBJECT_VALUE = 5;
/**
* <code>CLASS_OBJECT = 6;</code>
* <code>COMPANION_OBJECT = 6;</code>
*/
public static final int CLASS_OBJECT_VALUE = 6;
@@ -10068,7 +10068,7 @@ public final class DebugProtoBuf {
public static Kind valueOf(int value) {
switch (value) {
case 0: return CLASS;
case 1: return TRAIT;
case 1: return INTERFACE;
case 2: return ENUM_CLASS;
case 3: return ENUM_ENTRY;
case 4: return ANNOTATION_CLASS;