You can't. The specializer exists only in the Java compiler, it's erased at runtime.

On Thu, Jul 16, 2020, 04:31 Alan Ruttenberg <alanruttenberg@gmail.com> wrote:
For instance in

http://owlcs.github.io/owlapi/apidocs_4/org/semanticweb/owlapi/util/InferredObjectPropertyAxiomGenerator.html

It says:
Type Parameters:
A - the axiom type
Question is: how do I supply the axiom type when creating an instance.

Thanks
ALan