getLookup

abstract L getLookup(Identifier lookupId, Class<? extends Object> apiClass, Class<? extends Object> contextClass)

Retrieve the API lookup associated with an identifier.

Return

The unique lookup with the passed lookupId.

Parameters

lookupId

The unique identifier of the lookup.

apiClass

The class of the queried API.

contextClass

The class of the queried additional context.

Throws

If another {@code apiClass} or another {@code contextClass} was already registered with the same identifier.

If one of the arguments is null.

Sources

jvm source
Link copied to clipboard