Package io.ebean.enhance.common
Class ClassMetaReader
java.lang.Object
io.ebean.enhance.common.ClassMetaReader
public class ClassMetaReader extends Object
Reads class information as an alternative to using a ClassLoader.
Used because if annotation classes are not in the classpath they are silently dropped from the class information. We are especially interested to know if super classes are entities during enhancement.
-
Constructor Summary
Constructors Constructor Description ClassMetaReader(EnhanceContext enhanceContext, ClassMetaCache metaCache) -
Method Summary
Modifier and Type Method Description ClassMetaget(boolean readMethodAnnotations, String name, ClassLoader classLoader)
-
Constructor Details
-
ClassMetaReader
-
-
Method Details
-
get
public ClassMeta get(boolean readMethodAnnotations, String name, ClassLoader classLoader) throws ClassNotFoundException- Throws:
ClassNotFoundException
-