Interface NameGuard

All Known Implementing Classes:
AnyNameNameGuard, ApparentlyLocalNameGuard, ApparentlyLocalOrFirstComponentIsJavaIdentifierNameGuard, FirstComponentIsJavaIdentifierNameGuard

public interface NameGuard
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    This should be a descriptive message that might follow "names are only acceptable when " A period will be appended to the message.
  • Method Details

    • nameIsAcceptable

      boolean nameIsAcceptable(Name name)
    • nameIsAcceptable

      boolean nameIsAcceptable(String name)
    • onlyAcceptableWhen

      String onlyAcceptableWhen()
      This should be a descriptive message that might follow "names are only acceptable when " A period will be appended to the message. (No terminal period should be included in the String.)