Class PublicConstructorWithDependencyDemo


  • public class PublicConstructorWithDependencyDemo
    extends java.lang.Object
    This class is used to demonstrate that error messages are correct when a constructor is not found.
    • Field Detail

      • service

        private final Service service
    • Constructor Detail

      • PublicConstructorWithDependencyDemo

        public PublicConstructorWithDependencyDemo​(Service service)
    • Method Detail

      • getService

        public Service getService()
      • aMethod

        public void aMethod()