Class Effect
java.lang.Object
org.checkerframework.checker.guieffect.Effect
An effect -- either UIEffect, PolyUIEffect, or SafeEffect.
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
Effect
Create a new Effect object.- Parameters:
 cls- one of UIEffect.class, PolyUIEffect.class, or SafeEffect.class
 
 - 
 - 
Method Details
- 
lessThanOrEqualTo
Return true iffleftis less than or equal toright.- Parameters:
 left- the first effect to compareright- the first effect to compare- Returns:
 - true iff 
leftis less than or equal toright 
 - 
min
 - 
isSafe
public boolean isSafe()Return true if this is SafeEffect.- Returns:
 - true if this is SafeEffect
 
 - 
isUI
public boolean isUI()Return true if this is UIEffect.- Returns:
 - true if this is UIEffect
 
 - 
isPoly
Return true if this is PolyUIEffect.- Returns:
 - true if this is PolyUIEffect
 
 - 
getAnnot
 - 
toString
 - 
equals
Return 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
 
 -