final class SimpleConfigOrigin extends ConfigOrigin
- Alphabetic
- By Inheritance
- SimpleConfigOrigin
- ConfigOrigin
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SimpleConfigOrigin(_description: String, _lineNumber: Int, endLineNumber: Int, originType: OriginType, urlOrNull: String, resourceOrNull: String, commentsOrNull: List[String])
- Attributes
- protected
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
- val _description: String
- val _lineNumber: Int
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def comments: List[String]
Returns any comments that appeared to "go with" this place in the file.
Returns any comments that appeared to "go with" this place in the file. Often an empty list, but never null. The details of this are subject to change, but at the moment comments that are immediately before an array element or object field, with no blank line after the comment, "go with" that element or field.
- returns
any comments that seemed to "go with" this origin, empty list if none
- Definition Classes
- SimpleConfigOrigin → ConfigOrigin
- val commentsOrNull: List[String]
- def description: String
Returns a string describing the origin of a value or exception.
Returns a string describing the origin of a value or exception. This will never return null.
- returns
string describing the origin
- Definition Classes
- SimpleConfigOrigin → ConfigOrigin
- val endLineNumber: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- SimpleConfigOrigin → AnyRef → Any
- def filename: String
Returns a filename describing the origin.
Returns a filename describing the origin. This will return null if the origin was not a file.
- returns
filename of the origin or null
- Definition Classes
- SimpleConfigOrigin → ConfigOrigin
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- SimpleConfigOrigin → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lineNumber: Int
Returns a line number where the value or exception originated.
Returns a line number where the value or exception originated. This will return -1 if there's no meaningful line number.
- returns
line number or -1 if none is available
- Definition Classes
- SimpleConfigOrigin → ConfigOrigin
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val originType: OriginType
- def resource: String
Returns a classpath resource name describing the origin.
Returns a classpath resource name describing the origin. This will return null if the origin was not a classpath resource.
- returns
resource name of the origin or null
- Definition Classes
- SimpleConfigOrigin → ConfigOrigin
- val resourceOrNull: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- SimpleConfigOrigin → AnyRef → Any
- def url: URL
Returns a URL describing the origin.
Returns a URL describing the origin. This will return null if the origin has no meaningful URL.
- returns
url of the origin or null
- Definition Classes
- SimpleConfigOrigin → ConfigOrigin
- val urlOrNull: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withComments(comments: List[String]): SimpleConfigOrigin
Returns a
ConfigOriginbased on this one, but with the given comments.Returns a
ConfigOriginbased on this one, but with the given comments. Does not modify this instance or anyConfigValues with this origin (since they are immutable). To set the returned origin to aConfigValue, use ConfigValue#withOrigin.Note that when the given comments are equal to the comments on this object, a new instance may not be created and
thisis returned directly.- comments
the comments used on the returned origin
- returns
the ConfigOrigin with the given comments
- Definition Classes
- SimpleConfigOrigin → ConfigOrigin
- Since
1.3.0
- def withLineNumber(lineNumber: Int): SimpleConfigOrigin
Returns a
ConfigOriginbased on this one, but with the given line number.Returns a
ConfigOriginbased on this one, but with the given line number. This origin must be a FILE, URL or RESOURCE. Does not modify this instance or anyConfigValues with this origin (since they are immutable). To set the returned origin to aConfigValue, use ConfigValue#withOrigin.Note that when the given lineNumber are equal to the lineNumber on this object, a new instance may not be created and
thisis returned directly.- lineNumber
the new line number
- returns
the created ConfigOrigin
- Definition Classes
- SimpleConfigOrigin → ConfigOrigin
- Since
1.3.0
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)