Fix for KT-14819 Quick documentation for special Enum functions doesn't work

#KT-14819 fixed
This commit is contained in:
Simon Ogorodnik
2016-12-15 19:44:25 +03:00
committed by Simon Ogorodnik
parent fa01a4efad
commit d0cf1b0c5f
10 changed files with 153 additions and 9 deletions
+12
View File
@@ -46,4 +46,16 @@ public abstract class Enum<E : Enum<E>>(name: String, ordinal: Int): Comparable<
public override final fun equals(other: Any?): Boolean
public override final fun hashCode(): Int
public override fun toString(): String
/**
* Returns an array containing the constants of this enum type, in the order they're declared.
* This method may be used to iterate over the constants.
* @values
*/
/**
* Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
* @throws IllegalArgumentException if this enum type has no constant with the specified name
* @valueOf
*/
}