Package rife.validation.instrument
Class MetaDataClassAnnotationDetector
java.lang.Object
rife.validation.instrument.MetaDataClassAnnotationDetector
Detects whether a class has the
MetaDataClass
class annotation
by analyzing its byte code.- Since:
- 1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getMetaDataClassName
(byte[] bytes) Retrieves the class name of the metadata class that is associated through theMetaDataClass
class annotation.
-
Constructor Details
-
MetaDataClassAnnotationDetector
public MetaDataClassAnnotationDetector()
-
-
Method Details
-
getMetaDataClassName
Retrieves the class name of the metadata class that is associated through theMetaDataClass
class annotation.- Parameters:
bytes
- the array of bytes that defines the class that needs to be analyzed- Returns:
- the name of the associated metadata class; or
null
if no metadata class was specified through an annotation - Since:
- 1.0
-