public class IfFeature
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROVIDE_PREFIX |
Constructor and Description |
---|
IfFeature() |
Modifier and Type | Method and Description |
---|---|
static LList |
featureList()
Return a (partial) list of features,
The result does not include "provide" feature names - though it should.
|
static boolean |
hasFeature(java.lang.String name)
Check if we implement a named feature.
|
static boolean |
isProvide(Declaration decl) |
static boolean |
testFeature(java.lang.Object form) |
public static final java.lang.String PROVIDE_PREFIX
public static boolean testFeature(java.lang.Object form)
public static boolean hasFeature(java.lang.String name)
an
- interned feature namepublic static LList featureList()
public static boolean isProvide(Declaration decl)