| Constructor and Description |
|---|
CodeScanner() |
public static Collection<CallSiteReference> getCallSites(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionIllegalArgumentException - if m is nullpublic static Collection<FieldReference> getFieldsRead(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionIllegalArgumentException - if m is nullpublic static Collection<FieldReference> getFieldsWritten(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionIllegalArgumentException - if m is nullpublic static Collection<TypeReference> getArraysWritten(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionpublic static Collection<NewSiteReference> getNewSites(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionIllegalArgumentException - if m is nullpublic static boolean hasObjectArrayLoad(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionpublic static boolean hasObjectArrayStore(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionpublic static Set getCaughtExceptions(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionpublic static Iterator iterateCastTypes(IMethod m) throws InvalidClassFileException
InvalidClassFileExceptionIllegalArgumentException - if m is nullpublic static Set<TypeReference> getCaughtExceptions(Language l, SSAInstruction[] statements) throws IllegalArgumentException
IllegalArgumentException - if statements == nullpublic static Iterator<TypeReference> iterateCastTypes(SSAInstruction[] statements) throws IllegalArgumentException
IllegalArgumentException - if statements == nullpublic static List<FieldReference> getFieldsRead(SSAInstruction[] statements) throws IllegalArgumentException
statements - list of ssa statementsIllegalArgumentException - if statements == nullpublic static List<FieldReference> getFieldsWritten(SSAInstruction[] statements) throws IllegalArgumentException
statements - list of ssa statementsIllegalArgumentException - if statements == nullpublic static List<TypeReference> getArraysWritten(SSAInstruction[] statements) throws IllegalArgumentException
statements - list of ssa statementsIllegalArgumentException - if statements == nullpublic static boolean hasObjectArrayLoad(SSAInstruction[] statements) throws IllegalArgumentException
IllegalArgumentExceptionpublic static boolean hasObjectArrayStore(SSAInstruction[] statements) throws IllegalArgumentException
IllegalArgumentException