object Levels
- Alphabetic
- By Inheritance
- Levels
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromName(name: String): Level
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
Error extends Level with Product with Serializable
Errors indicate code that is potentially unsafe or likely to lead to bugs.
Errors indicate code that is potentially unsafe or likely to lead to bugs.
An example is use of nulls. Use of nulls can lead to NullPointerExceptions and should be avoided.
-
object
Info extends Level with Product with Serializable
Infos are used for code which is semantically fine, but there exists a more idomatic way of writing it.
Infos are used for code which is semantically fine, but there exists a more idomatic way of writing it.
An example would be using an if statement to return true or false as the last statement in a block. Eg,
def foo = { if (a) true else false }
Can be re-written as
def foo = a
-
object
Warning extends Level with Product with Serializable
Warnings are reserved for code that has bad semantics.
Warnings are reserved for code that has bad semantics. This by itself does not necessarily mean the code is buggy, but could mean the developer made a mistake or does not fully understand the contructs or best practice.
An example is an expression as a statement. While this is perfectly legal, it could indicate that the developer meant to assign the result to or otherwise use it.
Another example is a constant if. You can do things like if (true) { } if you want, but since the block will always evaluate, the if statement perhaps indicates a mistake.