Package sootup.core.model
Class SootField.SootFieldBuilder
java.lang.Object
sootup.core.model.SootField.SootFieldBuilder
- All Implemented Interfaces:
HasPosition
,SootField.BuildStep
,SootField.ModifierStep
,SootField.SignatureStep
- Direct Known Subclasses:
JavaSootField.JavaSootFieldBuilder
- Enclosing class:
- SootField
public static class SootField.SootFieldBuilder
extends Object
implements SootField.SignatureStep, SootField.ModifierStep, SootField.BuildStep, HasPosition
Defines a
SootField
builder to provide a fluent API.- Author:
- Jan Martin Persch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected Iterable<FieldModifier>
Line and column information of the corresponding code object that this represents.protected FieldSignature
withModifier
(Iterable<FieldModifier> modifiers) withPosition
(Position position) withSignature
(FieldSignature signature) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface sootup.core.model.SootField.ModifierStep
withModifiers
-
Constructor Details
-
SootFieldBuilder
public SootFieldBuilder()
-
-
Method Details
-
getSignature
-
getModifiers
-
getPosition
Description copied from interface:HasPosition
Line and column information of the corresponding code object that this represents.- Specified by:
getPosition
in interfaceHasPosition
- Returns:
- a
Position
containing position information.
-
withSignature
- Specified by:
withSignature
in interfaceSootField.SignatureStep
-
withModifier
- Specified by:
withModifier
in interfaceSootField.ModifierStep
-
withPosition
- Specified by:
withPosition
in interfaceSootField.BuildStep
-
build
- Specified by:
build
in interfaceSootField.BuildStep
-