Class MetaDataClassAnnotationDetector

java.lang.Object
rife.validation.instrument.MetaDataClassAnnotationDetector

public abstract class MetaDataClassAnnotationDetector extends Object
Detects whether a class has the MetaDataClass class annotation by analyzing its byte code.
Since:
1.0
  • Constructor Details

    • MetaDataClassAnnotationDetector

      public MetaDataClassAnnotationDetector()
  • Method Details

    • getMetaDataClassName

      public static String getMetaDataClassName(byte[] bytes)
      Retrieves the class name of the metadata class that is associated through the MetaDataClass 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