public class PsiElementsValidityState extends java.lang.Object implements ValidityState
Constructor and Description |
---|
PsiElementsValidityState() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(PsiElement element) |
void |
addDependency(java.lang.String key,
java.lang.Long value) |
boolean |
equalsTo(ValidityState otherState)
Compares this validity state to other ValidityState.
|
static PsiElementsValidityState |
load(java.io.DataInput input) |
void |
save(java.io.DataOutput out)
Invoked by make subsystem in order to store the state.
|
public void addDependency(java.lang.String key, java.lang.Long value)
public boolean equalsTo(ValidityState otherState)
ValidityState
equalsTo
in interface ValidityState
otherState
- the state to compare with.public void save(java.io.DataOutput out) throws java.io.IOException
ValidityState
save
in interface ValidityState
out
- the output to which the state should be stored.java.io.IOException
- if the save operation failed because of an I/O error.TimestampValidityState.load(DataInput)
public static PsiElementsValidityState load(java.io.DataInput input) throws java.io.IOException
java.io.IOException
public void addDependency(PsiElement element)