ail" id="registerOptionalContext(java.lang.Class,co.aikar.commands.contexts.OptionalContextResolver)">
<h3>registerOptionalContext</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="type-parameters">&lt;T&gt;</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name"><a href="../../../src-html/co/aikar/commands/CommandContexts.html#line-326">registerOptionalContext</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/