Package boomerang.util
Class AccessPath
- java.lang.Object
-
- boomerang.util.AccessPath
-
public class AccessPath extends Object
-
-
Constructor Summary
Constructors Constructor Description AccessPath(Val value)AccessPath(Val value, Field field)AccessPath(Val value, Collection<Field> fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ValgetBase()Collection<Field>getFields()inthashCode()booleanisOverApproximated()StringtoCompactString()Return the AccessPath as a compact representation.StringtoString()
-
-
-
Method Detail
-
isOverApproximated
public boolean isOverApproximated()
-
getBase
public Val getBase()
-
getFields
public Collection<Field> getFields()
-
toCompactString
public String toCompactString()
Return the AccessPath as a compact representation. For example, a path with a base 'x' and no fields becomes 'x', a base 'y' and the fields [f,g] becomes 'y.f.g'- Returns:
- the formatted AccessPath
-
-