Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Reason behind ClassConstants (org.eclipse.persistence.internal.helper)?

Hello All,

I am currently investigating the possibility of moving the OXM classes into there own bundle separate from core. Before this can happen there are some class dependencies that need to be reworked.

The first problem area discovered is org.eclipse.persistence.internal.helper.ClassConstants which has a transitive dependency on 797 classes

Presumably ClassConstants was introduced as a performance improvement, is ClassConstants.IndirectMap_Class faster than IndirectMap.class?

If so how about changing:
From:  ClassConstants.IndirectMap_Class
To:  IndirectMap.CLASS (assuming this is faster than IndirectMap.class)

-Blaise


Back to the top