public static class JavaSootMethod.JavaSootMethodBuilder extends SootMethod.SootMethodBuilder implements JavaSootMethod.AnnotationOrSignatureStep
JavaSootField.JavaSootFieldBuilder
to provide a fluent API.Constructor and Description |
---|
JavaSootMethodBuilder() |
Modifier and Type | Method and Description |
---|---|
JavaSootMethod |
build() |
Iterable<AnnotationUsage> |
getAnnotations() |
SootMethod.BuildStep |
withAnnotation(Iterable<AnnotationUsage> annotations) |
getModifiers, getPosition, getSignature, getSource, getThrownExceptions, withModifier, withPosition, withSignature, withSource, withThrownExceptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withSource
withModifiers
@Nonnull public Iterable<AnnotationUsage> getAnnotations()
@Nonnull public SootMethod.BuildStep withAnnotation(@Nonnull Iterable<AnnotationUsage> annotations)
withAnnotation
in interface JavaSootMethod.AnnotationOrSignatureStep
@Nonnull public JavaSootMethod build()
build
in interface SootMethod.BuildStep
build
in interface SootMethod.ThrownExceptionsStep
build
in class SootMethod.SootMethodBuilder
Copyright © 2023 Soot OSS. All rights reserved.