
dotty.tools.dotc.util.DotClass.scala Maven / Gradle / Ivy
package dotty.tools.dotc.util
/** Adds standard functionality to a class.
* For now: Just the `unsupported` method.
*/
class DotClass {
/** Throws an `UnsupportedOperationException` with the given method name. */
def unsupported(methodName: String): Nothing =
throw new UnsupportedOperationException(s"$getClass.$methodName")
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy