Class PropertyDescription


  • public class PropertyDescription
    extends java.lang.Object
    Since:
    8/5/18
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyDescription​(java.lang.reflect.Field field, java.beans.PropertyDescriptor descriptor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T extends java.lang.annotation.Annotation>
      java.util.Optional<T>
      findAnnotation​(java.lang.Class<T> annotation)  
      java.beans.PropertyDescriptor getDescriptor()  
      java.lang.reflect.Field getField()  
      boolean isAnnotationNotPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)  
      boolean isAnnotationPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertyDescription

        public PropertyDescription​(java.lang.reflect.Field field,
                                   java.beans.PropertyDescriptor descriptor)
    • Method Detail

      • getField

        public java.lang.reflect.Field getField()
      • getDescriptor

        public java.beans.PropertyDescriptor getDescriptor()
      • isAnnotationNotPresent

        public boolean isAnnotationNotPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
      • isAnnotationPresent

        public boolean isAnnotationPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
      • findAnnotation

        public <T extends java.lang.annotation.Annotation> java.util.Optional<T> findAnnotation​(java.lang.Class<T> annotation)