org.eclipse.viatra.query.patternlanguage.util

## Interface IExpectedPackageNameProvider

- All Known Implementing Classes:
    IExpectedPackageNameProvider.NoExpectedPackageNameProvider, JavaProjectExpectedPackageNameProvider

      public interface IExpectedPackageNameProvider

  Since:
    1.3

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `IExpectedPackageNameProvider.NoExpectedPackageNameProvider` A package name provider that always returns null

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getExpectedPackageName(PatternModel model)` Returns the expected package name for a pattern model based on the location of the model.

- - ### Method Detail

    - #### getExpectedPackageName

          java.lang.String getExpectedPackageName(PatternModel model)

      Returns the expected package name for a pattern model based on the location of the model. If no package name can be identified, returns null.
      Parameters:
        `model` -
      Returns:
        an expected package name, or null if no package name can be calculated