Package org.openl.main
Class SourceCodeURLTool
- java.lang.Object
-
- org.openl.main.SourceCodeURLTool
-
public final class SourceCodeURLTool extends Object
- Author:
- snshor
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
makeSourceLocationURL(ILocation location, IOpenSourceCodeModule module)
static void
printCodeAndError(ILocation location, String src, PrintWriter pw)
Prints source code fragment and underlines a fragment where an error had been occurredstatic void
printSourceLocation(String sourceLocation, PrintWriter pw)
-
-
-
Method Detail
-
makeSourceLocationURL
public static String makeSourceLocationURL(ILocation location, IOpenSourceCodeModule module)
-
printCodeAndError
public static void printCodeAndError(ILocation location, String src, PrintWriter pw)
Prints source code fragment and underlines a fragment where an error had been occurredOpenl Code Fragment:
=======================
Double getRAWPremium(Policy p)
^^^^^^
=======================
- Parameters:
location
- source locationsrc
- source codepw
- writer
-
printSourceLocation
public static void printSourceLocation(String sourceLocation, PrintWriter pw)
-
-