Supports java type references