
public class NothingAlivePredicate extends Object implements LivenessPredicate
LivenessPredicate where nothing is alive.| Constructor and Description |
|---|
NothingAlivePredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLive(JDeclaredType type)
Subclasses should return true if
type is deemed live and false otherwise. |
boolean |
isLive(JField field)
Subclasses should return true if
field is deemed live and false otherwise. |
boolean |
isLive(JMethod method)
Subclasses should return true if
method is deemed live and false otherwise. |
boolean |
isLive(String string)
Subclasses should return true if
stringLiteral is deemed live and false otherwise. |
boolean |
miscellaneousStatementsAreLive()
Whether miscellaneous statements should be considered live.
|
public boolean isLive(JDeclaredType type)
LivenessPredicatetype is deemed live and false otherwise.isLive in interface LivenessPredicatepublic boolean isLive(JField field)
LivenessPredicatefield is deemed live and false otherwise.isLive in interface LivenessPredicatepublic boolean isLive(JMethod method)
LivenessPredicatemethod is deemed live and false otherwise.isLive in interface LivenessPredicatepublic boolean isLive(String string)
LivenessPredicatestringLiteral is deemed live and false otherwise.isLive in interface LivenessPredicatepublic boolean miscellaneousStatementsAreLive()
LivenessPredicatetrue, but does return false for
NothingAlivePredicate.miscellaneousStatementsAreLive in interface LivenessPredicateCopyright © 2018. All rights reserved.