Package sootup.jimple.frontend
Class JimpleConverterUtil
java.lang.Object
sootup.jimple.frontend.JimpleConverterUtil
This Utility class provides common used methods in context with parsing Jimple.
- Author:
- Markus Schmidt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static Position
buildPositionFromCtx
(org.antlr.v4.runtime.ParserRuleContext ctx) static JimpleParser
createJimpleParser
(org.antlr.v4.runtime.CharStream charStream, Path path) getClassType
(String typename) getClassTypeList
(JimpleParser.Type_listContext type_list) getClassTypeSet
(JimpleParser.Type_listContext type_list) getMethodSignature
(JimpleParser.Method_signatureContext ctx, org.antlr.v4.runtime.ParserRuleContext parentCtx) getMethodSubSignature
(JimpleParser.Method_subsignatureContext ctx, org.antlr.v4.runtime.ParserRuleContext parentCtx) getTypeList
(JimpleParser.Type_listContext type_list)
-
Constructor Details
-
JimpleConverterUtil
-
-
Method Details
-
getIdentifierFactory
-
getType
-
getClassType
-
buildPositionFromCtx
-
addImport
-
getMethodSignature
@Nonnull public MethodSignature getMethodSignature(JimpleParser.Method_signatureContext ctx, org.antlr.v4.runtime.ParserRuleContext parentCtx) -
getMethodSubSignature
@Nonnull public MethodSubSignature getMethodSubSignature(JimpleParser.Method_subsignatureContext ctx, org.antlr.v4.runtime.ParserRuleContext parentCtx) -
getFieldSignature
-
getTypeList
-
getClassTypeList
-
getClassTypeSet
-
createJimpleParser
@Nonnull public static JimpleParser createJimpleParser(org.antlr.v4.runtime.CharStream charStream, Path path)
-