public class AccessPath<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AccessPath.Delta<T> |
static class |
AccessPath.PrefixTestResult |
Constructor and Description |
---|
AccessPath() |
Modifier and Type | Method and Description |
---|---|
AccessPath<T> |
append(T... fieldReferences) |
AccessPath<T> |
appendExcludedFieldReference(Collection<T> fieldReferences) |
AccessPath<T> |
appendExcludedFieldReference(T... fieldReferences) |
boolean |
canRead(T field) |
static <T> AccessPath<T> |
empty() |
boolean |
equals(Object obj) |
AccessPath.Delta<T> |
getDeltaTo(AccessPath<T> accPath) |
T |
getFirstAccess() |
boolean |
hasAllExclusionsOf(AccessPath<T> accPath) |
boolean |
hasEmptyAccessPath() |
int |
hashCode() |
boolean |
isAccessInExclusions(T fieldReference) |
boolean |
isEmpty() |
AccessPath.PrefixTestResult |
isPrefixOf(AccessPath<T> accessPath) |
AccessPath<T> |
mergeExcludedFieldReferences(AccessPath<T> accPath) |
AccessPath<T> |
prepend(T fieldRef) |
AccessPath<T> |
removeAnyAccess() |
AccessPath<T> |
removeFirst() |
String |
toString() |
public static <T> AccessPath<T> empty()
public boolean isAccessInExclusions(T fieldReference)
public boolean hasAllExclusionsOf(AccessPath<T> accPath)
public AccessPath<T> append(T... fieldReferences)
public AccessPath<T> prepend(T fieldRef)
public AccessPath<T> removeFirst()
public AccessPath<T> appendExcludedFieldReference(Collection<T> fieldReferences)
public AccessPath<T> appendExcludedFieldReference(T... fieldReferences)
public AccessPath.PrefixTestResult isPrefixOf(AccessPath<T> accessPath)
public AccessPath.Delta<T> getDeltaTo(AccessPath<T> accPath)
public AccessPath<T> mergeExcludedFieldReferences(AccessPath<T> accPath)
public boolean canRead(T field)
public boolean isEmpty()
public AccessPath<T> removeAnyAccess()
public boolean hasEmptyAccessPath()
public T getFirstAccess()
Copyright © 2021 Secure Software Engineering Group - University of Paderborn. All rights reserved.