public static EntityMetadata introspect ( Class < ? > entityClass ) { EntityMetadata cachedMetadata = cache . get ( entityClass ) ; if ( cachedMetadata != null ) { return cachedMetadata ; } return loadMetadata ( entityClass ) ; }
Introspects the given entity class and returns the metadata of the entity .