Interface IExpectedPackageNameProvider
-
- All Known Implementing Classes:
IExpectedPackageNameProvider.NoExpectedPackageNameProvider
public interface IExpectedPackageNameProvider
- Since:
- 2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface 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 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
-
-