Interface FieldInfo

    • Method Detail

      • getName

        String getName()
        Returns:
        field name
      • getType

        ClassInfo getType()
        Returns:
        fully qualified field type
      • getDeclaringClass

        ClassInfo getDeclaringClass()
        Returns:
        reference to syntactically-enclosing class
      • getAnnotation

        <T extends Annotation> T getAnnotation​(Class<T> annClass)
        Type Parameters:
        T - annotation type
        Parameters:
        annClass - annotation class
        Returns:
        field-level annotation, if any; null otherwise
      • isPublic

        boolean isPublic()
        Returns:
        true, if field is public
      • isStatic

        boolean isStatic()
        Returns:
        true, if field is static
      • isFinal

        boolean isFinal()
        Returns:
        true, if field is final