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
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static JCaughtExceptionRef
Constructs a CaughtExceptionRef() grammar chunk.static ClassConstant
newClassConstant
(String value) static EnumConstant
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.static MethodHandle
newMethodHandle
(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, int tag) static MethodHandle
newMethodHandle
(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, MethodHandle.Kind kind) static MethodType
newMethodType
(List<Type> parameterTypes, Type returnType) static StringConstant
newStringConstant
(String value) Methods inherited from class sootup.core.jimple.Jimple
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
-
Field Details
-
javaIdentifierFactory
-
-
Constructor Details
-
JavaJimple
public JavaJimple()
-
-
Method Details
-
isJavaKeywordType
-
newLocal
Constructs a Local with the given name and type. -
newCaughtExceptionRef
Constructs a CaughtExceptionRef() grammar chunk. -
newClassConstant
-
newEnumConstant
-
newStringConstant
-
newMethodHandle
public static MethodHandle newMethodHandle(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, int tag) -
newMethodHandle
public static MethodHandle newMethodHandle(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, MethodHandle.Kind kind) -
newMethodType
-
newLocal
Constructs a Local with the given name and type.
-