Annotation Type Reflectable


  • @Retention(RUNTIME)
    @Target({TYPE,FIELD,CONSTRUCTOR,METHOD})
    public @interface Reflectable
    An annotation that when applid to a class add the class to Graalvm's list of Reflection classes to process. Based on https://github.com/oracle/graal/blob/master/substratevm/REFLECTION.md
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean allDeclaredConstructors
      Include all declared constructors to a ElementType.TYPE.
      boolean allDeclaredFields
      Include all declared fields to a ElementType.TYPE.
      boolean allDeclaredMethods
      Include all declared methods to a ElementType.TYPE.
      boolean allowWrite
      Set allowWrite on Field.
      boolean allPublicConstructors
      Include all public constructors to a ElementType.TYPE.
      boolean allPublicFields
      Include all public fields to a ElementType.TYPE.
      boolean allPublicMethods
      Include all public methods to a ElementType.TYPE.
    • Element Detail

      • allDeclaredConstructors

        boolean allDeclaredConstructors
        Include all declared constructors to a ElementType.TYPE.
        Returns:
        boolean
        Default:
        false
      • allDeclaredFields

        boolean allDeclaredFields
        Include all declared fields to a ElementType.TYPE.
        Returns:
        boolean
        Default:
        true
      • allDeclaredMethods

        boolean allDeclaredMethods
        Include all declared methods to a ElementType.TYPE.
        Returns:
        boolean
        Default:
        true
      • allPublicConstructors

        boolean allPublicConstructors
        Include all public constructors to a ElementType.TYPE.
        Returns:
        boolean
        Default:
        true
      • allPublicFields

        boolean allPublicFields
        Include all public fields to a ElementType.TYPE.
        Returns:
        boolean
        Default:
        true
      • allPublicMethods

        boolean allPublicMethods
        Include all public methods to a ElementType.TYPE.
        Returns:
        boolean
        Default:
        true
      • allowWrite

        boolean allowWrite
        Set allowWrite on Field.
        Returns:
        boolean
        Default:
        false