Package sootup.java.core.language
Class JavaJimple
java.lang.Object
sootup.core.jimple.Jimple
sootup.java.core.language.JavaJimple
JavaJimple implements the Java specific terms for
Jimple
- Author:
- Markus Schmidt
-
Field Summary
Fields inherited from class sootup.core.jimple.Jimple
ABSTRACT, ANNOTATION, BREAKPOINT, CASE, CATCH, CLASS, CMP, CMPG, CMPL, DEFAULT, DYNAMICINVOKE, ENTERMONITOR, ENUM, EXITMONITOR, EXTENDS, FALSE, FINAL, FROM, GOTO, IF, IMPLEMENTS, INSTANCEOF, INTERFACE, INTERFACEINVOKE, LENGTHOF, NATIVE, NEG, NEW, NEWARRAY, NEWMULTIARRAY, NOP, NULL, PHI, PRIVATE, PROTECTED, PUBLIC, RET, RETURN, SPECIALINVOKE, STATIC, STATICINVOKE, STRICTFP, SWITCH, SYNCHRONIZED, THROW, THROWS, TO, TRANSIENT, TRUE, VIRTUALINVOKE, VOLATILE, WITH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JavaJimple
static boolean
Constructs a CaughtExceptionRef() grammar chunk.newClassConstant
(String value) newEnumConstant
(String value, String type) static JavaLocal
Constructs a Local with the given name and type.static JavaLocal
newLocal
(String name, Type t, Iterable<AnnotationUsage> annotations) Constructs a Local with the given name and type.newMethodHandle
(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, int tag) newMethodHandle
(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, MethodHandle.Kind kind) newMethodType
(List<Type> parameterTypes, Type returnType) newStringConstant
(String value) Methods inherited from class sootup.core.jimple.Jimple
escape, jimpleKeywordList, newAddExpr, newAndExpr, newArrayRef, newAssignStmt, newBreakpointStmt, newCastExpr, newCmpExpr, newCmpgExpr, newCmplExpr, newDivExpr, newDynamicInvokeExpr, newDynamicInvokeExpr, newEnterMonitorStmt, newEqExpr, newExitMonitorStmt, newGeExpr, newGotoStmt, newGtExpr, newIdentityStmt, newIfStmt, newInstanceFieldRef, newInstanceOfExpr, newInterfaceInvokeExpr, newInterfaceInvokeExpr, newInterfaceInvokeExpr, newInvokeStmt, newLeExpr, newLengthExpr, newLookupSwitchStmt, newLtExpr, newMulExpr, newNeExpr, newNegExpr, newNewArrayExpr, newNewExpr, newNewMultiArrayExpr, newNopStmt, newOrExpr, newParameterRef, newPhiExpr, newRemExpr, newRetStmt, newReturnStmt, newReturnVoidStmt, newShlExpr, newShrExpr, newSpecialInvokeExpr, newSpecialInvokeExpr, newSpecialInvokeExpr, newStaticFieldRef, newStaticInvokeExpr, newStaticInvokeExpr, newStaticInvokeExpr, newSubExpr, newTableSwitchStmt, newThisRef, newThrowStmt, newTrap, newUshrExpr, newVirtualInvokeExpr, newVirtualInvokeExpr, newVirtualInvokeExpr, newXorExpr, unescape
-
Constructor Details
-
JavaJimple
public JavaJimple()
-
-
Method Details
-
getInstance
-
getIdentifierFactory
- Specified by:
getIdentifierFactory
in classJimple
-
isJavaKeywordType
-
newLocal
Constructs a Local with the given name and type. -
newCaughtExceptionRef
Description copied from class:Jimple
Constructs a CaughtExceptionRef() grammar chunk.- Specified by:
newCaughtExceptionRef
in classJimple
-
newClassConstant
-
newEnumConstant
-
newStringConstant
-
newMethodHandle
public MethodHandle newMethodHandle(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, int tag) -
newMethodHandle
public MethodHandle newMethodHandle(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, MethodHandle.Kind kind) -
newMethodType
-
newLocal
Constructs a Local with the given name and type.
-