Class ResolvedField
- java.lang.Object
-
- com.tonic.analysis.execution.resolve.ResolvedField
-
public class ResolvedField extends Object
A resolved field reference paired with the class that actually declares it.
-
-
Constructor Summary
Constructors Constructor Description ResolvedField(FieldEntry field, ClassFile declaringClass)Creates a resolved field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassFilegetDeclaringClass()FieldEntrygetField()booleanisStatic()StringtoString()
-
-
-
Constructor Detail
-
ResolvedField
public ResolvedField(FieldEntry field, ClassFile declaringClass)
Creates a resolved field.- Parameters:
field- the matched field entrydeclaringClass- the class that declares it
-
-
Method Detail
-
getField
public FieldEntry getField()
- Returns:
- the field
-
getDeclaringClass
public ClassFile getDeclaringClass()
- Returns:
- the declaring class
-
isStatic
public boolean isStatic()
- Returns:
- true if the field has the static modifier
-
-