class SourceMap extends AnyRef
Represents a source map (SMAP), which serves to associate lines of the input JSP file(s) to lines in the generated servlet in the final .class file, according to the JSR-045 spec.
- Source
- SourceMap.scala
- Alphabetic
- By Inheritance
- SourceMap
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SourceMap()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (SourceMap, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addSmap(smap: String, stratumName: String): Unit
Adds the given string as an embedded SMAP with the given stratum name.
Adds the given string as an embedded SMAP with the given stratum name.
- smap
the SMAP to embed
- stratumName
the name of the stratum output by the compilation that produced the smap to be embedded
-
def
addStratum(stratum: SourceMapStratum, defaultStratum: Boolean): Unit
Adds the given SourceMapStratum object, representing a Stratum with logically associated FileSection and LineSection blocks, to the current SourceMap.
Adds the given SourceMapStratum object, representing a Stratum with logically associated FileSection and LineSection blocks, to the current SourceMap. If default is true, this stratum is made the default stratum, overriding any previously set default.
- stratum
the SourceMapStratum object to add
- defaultStratum
if true, this SourceMapStratum is considered to represent the default SMAP stratum unless overwritten
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def ensuring(cond: (SourceMap) ⇒ Boolean, msg: ⇒ Any): SourceMap
- def ensuring(cond: (SourceMap) ⇒ Boolean): SourceMap
- def ensuring(cond: Boolean, msg: ⇒ Any): SourceMap
- def ensuring(cond: Boolean): SourceMap
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
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
- def mapToStratum(line: Int, name: String = defaultStratum): Option[(String, Int)]
-
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()
-
def
setDoEmbedded(status: Boolean): Unit
Instructs the SourceMap whether to actually print any embedded SMAPs or not.
Instructs the SourceMap whether to actually print any embedded SMAPs or not. Intended for situations without an SMAP resolver.
- status
If false, ignore any embedded SMAPs.
-
def
setOutputFileName(x: String): Unit
Sets the filename (without path information) for the generated source file.
Sets the filename (without path information) for the generated source file. E.g., "foo$jsp.java".
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SourceMap → 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
- @native() @throws( ... )
- def →[B](y: B): (SourceMap, B)