*/
package org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective;
-import com.google.common.base.Function;
import com.google.common.base.Optional;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
this.unknownSubstatementsToBuild = ImmutableList.of();
}
- final Function<StmtContext<?, ?, ? extends EffectiveStatement<?, ?>>, EffectiveStatement<?, ?>> buildEffective = StmtContextUtils
- .buildEffective();
- this.substatements = ImmutableList.copyOf(Collections2.transform(substatementsToBuild, buildEffective));
+ this.substatements = ImmutableList.copyOf(Collections2.transform(substatementsToBuild, StatementContextBase::buildEffective));
}
Collection<EffectiveStatement<?, ?>> getOmittedUnknownSubstatements() {
- final Function<StmtContext<?, ?, ? extends EffectiveStatement<?, ?>>, EffectiveStatement<?, ?>> buildEffective = StmtContextUtils
- .buildEffective();
- return Collections2.transform(unknownSubstatementsToBuild, buildEffective);
+ return Collections2.transform(unknownSubstatementsToBuild, StatementContextBase::buildEffective);
}
@Override