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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic JCaughtExceptionRefnewCaughtExceptionRef(@NonNull IdentifierFactory identifierFactory) Constructs a CaughtExceptionRef() grammar chunk.static ClassConstantnewClassConstant(String value, @NonNull IdentifierFactory identifierFactory) static EnumConstantnewEnumConstant(String value, String type, @NonNull IdentifierFactory identifierFactory) static JavaLocalConstructs a Local with the given name and type.static JavaLocalnewLocal(String name, Type t, Iterable<AnnotationUsage> annotations) Constructs a Local with the given name and type.static MethodHandlenewMethodHandle(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, int tag, @NonNull IdentifierFactory identifierFactory) static MethodHandlenewMethodHandle(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, MethodHandle.Kind kind, @NonNull IdentifierFactory identifierFactory) static MethodTypenewMethodType(List<Type> parameterTypes, Type returnType, @NonNull IdentifierFactory identifierFactory) static StringConstantnewStringConstant(String value, @NonNull IdentifierFactory identifierFactory) 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
-
Constructor Details
-
JavaJimple
public JavaJimple()
-
-
Method Details
-
isJavaKeywordType
-
newLocal
Constructs a Local with the given name and type. -
newCaughtExceptionRef
public static JCaughtExceptionRef newCaughtExceptionRef(@NonNull IdentifierFactory identifierFactory) Constructs a CaughtExceptionRef() grammar chunk.- Parameters:
identifierFactory- the factory that provides thejava.lang.Throwabletype- Returns:
- the created caught exception reference
-
newClassConstant
public static ClassConstant newClassConstant(String value, @NonNull IdentifierFactory identifierFactory) -
newEnumConstant
public static EnumConstant newEnumConstant(String value, String type, @NonNull IdentifierFactory identifierFactory) -
newStringConstant
public static StringConstant newStringConstant(String value, @NonNull IdentifierFactory identifierFactory) -
newMethodHandle
public static MethodHandle newMethodHandle(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, int tag, @NonNull IdentifierFactory identifierFactory) -
newMethodHandle
public static MethodHandle newMethodHandle(SootClassMemberSignature<? extends SootClassMemberSubSignature> ref, MethodHandle.Kind kind, @NonNull IdentifierFactory identifierFactory) -
newMethodType
public static MethodType newMethodType(List<Type> parameterTypes, Type returnType, @NonNull IdentifierFactory identifierFactory) -
newLocal
Constructs a Local with the given name and type.
-