public class JexlInfo extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | JexlInfo.DetailDescribes errors more precisely. | 
| Constructor and Description | 
|---|
| JexlInfo()Create an information structure for dynamic set/get/invoke/new. | 
| JexlInfo(String source,
        int l,
        int c)Create info. | 
| Modifier and Type | Method and Description | 
|---|---|
| JexlInfo | at(int l,
  int c)Creates info reusing the name. | 
| JexlInfo | detach() | 
| static JexlInfo | from(JexlScript script)Gets the info from a script. | 
| int | getColumn()Gets the column number. | 
| JexlInfo.Detail | getDetail() | 
| int | getLine()Gets the line number. | 
| String | getName()Gets the file/script/url name. | 
| String | toString()Formats this info in the form 'name@line:column'. | 
public JexlInfo(String source, int l, int c)
source - source namel - line numberc - column numberpublic JexlInfo()
This gathers the class, method and line number of the first calling method outside of o.a.c.jexl3.
public JexlInfo.Detail getDetail()
public JexlInfo at(int l, int c)
l - the linec - the columnpublic String toString()
public final String getName()
public final int getLine()
public final int getColumn()
public JexlInfo detach()
public static JexlInfo from(JexlScript script)
script - the scriptCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.