Class Effect
java.lang.Object
org.checkerframework.checker.guieffect.Effect
An effect -- either UIEffect, PolyUIEffect, or SafeEffect.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanReturn true if this equals the given effect.Class<? extends Annotation>getAnnot()inthashCode()booleanisPoly()Return true if this is PolyUIEffect.booleanisSafe()Return true if this is SafeEffect.booleanisUI()Return true if this is UIEffect.static booleanlessThanOrEqualTo(Effect left, Effect right) Return true iffleftis less than or equal toright.static EffecttoString()
- 
Constructor Details- 
EffectCreate a new Effect object.- Parameters:
- cls- one of UIEffect.class, PolyUIEffect.class, or SafeEffect.class
 
 
- 
- 
Method Details- 
lessThanOrEqualToReturn true iffleftis less than or equal toright.- Parameters:
- left- the first effect to compare
- right- the first effect to compare
- Returns:
- true iff leftis less than or equal toright
 
- 
min
- 
isSafepublic boolean isSafe()Return true if this is SafeEffect.- Returns:
- true if this is SafeEffect
 
- 
isUIpublic boolean isUI()Return true if this is UIEffect.- Returns:
- true if this is UIEffect
 
- 
isPolyReturn true if this is PolyUIEffect.- Returns:
- true if this is PolyUIEffect
 
- 
getAnnot
- 
toString
- 
equalsReturn true if this equals the given effect.- Parameters:
- e- the effect to compare this to
- Returns:
- true if this equals the given effect
 
- 
equals
- 
hashCode
 
-