Class PublicConstructorWithDependencyDemo

java.lang.Object
samples.constructor.PublicConstructorWithDependencyDemo

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

    • service

      private final Service service
  • Constructor Details

    • PublicConstructorWithDependencyDemo

      public PublicConstructorWithDependencyDemo(Service service)
  • Method Details

    • getService

      public Service getService()
    • aMethod

      public void aMethod()