EnumCompleter completer = new EnumCompleter((Class<Enum<?>>) option.getType());
completer.complete(state);
}
else if (isJavaResourceAssignable(option))
{
completeJavaPaths(state, option, valueMap, new ResourceFilter()
{
@Override
public boolean accept(final Resource<?> resource)
{
return ((resource instanceof DirectoryResource) || (resource instanceof JavaResource));
}
});
}
else if (isJavaPackageAssignable(option))
{
completeJavaPaths(state, option, valueMap, new ResourceFilter()
{
@Override
public boolean accept(final Resource<?> resource)
{
return (resource instanceof DirectoryResource);