public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static void |
addInnerClassTag(SootClass sc,
java.lang.String innerName,
java.lang.String outerName,
java.lang.String simpleName,
int access) |
static void |
addLineTag(Host host,
int sLine,
int eLine)
Line Tag Adder
|
static void |
addLineTag(Host host,
polyglot.ast.Node node)
Line Tag Adder
|
static void |
addLnPosTags(Host host,
int sline,
int eline,
int spos,
int epos) |
static void |
addLnPosTags(Host host,
polyglot.util.Position pos) |
static void |
addMethodLineTag(Host host,
int sline,
int eline) |
static void |
addMethodPosTag(Host meth,
int start,
int end) |
static void |
addPosTag(Host host,
int sc,
int ec)
Position Tag Adder
|
static void |
addPosTag(Host host,
polyglot.util.Position pos)
Position Tag Adder
|
static java.lang.String |
getFieldNameForClassLit(polyglot.types.Type type) |
static int |
getModifier(polyglot.types.Flags flags)
Modifier Creation
|
static java.lang.String |
getParamNameForClassLit(polyglot.types.Type type) |
static Local |
getPrivateAccessFieldInvoke(SootMethodRef toInvoke,
java.util.ArrayList params,
Body body,
LocalGenerator lg) |
static Type |
getSootType(polyglot.types.Type type)
Type handling
|
static java.lang.String |
getSourceFileOfClass(SootClass sootClass) |
static Local |
getThis(Type sootType,
Body body,
java.util.HashMap getThisMap,
LocalGenerator lg) |
static Local |
getThisGivenOuter(Type sootType,
java.util.HashMap getThisMap,
Body body,
LocalGenerator lg,
Local t2) |
static boolean |
isSubType(polyglot.types.ClassType type,
polyglot.types.ClassType superType) |
public static void addInnerClassTag(SootClass sc, java.lang.String innerName, java.lang.String outerName, java.lang.String simpleName, int access)
public static java.lang.String getParamNameForClassLit(polyglot.types.Type type)
public static java.lang.String getFieldNameForClassLit(polyglot.types.Type type)
public static java.lang.String getSourceFileOfClass(SootClass sootClass)
public static void addLnPosTags(Host host, polyglot.util.Position pos)
public static void addLnPosTags(Host host, int sline, int eline, int spos, int epos)
public static void addPosTag(Host host, polyglot.util.Position pos)
public static void addMethodPosTag(Host meth, int start, int end)
public static void addPosTag(Host host, int sc, int ec)
public static void addMethodLineTag(Host host, int sline, int eline)
public static void addLineTag(Host host, polyglot.ast.Node node)
public static void addLineTag(Host host, int sLine, int eLine)
public static Local getThis(Type sootType, Body body, java.util.HashMap getThisMap, LocalGenerator lg)
public static Local getThisGivenOuter(Type sootType, java.util.HashMap getThisMap, Body body, LocalGenerator lg, Local t2)
public static Local getPrivateAccessFieldInvoke(SootMethodRef toInvoke, java.util.ArrayList params, Body body, LocalGenerator lg)
public static boolean isSubType(polyglot.types.ClassType type, polyglot.types.ClassType superType)
public static Type getSootType(polyglot.types.Type type)
public static int getModifier(polyglot.types.Flags flags)