/** * Get name of attribute key associated with the plug-in. * * @return the array of language names (case sensitive) */ @Nonnull @MustNotContainNull @Weight(Weight.Unit.EXTRALIGHT) String[] getProcessingLanguageNames(); }
@Nonnull @MustNotContainNull @Override public DataFlavor[] getTransferDataFlavors() { return new DataFlavor[] {DataFlavor.imageFlavor}; }
@Nonnull @ReturnsOriginal public LexerPosition getCurrentPosition() { return this.position; }
/** * Get the stack call depth for the caller. * @return the caller method stack depth. * @since 1.0 */ @Weight (Weight.Unit.VARIABLE) public static int stackDepth () { return Thread.currentThread().getStackTrace().length - 1; } }
/** * The Constructor. * @since 1.0 */ @Warning("Must be called in successors") public DisposableTemplate () { DISPOSABLE_OBJECT_COUNTER.incrementAndGet(); }
/** * Load icon resource through inside tools provided by IDE if it is possible, the class loader of the provided class will be used to find resource. * @param path path to the icon, must not be null * @param klazz class which class loader will be used for loading of resource, must not be null * @return the icon, it must not be null, if it is not found then IDE will process the situation by its inside mechanisms and some runtime exception will be thrown * * @since 1.2.0 */ @Nonnull @ThrowsRuntimeException(value = RuntimeException.class,reference = "Some runtime exception will be thrown if it is impossible to load icon") Icon loadIcon(@Nonnull String path, @Nonnull Class<?> klazz); }
@Nonnull @MustNotContainNull public List<TopicReference> getChildren() { return this.children; } }
@Weight(Weight.Unit.LIGHT) @Nullable JMenuItem makeMenuItem( @Nonnull MindMapPanel panel, @Nonnull DialogProvider dialogProvider, @Nullable Topic topic, @Nullable @MustNotContainNull Topic[] selectedTopics, @Nullable CustomJob customProcessor);
/** * The Constructor. * * @since 1.0 */ @Weight(value = Weight.Unit.VARIABLE, comment = "Depends on the current call stack depth@") public Deferred() { this.stackDepth = ThreadUtils.stackDepth() - 1; }
@Nonnull @MustNotContainNull public List<File> getFiles() { return this.files; }
@Nonnull @MustNotContainNull public List<Topic> getChildren() { return this.unmodifableChildren; }
@Nonnull @MustNotContainNull public List<String> getArguments() { return this.arguments; }
@Nonnull @MustNotContainNull public List<Package> getPackages() { return this.packages; } }
@Override @Nonnull @MustNotContainNull public String[] getCustomFieldTypes() { return customTypesArray; }
@Nonnull @MustNotContainNull List<String> getLinkUrls() { return this.linkUrls; }
@Override @Nonnull @MustNotContainNull public String[] getOptionKeys() { return new String[]{KEY_EXPAND_ALL, KEY_DRAW_BACK}; }
@Nonnull @MustNotContainNull private String[] getFoundImageURLs() { return this.imageUrls; }
@Override @Nonnull @MustNotContainNull public String[] getOptionKeys() { return new String[] {KEY_EXPAND_ALL, KEY_DRAW_BACK}; }
@Override @Nonnull @MustNotContainNull public DataFlavor[] getTransferDataFlavors() { return FLAVORS; }
@Override @Nonnull @MustNotContainNull public String[] childrenNames() throws BackingStoreException { return new String[0]; }