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)
ValidityStateequalsTo in interface ValidityStateotherState - the state to compare with.public void save(java.io.DataOutput out)
throws java.io.IOException
ValidityStatesave in interface ValidityStateout - 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.IOExceptionpublic void addDependency(PsiElement element)