public class LineNumbers$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static LineNumbers$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
LineNumbers$() |
Modifier and Type | Method and Description |
---|---|
LineNumbers.Result |
apply(java.lang.Object obj)
Scala API: Obtain line number information for the class defining the given object.
|
java.lang.String |
prettyName(java.lang.Object obj)
Extract source information if available and format a string to identify the
class definition in question.
|
public static final LineNumbers$ MODULE$
public LineNumbers.Result apply(java.lang.Object obj)
This does not work for Java 8 lambdas that are not Serializable, because the language designers have consciously made it impossible to obtain the byte code for those.
obj
- (undocumented)public java.lang.String prettyName(java.lang.Object obj)
obj
- (undocumented)