Search in sources :

Example 6 with ScopeType

use of jodd.madvoc.ScopeType in project jodd by oblac.

the class ScopeDataResolver method inspectIn.

/**
	 * Inspects single IN annotation for a property.
	 */
protected ScopeData.In inspectIn(In in, ScopeType scopeType, String propertyName, Class propertyType) {
    if (in == null) {
        return null;
    }
    ScopeType scope = in.scope();
    if (scope != scopeType) {
        return null;
    }
    ScopeData.In ii = new ScopeData.In();
    saveNameTarget(ii, in.value(), propertyName);
    ii.type = propertyType;
    return ii;
}
Also used : ScopeType(jodd.madvoc.ScopeType) In(jodd.madvoc.meta.In) ScopeData(jodd.madvoc.ScopeData)

Aggregations

ScopeData (jodd.madvoc.ScopeData)6 ScopeType (jodd.madvoc.ScopeType)6 In (jodd.madvoc.meta.In)2 InOut (jodd.madvoc.meta.InOut)2 Out (jodd.madvoc.meta.Out)2