- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
@Override public String getName() { return getKey(); }
@Override public String toString() { return new ToStringBuilder(this) .append("key", getKey()) .append("path", getPath()) .toString(); }
@Override public boolean matchFilePattern(String antPattern) { WildcardPattern matcher = WildcardPattern.create(antPattern, "/"); return matcher.match(getKey()); }
public Directory getDirectory(java.io.File dir, Project module) { Directory directory = Directory.fromIOFile(dir, module); if (directory == null || directory.getKey() == null) { return Directory.create(DEFAULT_PACKAGE_NAME); } return directory; }