@Override @Transient public String toString() { return myPresentableText; } }
@Transient public String getShortcut() { return shortCut; }
/** * Returns the local IDE project hosting source for the target debuggee. * * @return the intelliJ {@link Project} used to debug */ @Transient public Project getProject() { return project; }
@Transient public void clearToken() { this.token = null; }
@Transient public double getVersionNumber() { return myVersionNumber; }
@Transient public void registerEvent() { count++; }
@Transient public int getCount() { return count; }
@Transient public void clearPassword() { this.password = null; }
@NotNull @Transient public String getName() { return myName; }
/** * The stash message is how we identify which item to unstash when the session ends. Stashes are * ordered and may not necessarily have the same ordinal value because new stashes are inserted at * the top. */ @Transient @Nullable protected String getStashMessage() { return stashMessage; }
/** * Comparator that is used to sort the entries by how often a shortcut was missed * @param o other item * @return result of the comparison */ @Transient @Override public int compareTo(@NotNull StatisticsItem o) { return o.count - count; }
/** * Returns a cached set of {@link Breakpoint} objects. The list is periodically updated from a * background timer. * * @return the current list of breakpoints and their state */ @NotNull @Transient public ImmutableList<Breakpoint> getCurrentServerBreakpointList() { return currentServerBreakpointList; }
@Transient public void setSourceRepository(@Nullable GitRepository sourceRepository) { this.sourceRepository = sourceRepository; }
@Transient void registerPropertyChangeSupport(PropertyChangeListener listener) { myChangeSupport.addPropertyChangeListener(listener); }
/** * This is the branch the user was on before they started a debug session and we moved them to the * target SHA. */ @Transient @Nullable protected String getOriginalBranchName() { return originalBranchName; }
/** * The source repository is used during stash/unstash and sync to perform Git operations. Right * now we only support Git. If we added citc or other clients, this would need to be factored out. */ @Transient @Nullable protected GitRepository getSourceRepository() { return sourceRepository; }
@Transient public void setStashMessage(@Nullable String stashMessage) { this.stashMessage = stashMessage; }
@Transient public void setOriginalBranchName(@Nullable String originalBranchName) { this.originalBranchName = originalBranchName; }
@Transient public String formattedMessage() { return String.format("[%s] %s",this.severity,this.message); }
@Transient public void resetStatistic() { synchronized (statistics) { statistics.clear(); } myChangeSupport.firePropertyChange(STATISTIC, null, null); }