public abstract class FeatureSpec extends Object
Modifier and Type | Field and Description |
---|---|
protected StringMatcher |
clsSpec |
protected static char |
INVERTED |
protected boolean |
matchInverted |
protected boolean |
matchSuperTypes |
protected StringMatcher |
nameSpec |
protected String |
src |
protected static char |
SUB |
Modifier | Constructor and Description |
---|---|
protected |
FeatureSpec(String rawSpec,
String cls,
String name,
boolean inverted) |
Modifier and Type | Method and Description |
---|---|
StringMatcher |
getClassSpec() |
StringMatcher |
getNameSpec() |
String |
getSource() |
boolean |
isMatchingType(ClassInfo ci) |
abstract boolean |
matches(Object feature) |
boolean |
matchSuperTypes() |
protected static String |
parseInversion(String s,
gov.nasa.jpf.util.FeatureSpec.ParseData d) |
protected static String |
parseType(String s,
gov.nasa.jpf.util.FeatureSpec.ParseData d) |
protected static String |
parseTypeAndName(String s,
gov.nasa.jpf.util.FeatureSpec.ParseData d) |
protected static final char SUB
protected static final char INVERTED
protected String src
protected StringMatcher clsSpec
protected StringMatcher nameSpec
protected boolean matchInverted
protected boolean matchSuperTypes
protected static String parseInversion(String s, gov.nasa.jpf.util.FeatureSpec.ParseData d)
protected static String parseTypeAndName(String s, gov.nasa.jpf.util.FeatureSpec.ParseData d)
public String getSource()
public StringMatcher getClassSpec()
public StringMatcher getNameSpec()
public boolean matchSuperTypes()
public boolean isMatchingType(ClassInfo ci)
public abstract boolean matches(Object feature)