Package sootup.java.core
Class JavaSootField
java.lang.Object
sootup.core.model.SootClassMember<FieldSignature>
sootup.core.model.SootField
sootup.java.core.JavaSootField
- All Implemented Interfaces:
Field
,HasPosition
,HasAnnotation
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
Defines aJavaSootField.JavaSootFieldBuilder
to provide a fluent API.Nested classes/interfaces inherited from class sootup.core.model.SootField
SootField.BuildStep, SootField.ModifierStep, SootField.SignatureStep, SootField.SootFieldBuilder
-
Constructor Summary
ConstructorDescriptionJavaSootField
(FieldSignature signature, Iterable<FieldModifier> modifiers, Iterable<AnnotationUsage> annotations, Position position) Constructs a Soot field with the given name, type and modifiers. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
withAnnotations
(Iterable<AnnotationUsage> annotations) Methods inherited from class sootup.core.model.SootField
equivHashCode, getModifiers, getType, isFinal, isPrivate, isProtected, isPublic, isStatic, withModifiers, withSignature
Methods inherited from class sootup.core.model.SootClassMember
getDeclaringClassType, getName, getPosition, getSignature, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface sootup.core.model.Field
getSignature
-
Constructor Details
-
JavaSootField
public JavaSootField(@Nonnull FieldSignature signature, @Nonnull Iterable<FieldModifier> modifiers, @Nonnull Iterable<AnnotationUsage> annotations, Position position) Constructs a Soot field with the given name, type and modifiers.- Parameters:
signature
- the signature of the fieldmodifiers
- modifier of the fieldannotations
- annotations of the fieldposition
- position of the field
-
-
Method Details
-
getAnnotations
- Specified by:
getAnnotations
in interfaceHasAnnotation
-
withAnnotations
-
builder
-