public class WalaSootMethod extends JavaSootMethod
JavaSootMethod.AnnotationOrSignatureStep, JavaSootMethod.JavaSootMethodBuilderSootMethod.BuildStep, SootMethod.MethodSourceStep, SootMethod.ModifierStep, SootMethod.SignatureStep, SootMethod.SootMethodBuilder, SootMethod.ThrownExceptionsStepbodySource, exceptions, parameterTypes| Constructor and Description |
|---|
WalaSootMethod(BodySource source,
MethodSignature methodSignature,
Iterable<MethodModifier> modifiers,
Iterable<ClassType> thrownExceptions,
com.ibm.wala.cast.loader.AstMethod.DebuggingInformation debugInfo)
Constructs a SootMethod object with the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.wala.cast.loader.AstMethod.DebuggingInformation |
getDebugInfo() |
int |
getJavaSourceStartLineNumber() |
SootMethod |
withDebugInfo(com.ibm.wala.cast.loader.AstMethod.DebuggingInformation debugInfo) |
JavaSootMethod |
withModifiers(Iterable<MethodModifier> modifiers) |
JavaSootMethod |
withOverridingMethodSource(Function<OverridingBodySource,OverridingBodySource> overrider) |
JavaSootMethod |
withSource(BodySource source) |
JavaSootMethod |
withThrownExceptions(Iterable<ClassType> thrownExceptions) |
builder, getAnnotations, withAnnotations, withBodyequals, equivHashCode, getBody, getBodySource, getExceptionSignatures, getModifiers, getParameterCount, getParameterType, getParameterTypes, getReturnType, hasBody, hashCode, isAbstract, isBuiltInMethod, isConcrete, isFinal, isMain, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, toStringgetDeclaringClassType, getName, getPosition, toStringpublic WalaSootMethod(@Nonnull BodySource source, @Nonnull MethodSignature methodSignature, @Nonnull Iterable<MethodModifier> modifiers, @Nonnull Iterable<ClassType> thrownExceptions, com.ibm.wala.cast.loader.AstMethod.DebuggingInformation debugInfo)
source - methodSignature - modifiers - thrownExceptions - public int getJavaSourceStartLineNumber()
@Nullable public com.ibm.wala.cast.loader.AstMethod.DebuggingInformation getDebugInfo()
@Nonnull public JavaSootMethod withOverridingMethodSource(Function<OverridingBodySource,OverridingBodySource> overrider)
withOverridingMethodSource in class JavaSootMethod@Nonnull public JavaSootMethod withSource(BodySource source)
withSource in class JavaSootMethod@Nonnull public JavaSootMethod withModifiers(Iterable<MethodModifier> modifiers)
withModifiers in class JavaSootMethod@Nonnull public JavaSootMethod withThrownExceptions(Iterable<ClassType> thrownExceptions)
withThrownExceptions in class JavaSootMethod@Nonnull public SootMethod withDebugInfo(com.ibm.wala.cast.loader.AstMethod.DebuggingInformation debugInfo)
Copyright © 2024 Soot OSS. All rights reserved.