public abstract class PatternConditionPlus<Target,Value> extends PatternCondition<Target> implements PairProcessor<Value,ProcessingContext>
Constructor and Description |
---|
PatternConditionPlus(java.lang.String methodName,
ElementPattern valuePattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Target t,
ProcessingContext context) |
ElementPattern |
getValuePattern() |
boolean |
process(Value p,
ProcessingContext context) |
abstract boolean |
processValues(Target t,
ProcessingContext context,
PairProcessor<Value,ProcessingContext> processor) |
append, appendArray, getDebugMethodName, processParameters, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
alwaysFalse, alwaysTrue
public PatternConditionPlus(java.lang.String methodName, ElementPattern valuePattern)
public ElementPattern getValuePattern()
public abstract boolean processValues(Target t, ProcessingContext context, PairProcessor<Value,ProcessingContext> processor)
public boolean accepts(Target t, ProcessingContext context)
accepts
in class PatternCondition<Target>
public final boolean process(Value p, ProcessingContext context)
process
in interface PairProcessor<Value,ProcessingContext>