Package soot
Class AbstractSootFieldRef
- java.lang.Object
-
- soot.AbstractSootFieldRef
-
- All Implemented Interfaces:
SootFieldRef
public class AbstractSootFieldRef extends Object implements SootFieldRef
Representation of a reference to a field as it appears in a class file. Note that the field directly referred to may not actually exist; the actual target of the reference is determined according to the resolution procedure in the Java Virtual Machine Specification, 2nd ed, section 5.4.3.2.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAbstractSootFieldRef.FieldResolutionFailedException
-
Constructor Summary
Constructors Constructor Description AbstractSootFieldRef(SootClass declaringClass, String name, Type type, boolean isStatic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SootClassdeclaringClass()booleanequals(Object obj)StringgetSignature()protected SootFieldhandleFieldTypeMismatch(SootField clField)inthashCode()booleanisStatic()Stringname()SootFieldresolve()StringtoString()Typetype()
-
-
-
Method Detail
-
declaringClass
public SootClass declaringClass()
- Specified by:
declaringClassin interfaceSootFieldRef
-
name
public String name()
- Specified by:
namein interfaceSootFieldRef
-
type
public Type type()
- Specified by:
typein interfaceSootFieldRef
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceSootFieldRef
-
getSignature
public String getSignature()
- Specified by:
getSignaturein interfaceSootFieldRef
-
resolve
public SootField resolve()
- Specified by:
resolvein interfaceSootFieldRef
-
-