Class SuppressConstructorHierarchyParent

java.lang.Object
samples.suppressconstructor.SuppressConstructorHeirarchyEvilGrandParent
samples.suppressconstructor.SuppressConstructorHierarchyParent
Direct Known Subclasses:
SuppressConstructorHierarchy

public class SuppressConstructorHierarchyParent extends SuppressConstructorHeirarchyEvilGrandParent
  • Field Details

    • message

      private String message
  • Constructor Details

    • SuppressConstructorHierarchyParent

      SuppressConstructorHierarchyParent()
    • SuppressConstructorHierarchyParent

      SuppressConstructorHierarchyParent(String message)
  • Method Details

    • getMessage

      public String getMessage()