Class JDK14Util.RecordAccessor

  • Enclosing class:
    JDK14Util

    static class JDK14Util.RecordAccessor
    extends java.lang.Object
    • Field Detail

      • RECORD_GET_RECORD_COMPONENTS

        private final java.lang.reflect.Method RECORD_GET_RECORD_COMPONENTS
      • RECORD_COMPONENT_GET_NAME

        private final java.lang.reflect.Method RECORD_COMPONENT_GET_NAME
      • RECORD_COMPONENT_GET_TYPE

        private final java.lang.reflect.Method RECORD_COMPONENT_GET_TYPE
      • PROBLEM

        private static final java.lang.RuntimeException PROBLEM
    • Constructor Detail

      • RecordAccessor

        private RecordAccessor()
                        throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
    • Method Detail

      • getRecordFieldNames

        public java.lang.String[] getRecordFieldNames​(java.lang.Class<?> recordType)
                                               throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • getRecordFields

        public JDK14Util.RawTypeName[] getRecordFields​(java.lang.Class<?> recordType)
                                                throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • recordComponents

        protected java.lang.Object[] recordComponents​(java.lang.Class<?> recordType)
                                               throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException