- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Dictionary d =
new Hashtable()
Bundle bundle;bundle.getHeaders()
new Properties()
- Smart code suggestions by Codota
}
/** * @author <a href="mailto:gegastaldi@gmail.com">George Gastaldi</a> * */ public class BundleCompleter extends SimpleTokenCompleter { @Inject @Current PropertiesFileResource propertiesFileResource; @Override public Iterable<?> getCompletionTokens() { return propertiesFileResource.getKeys(); } }
@Current private Resource<?> resource;
@Produces @Current @SuppressWarnings({ "rawtypes", "unchecked" }) public Resource getCurrentResource(final InjectionPoint ip, final Shell shell)
@Current private Resource<?> currentResource;
@Current private JavaResource resource;
@Current private DirectoryResource currentDir;
@Current private Resource<?> resource;
@Current private JavaResource resource;
@Current private Resource<?> currentResource;
@Current PropertiesFileResource propertiesFileResource;
@Inject @Current Resource<?> directory;
@Current private MavenPomResource pom;
@Current Resource<?> directory;