public final class PQueries
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<PBody,java.lang.Iterable<PQuery>> |
directlyReferencedQueriesFunction() |
static java.util.Set<PTraceable> |
getTraceables(PQuery query)
Returns all
PTraceable s contained in the given PQuery : itself, its bodies and their constraints. |
static com.google.common.base.Predicate<PParameter> |
parameterDirectionPredicate(PParameterDirection direction) |
static com.google.common.base.Function<PParameter,java.lang.String> |
parameterNameFunction() |
static com.google.common.base.Function<PQuery,java.lang.String> |
queryNameFunction()
Function that returns the qualified name of a query
|
static com.google.common.base.Function<IQueryReference,PQuery> |
queryOfReferenceFunction() |
static com.google.common.base.Predicate<PQuery> |
queryStatusPredicate(PQuery.PQueryStatus status)
Predicate checking for the status of selected queries
|
public static com.google.common.base.Predicate<PQuery> queryStatusPredicate(PQuery.PQueryStatus status)
public static com.google.common.base.Function<PQuery,java.lang.String> queryNameFunction()
public static com.google.common.base.Function<PParameter,java.lang.String> parameterNameFunction()
public static com.google.common.base.Function<IQueryReference,PQuery> queryOfReferenceFunction()
public static com.google.common.base.Function<PBody,java.lang.Iterable<PQuery>> directlyReferencedQueriesFunction()
public static com.google.common.base.Predicate<PParameter> parameterDirectionPredicate(PParameterDirection direction)
public static java.util.Set<PTraceable> getTraceables(PQuery query)
PTraceable
s contained in the given PQuery
: itself, its bodies and their constraints.