Class ClassSpec


  • public final class ClassSpec
    extends Object
    A class definition specification.
    Author:
    David M. Lloyd
    • Constructor Detail

      • ClassSpec

        public ClassSpec()
        Construct a new instance.
    • Method Detail

      • getBytes

        public byte[] getBytes()
        Get the class file bytes.
        Returns:
        the class file bytes
      • setBytes

        public void setBytes​(byte[] bytes)
        Set the class file bytes.
        Parameters:
        bytes - the class file bytes
      • getCodeSource

        public CodeSource getCodeSource()
        Get the code source (should not be null).
        Returns:
        the code source
      • setCodeSource

        public void setCodeSource​(CodeSource codeSource)
        Set the code source (should not be null).
        Parameters:
        codeSource - the code source
      • getAssertionSetting

        public AssertionSetting getAssertionSetting()
        Get the class assertion setting.
        Returns:
        the assertion setting
      • setAssertionSetting

        public void setAssertionSetting​(AssertionSetting assertionSetting)
        Set the class assertion setting.
        Parameters:
        assertionSetting - the assertion setting