Removed @author javadocs from code.

This commit is contained in:
Evgeny Gerashchenko
2012-12-28 17:05:25 +04:00
parent 1de4da28fc
commit e03eaf6dde
1531 changed files with 30 additions and 4700 deletions
@@ -24,9 +24,6 @@ import java.lang.ref.Reference;
import java.lang.ref.SoftReference;
import java.util.ResourceBundle;
/**
* @author svtk
*/
public class JetBundle {
private static Reference<ResourceBundle> ourBundle;
@@ -18,9 +18,6 @@ package org.jetbrains.jet.plugin;
import com.intellij.lang.Commenter;
/**
* @author max
*/
public class JetCommenter implements Commenter {
@Override
public String getLineCommentPrefix() {
@@ -25,9 +25,6 @@ import org.jetbrains.jet.lang.descriptors.*;
import javax.swing.*;
/**
* @author Nikolay Krasko
*/
public final class JetDescriptorIconProvider {
private static final Logger LOG = Logger.getInstance("#org.jetbrains.jet.plugin.JetDescriptorIconProvider");
@@ -14,9 +14,6 @@
* limitations under the License.
*/
/*
* @author max
*/
package org.jetbrains.jet.plugin;
import com.intellij.openapi.fileTypes.FileTypeConsumer;
@@ -32,9 +32,6 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* @author yole
*/
public class JetFoldingBuilder extends FoldingBuilderEx implements DumbAware {
@NotNull
@Override
@@ -24,9 +24,6 @@ import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.asJava.JetLightClass;
import org.jetbrains.jet.plugin.presentation.JetLightClassListCellRenderer;
/**
* @author Nikolay Krasko
*/
public class JetGotoTargetRenderProvider implements GotoTargetRendererProvider {
@Nullable
@Override
@@ -34,9 +34,6 @@ import org.jetbrains.jet.lexer.JetTokens;
import javax.swing.*;
import java.util.List;
/**
* @author yole
*/
public class JetIconProvider extends IconProvider {
public static JetIconProvider INSTANCE = new JetIconProvider();
@@ -21,9 +21,6 @@ import com.intellij.util.PlatformIcons;
import javax.swing.*;
/**
* @author Nikolay Krasko
*/
public interface JetIcons {
Icon SMALL_LOGO = IconLoader.getIcon("/org/jetbrains/jet/plugin/icons/kotlin.png");
@@ -14,9 +14,6 @@
* limitations under the License.
*/
/*
* @author max
*/
package org.jetbrains.jet.plugin;
import com.intellij.lang.BracePair;
@@ -29,9 +29,6 @@ import org.jetbrains.jet.lang.types.lang.KotlinBuiltIns;
import java.util.LinkedList;
/**
* @author svtk
*/
public class JetPluginUtil {
@NotNull
private static LinkedList<String> computeTypeFullNameList(JetType type) {
@@ -33,10 +33,6 @@ import org.jetbrains.jet.plugin.libraries.JetDecompiledData;
import org.jetbrains.jet.plugin.project.WholeProjectAnalyzerFacade;
import org.jetbrains.jet.renderer.DescriptorRenderer;
/**
* @author abreslav
* @author Evgeny Gerashchenko
*/
public class JetQuickDocumentationProvider extends AbstractDocumentationProvider {
private static String getText(PsiElement element, PsiElement originalElement, boolean mergeKotlinAndJava) {
JetReferenceExpression ref;
@@ -24,8 +24,6 @@ import org.jetbrains.jet.lang.types.lang.KotlinBuiltIns;
/**
* This project component initializes JetStandardLibrary so that throwing a ProcessCanceledException while
* loading PSI from declaration files is prevented.
*
* @author abreslav
*/
public class JetStandardLibraryInitializer {
public JetStandardLibraryInitializer(@NotNull final Project project) {
@@ -46,10 +46,6 @@ import java.io.IOException;
import java.util.jar.Attributes;
import java.util.jar.JarFile;
/**
* @author Evgeny Gerashchenko
* @since 5/22/12
*/
public class OutdatedKotlinRuntimeNotification extends AbstractProjectComponent {
private static final String UNKNOWN_VERSION = "UNKNOWN";
private static final String SUPPRESSED_PROPERTY_NAME = "oudtdated.runtime.suppressed.plugin.version";
@@ -38,9 +38,6 @@ import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;
import java.util.List;
/**
* @author abreslav
*/
public class CopyAsDiagnosticTestAction extends AnAction {
@Override
public void actionPerformed(AnActionEvent e) {
@@ -32,9 +32,6 @@ import java.util.List;
import static org.jetbrains.jet.plugin.actions.JavaToKotlinActionUtil.*;
/**
* @author ignatov
*/
public class JavaToKotlinAction extends AnAction {
@Override
public void actionPerformed(final AnActionEvent e) {
@@ -34,9 +34,6 @@ import org.jetbrains.jet.j2k.visitors.ClassVisitor;
import java.io.IOException;
import java.util.*;
/**
* @author ignatov
*/
public class JavaToKotlinActionUtil {
static void setClassIdentifiers(@NotNull Converter converter, @NotNull PsiFile psiFile) {
@@ -43,8 +43,6 @@ import java.util.List;
/**
* Automatically adds import directive to the file for resolving reference.
* Based on {@link AddImportAction}
*
* @author Nikolay Krasko
*/
public class JetAddImportAction implements QuestionAction {
@@ -31,9 +31,6 @@ import org.jetbrains.jet.plugin.JetBundle;
import org.jetbrains.jet.plugin.JetFileType;
import org.jetbrains.jet.plugin.JetIcons;
/**
* @author Nikolay Krasko
*/
public class NewKotlinFileAction extends CreateFileFromTemplateAction {
public NewKotlinFileAction() {
super(JetBundle.message("new.kotlin.file.action"), "Creates new Kotlin file", JetFileType.INSTANCE.getIcon());
@@ -33,9 +33,6 @@ import org.jetbrains.jet.plugin.JetLanguage;
import org.jetbrains.jet.plugin.project.WholeProjectAnalyzerFacade;
import org.jetbrains.jet.renderer.DescriptorRenderer;
/**
* @author yole
*/
public class ShowExpressionTypeAction extends AnAction {
@Override
public void actionPerformed(AnActionEvent e) {
@@ -21,9 +21,6 @@ import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.ToggleAction;
import org.jetbrains.jet.plugin.highlighter.JetPsiChecker;
/**
* @author Andrey Breslav
*/
public class ToggleErrorReportingAction extends ToggleAction {
@Override
public boolean isSelected(AnActionEvent e) {
@@ -23,9 +23,6 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.lang.psi.JetFile;
import org.jetbrains.jet.plugin.project.JsModuleDetector;
/**
* @author Nikolay Krasko
*/
public class JetCacheManager implements ProjectComponent {
private Project myProject;
private JetShortNamesCache myCache;
@@ -44,8 +44,6 @@ import java.util.Set;
/**
* Number of helper methods for searching jet element prototypes in java. Methods use java indices for search.
*
* @author Nikolay Krasko
*/
class JetFromJavaDescriptorHelper {
@@ -31,9 +31,6 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
/**
* @author Nikolay Krasko
*/
public class JetGotoClassContributor implements GotoClassContributor {
@Override
public String getQualifiedName(NavigationItem item) {
@@ -31,9 +31,6 @@ import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* @author Nikolay Krasko
*/
public class JetGotoSymbolContributor implements ChooseByNameContributor {
@NotNull
@Override
@@ -51,8 +51,6 @@ import java.util.*;
/**
* Will provide both java elements from jet context and some special declarations special to jet.
* All those declaration are planned to be used in completion.
*
* @author Nikolay Krasko
*/
public class JetShortNamesCache extends PsiShortNamesCache {
@@ -35,9 +35,6 @@ import org.jetbrains.jet.renderer.DescriptorRenderer;
import javax.swing.*;
/**
* @author yole
*/
public class DescriptorClassMember implements ClassMemberWithElement {
public static final String NO_PARENT_FOR = "No parent for ";
@@ -9,9 +9,6 @@ import org.jetbrains.jet.plugin.references.StandardLibraryReferenceResolver;
import java.util.Collection;
/**
* @author Vladimir Rudev
*/
public final class DescriptorToDeclarationUtil {
private DescriptorToDeclarationUtil() {
}
@@ -44,10 +44,6 @@ import org.jetbrains.jet.plugin.project.WholeProjectAnalyzerFacade;
import java.util.Collection;
import java.util.List;
/**
* @author Evgeny Gerashchenko
* @since 06.05.12
*/
public class GotoSuperActionHandler implements CodeInsightActionHandler {
@Override
public void invoke(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) {
@@ -29,9 +29,6 @@ import org.jetbrains.jet.plugin.JetBundle;
import java.util.Set;
/**
* @author yole
*/
public class ImplementMethodsHandler extends OverrideImplementMethodsHandler implements IntentionAction {
@Override
@@ -23,10 +23,6 @@ import org.jetbrains.jet.lang.psi.JetNamedFunction;
import org.jetbrains.jet.lang.resolve.BindingContext;
import org.jetbrains.jet.renderer.DescriptorRenderer;
/**
* @author Evgeny Gerashchenko
* @since 06.05.12
*/
public class JetFunctionPsiElementCellRenderer extends DefaultPsiElementCellRenderer {
private final BindingContext bindingContext;
@@ -28,10 +28,6 @@ import org.jetbrains.jet.lang.resolve.BindingContextUtils;
import org.jetbrains.jet.lang.types.JetType;
import org.jetbrains.jet.plugin.project.WholeProjectAnalyzerFacade;
/**
* @author Evgeny Gerashchenko
* @since 07.05.12
*/
public class JetTypeDeclarationProvider implements TypeDeclarationProvider {
@Override
public PsiElement[] getSymbolTypeDeclarations(PsiElement symbol) {
@@ -43,9 +43,6 @@ import java.util.Collections;
import java.util.List;
import java.util.Set;
/**
* @author yole
*/
public abstract class OverrideImplementMethodsHandler implements LanguageCodeInsightActionHandler {
public static List<DescriptorClassMember> membersFromDescriptors(
@@ -23,9 +23,6 @@ import org.jetbrains.jet.lang.resolve.OverrideResolver;
import java.util.HashSet;
import java.util.Set;
/**
* @author yole
*/
public class OverrideMethodsHandler extends OverrideImplementMethodsHandler {
@Override
protected Set<CallableMemberDescriptor> collectMethodsToGenerate(MutableClassDescriptor descriptor) {
@@ -44,9 +44,6 @@ import org.jetbrains.jet.lang.types.expressions.ExpressionTypingUtils;
import java.util.*;
/**
* @author Nikolay Krasko, Alefas
*/
public final class TipsManager {
private TipsManager() {
@@ -49,10 +49,6 @@ import javax.swing.*;
import static org.jetbrains.jet.plugin.codeInsight.ktSignature.KotlinSignatureUtil.*;
/**
* @author Evgeny Gerashchenko
* @since 16 Aug 2012
*/
public class AddKotlinSignatureAnnotation extends BaseIntentionAction implements Iconable {
private static final DescriptorRenderer RENDERER = new DescriptorRendererBuilder()
.setShortNames(true)
@@ -28,10 +28,6 @@ import org.jetbrains.annotations.NotNull;
import static org.jetbrains.jet.plugin.codeInsight.ktSignature.KotlinSignatureUtil.*;
/**
* @author Evgeny Gerashchenko
* @since 5 Sep 12
*/
public class DeleteSignatureAction extends AnAction {
private final PsiModifierListOwner annotationOwner;
@@ -32,10 +32,6 @@ import java.awt.*;
import static org.jetbrains.jet.plugin.codeInsight.ktSignature.KotlinSignatureUtil.*;
/**
* @author Evgeny Gerashchenko
* @since 5 Sep 12
*/
public class EditSignatureAction extends AnAction {
private final PsiModifierListOwner elementInEditor;
@@ -57,10 +57,6 @@ import java.awt.event.KeyEvent;
import static org.jetbrains.jet.plugin.codeInsight.ktSignature.KotlinSignatureUtil.KOTLIN_SIGNATURE_ANNOTATION;
import static org.jetbrains.jet.plugin.codeInsight.ktSignature.KotlinSignatureUtil.signatureToNameValuePairs;
/**
* @author Evgeny Gerashchenko
* @since 10.08.12
*/
class EditSignatureBalloon implements Disposable {
private final Editor editor;
private final PsiModifierListOwner annotatedElement;
@@ -42,10 +42,6 @@ import java.util.List;
import static org.jetbrains.jet.plugin.codeInsight.ktSignature.KotlinSignatureUtil.*;
/**
* @author Evgeny Gerashchenko
* @since 3 August 2012
*/
public class KotlinSignatureInJavaMarkerProvider implements LineMarkerProvider {
private static final String SHOW_MARKERS_PROPERTY = "kotlin.signature.markers.enabled";
@@ -21,10 +21,6 @@ import com.intellij.codeInsight.ExternalAnnotationsManager;
import com.intellij.openapi.components.AbstractProjectComponent;
import com.intellij.openapi.project.Project;
/**
* @author Evgeny Gerashchenko
* @since 31 August 2012
*/
public class KotlinSignatureInJavaMarkerUpdater extends AbstractProjectComponent {
protected KotlinSignatureInJavaMarkerUpdater(Project project) {
super(project);
@@ -29,10 +29,6 @@ import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.lang.resolve.java.JvmStdlibNames;
import org.jetbrains.jet.lang.resolve.java.resolver.JavaAnnotationResolver;
/**
* @author Evgeny Gerashchenko
* @since 30 August 2012
*/
class KotlinSignatureUtil {
static final String KOTLIN_SIGNATURE_ANNOTATION = JvmStdlibNames.KOTLIN_SIGNATURE.getFqName().getFqName();
@@ -40,9 +40,6 @@ import java.io.File;
import java.io.IOException;
import java.util.*;
/**
* @author yole
*/
public class JetCompiler implements TranslatingCompiler {
private static final boolean RUN_OUT_OF_PROCESS = false;
@@ -34,9 +34,6 @@ import java.util.Collections;
import static org.jetbrains.jet.compiler.runner.CompilerRunnerConstants.INTERNAL_ERROR_PREFIX;
import static org.jetbrains.jet.compiler.runner.CompilerRunnerConstants.KOTLIN_COMPILER_NAME;
/**
* @author yole
*/
public class JetCompilerManager implements ProjectComponent {
private static final Logger LOG = Logger.getInstance(JetCompilerManager.class);
@@ -53,9 +53,6 @@ import java.util.Set;
import static org.jetbrains.jet.compiler.runner.CompilerRunnerUtil.invokeExecMethod;
import static org.jetbrains.jet.compiler.runner.CompilerRunnerUtil.outputCompilerMessagesAndHandleExitCode;
/**
* @author Pavel Talanov
*/
public final class K2JSCompiler implements TranslatingCompiler {
@Override
public boolean isCompilableFile(VirtualFile file, CompileContext context) {
@@ -45,9 +45,6 @@ import org.jetbrains.jet.renderer.DescriptorRenderer;
import java.util.List;
/**
* @author Nikolay Krasko
*/
public final class DescriptorLookupConverter {
private final static JetFunctionInsertHandler EMPTY_FUNCTION_HANDLER = new JetFunctionInsertHandler(
@@ -46,9 +46,6 @@ import org.jetbrains.jet.plugin.references.JetSimpleNameReference;
import java.util.Collection;
/**
* @author Nikolay Krasko
*/
public class JetCompletionContributor extends CompletionContributor {
public JetCompletionContributor() {
extend(CompletionType.BASIC, PlatformPatterns.psiElement(),
@@ -29,8 +29,6 @@ import org.jetbrains.jet.plugin.project.WholeProjectAnalyzerFacade;
/**
* Special contributor for getting completion of type for extensions receiver.
*
* @author Nikolay Krasko
*/
public class JetExtensionReceiverTypeContributor extends CompletionContributor {
private static class ReceiverTypeCompletionProvider extends CompletionProvider<CompletionParameters> {
@@ -53,8 +53,6 @@ import static org.jetbrains.jet.lexer.JetTokens.*;
/**
* A keyword contributor for Kotlin
*
* @author Nikolay Krasko
*/
public class JetKeywordCompletionContributor extends CompletionContributor {
@@ -27,8 +27,6 @@ import org.jetbrains.jet.renderer.DescriptorRenderer;
/**
* Stores information about resolved descriptor and position of that descriptor.
* Position will be used for removing duplicates
*
* @author Nikolay Krasko
*/
public final class JetLookupObject {
private static final Logger LOG = Logger.getInstance("#" + JetLookupObject.class.getName());
@@ -36,8 +36,6 @@ import org.jetbrains.jet.plugin.references.JetSimpleNameReference;
/**
* Performs completion in package directive. Should suggest only packages and avoid showing fake package produced by
* DUMMY_IDENTIFIER.
*
* @author Nikolay Krasko
*/
public class JetPackagesContributor extends CompletionContributor {
@@ -31,10 +31,6 @@ import org.jetbrains.jet.lang.psi.JetIdeTemplate;
import org.jetbrains.jet.lexer.JetToken;
import org.jetbrains.jet.lexer.JetTokens;
/**
* @author Evgeny Gerashchenko
* @since 2/10/12
*/
public class JetTemplateParameterTraversalPolicy implements TemplateParameterTraversalPolicy {
@Override
public boolean isValidForFile(Editor editor, PsiFile file) {
@@ -22,10 +22,6 @@ import com.intellij.psi.filters.ElementFilter;
import com.intellij.psi.impl.source.tree.LeafPsiElement;
import com.intellij.psi.tree.IElementType;
/**
* @author Evgeny Gerashchenko
* @since 2/23/12
*/
public class LeafElementFilter implements ElementFilter {
private static final ClassFilter LEAF_CLASS_FILTER = new ClassFilter(LeafPsiElement.class);
@@ -24,9 +24,6 @@ import com.intellij.util.ThreeState;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.lang.psi.*;
/**
* @author Nikolay Krasko
*/
public class UnfocusedPossibleFunctionParameter extends CompletionConfidence {
@NotNull
@Override
@@ -30,9 +30,6 @@ import org.jetbrains.jet.plugin.completion.JetLookupObject;
import org.jetbrains.jet.plugin.project.JsModuleDetector;
import org.jetbrains.jet.plugin.quickfix.ImportInsertHelper;
/**
* @author Nikolay Krasko
*/
public class JetClassInsertHandler implements InsertHandler<LookupElement> {
public static final InsertHandler<LookupElement> INSTANCE = new JetClassInsertHandler();
@@ -45,8 +45,6 @@ import org.jetbrains.jet.plugin.quickfix.ImportInsertHelper;
* Performs number of code modification after insertion jet function:
* - Insert ()
* - Add import directive if necessary for top level functions
*
* @author Nikolay Krasko
*/
public class JetFunctionInsertHandler implements InsertHandler<LookupElement> {
@@ -27,8 +27,6 @@ import org.jetbrains.jet.plugin.quickfix.ImportInsertHelper;
/**
* Handler for inserting java class completion.
* - Should place import directive if necessary.
*
* @author Nikolay Krasko
*/
public class JetJavaClassInsertHandler implements InsertHandler<JavaPsiClassReferenceElement> {
public static final InsertHandler<JavaPsiClassReferenceElement> INSTANCE = new JetJavaClassInsertHandler();
@@ -29,9 +29,6 @@ import org.jetbrains.jet.lexer.JetTokens;
import java.util.Set;
/**
* @author Nikolay Krasko
*/
public class JetKeywordInsertHandler implements InsertHandler<LookupElement> {
private final static Set<String> NO_SPACE_AFTER = Sets.newHashSet(
@@ -26,11 +26,6 @@ import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.SelectionModel;
import com.intellij.psi.codeStyle.CodeStyleManager;
/**
* @author max (originally from objc)
* @author Evgeny Gerashchenko
* @since 1/31/12
*/
public class JetTemplateInsertHandler implements InsertHandler<LookupElement> {
private String myInsertion;
@@ -21,9 +21,6 @@ import com.intellij.codeInsight.completion.CompletionResultSet;
import com.intellij.codeInsight.completion.CompletionSorter;
import org.jetbrains.jet.lang.psi.JetFile;
/**
* @author Nikolay Krasko
*/
public final class JetCompletionSorting {
private JetCompletionSorting() {
}
@@ -28,9 +28,6 @@ import org.jetbrains.jet.lang.resolve.name.FqNameUnsafe;
import org.jetbrains.jet.plugin.completion.JetLookupObject;
import org.jetbrains.jet.plugin.quickfix.ImportInsertHelper;
/**
* @author Nikolay Krasko
*/
// class ExplicitlyImportedWeigher extends ProximityWeigher {
public class JetExplicitlyImportedWeigher extends LookupElementWeigher {
private final JetFile file;
@@ -25,9 +25,6 @@ import org.jetbrains.jet.lang.descriptors.NamespaceDescriptor;
import org.jetbrains.jet.lang.descriptors.ValueParameterDescriptor;
import org.jetbrains.jet.plugin.completion.JetLookupObject;
/**
* @author Nikolay Krasko
*/
class JetLocalPreferableWeigher extends LookupElementWeigher {
JetLocalPreferableWeigher() {
super("JetLocalElementWeigher");
@@ -21,9 +21,6 @@ import org.jetbrains.annotations.NotNull;
import java.awt.datatransfer.DataFlavor;
/**
* @author ignatov
*/
class ConvertedCode implements TextBlockTransferableData {
@NotNull
public static final DataFlavor DATA_FLAVOR = new DataFlavor(JavaCopyPastePostProcessor.class, "class: JavaCopyPastePostProcessor");
@@ -38,9 +38,6 @@ import java.awt.datatransfer.Transferable;
import java.util.ArrayList;
import java.util.List;
/**
* @author ignatov
*/
public class JavaCopyPastePostProcessor implements CopyPastePostProcessor<TextBlockTransferableData> {
private static final Logger LOG = Logger.getInstance("#org.jetbrains.jet.plugin.conversion.copy.JavaCopyPastePostProcessor");
@@ -21,10 +21,6 @@ import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* @author Maxim.Manuylov
* Date: 29.05.12
*/
public class JetRunConfigurationSettingsFormatConverterProvider extends ConverterProvider {
protected JetRunConfigurationSettingsFormatConverterProvider() {
super("jet-run-configuration-should-store-its-settings-as-java-app-configuration");
@@ -58,11 +58,6 @@ import java.util.WeakHashMap;
import static org.jetbrains.jet.codegen.binding.CodegenBinding.classNameForAnonymousClass;
import static org.jetbrains.jet.codegen.binding.CodegenBinding.isMultiFileNamespace;
/**
* @author yole
* @author alex.tkachman
* @author udalov
*/
public class JetPositionManager implements PositionManager {
private final DebugProcess myDebugProcess;
private final WeakHashMap<FqName, CachedValue<JetTypeMapper>> myTypeMappers = new WeakHashMap<FqName, CachedValue<JetTypeMapper>>();
@@ -20,9 +20,6 @@ import com.intellij.debugger.PositionManager;
import com.intellij.debugger.PositionManagerFactory;
import com.intellij.debugger.engine.DebugProcess;
/**
* @author yole
*/
public class JetPositionManagerFactory extends PositionManagerFactory {
@Override
public PositionManager createPositionManager(DebugProcess process) {
@@ -23,9 +23,6 @@ import com.intellij.openapi.components.Storage;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.annotations.Nullable;
/**
* @author ignatov
*/
@State(
name = "JetEditorOptions",
storages = {
@@ -19,9 +19,6 @@ package org.jetbrains.jet.plugin.editor;
import com.intellij.openapi.options.BeanConfigurable;
import com.intellij.openapi.options.UnnamedConfigurable;
/**
* @author ignatov
*/
public class JetSettingEditorConfigurable extends BeanConfigurable<JetEditorOptions> implements UnnamedConfigurable {
public JetSettingEditorConfigurable() {
super(JetEditorOptions.getInstance());
@@ -22,10 +22,6 @@ import com.intellij.openapi.editor.highlighter.HighlighterIterator;
import com.intellij.psi.tree.IElementType;
import org.jetbrains.jet.lexer.JetTokens;
/**
* @author Alefas
* @since 03.04.12
*/
public class KotlinQuoteHandler implements QuoteHandler {
@Override
public boolean isClosingQuote(HighlighterIterator iterator, int offset) {
@@ -29,10 +29,6 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.lang.psi.JetFile;
import org.jetbrains.jet.lexer.JetTokens;
/**
* @author Evgeny Gerashchenko
* @since 7/16/12
*/
public class KotlinTypedHandler extends TypedHandlerDelegate {
private boolean jetLTTyped;
@@ -33,9 +33,6 @@ import org.jetbrains.jet.util.QualifiedNamesUtil;
import java.util.*;
/**
* @author Nikolay Krasko
*/
public class JetImportOptimizer implements ImportOptimizer {
@Override
public boolean supports(PsiFile file) {
@@ -31,10 +31,6 @@ import org.jetbrains.jet.lexer.JetTokens;
import java.util.Arrays;
import java.util.List;
/**
* @author Evgeny Gerashchenko
* @since 4/23/12
*/
public class JetListSelectioner extends BasicSelectioner {
@Override
public boolean canSelect(PsiElement e) {
@@ -24,9 +24,6 @@ import com.intellij.usageView.UsageViewLongNameLocation;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.lang.psi.JetElement;
/**
* @author yole
*/
public class JetElementDescriptionProvider implements ElementDescriptionProvider {
@Override
public String getElementDescription(@NotNull PsiElement element, @NotNull ElementDescriptionLocation location) {
@@ -23,9 +23,6 @@ import com.intellij.psi.PsiNamedElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.lang.psi.*;
/**
* @author yole
*/
public class JetFindUsagesProvider implements FindUsagesProvider {
@Override
public boolean canFindUsagesFor(@NotNull PsiElement psiElement) {
@@ -21,9 +21,6 @@ import com.intellij.psi.tree.TokenSet;
import org.jetbrains.jet.lexer.JetLexer;
import org.jetbrains.jet.lexer.JetTokens;
/**
* @author yole
*/
public class JetWordsScanner extends DefaultWordsScanner {
public JetWordsScanner() {
super(new JetLexer(),
@@ -20,9 +20,6 @@ import com.intellij.find.findUsages.FindUsagesHandler;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
/**
* @author yole
*/
public class KotlinFindClassUsagesHandler extends FindUsagesHandler {
public KotlinFindClassUsagesHandler(@NotNull PsiElement psiElement) {
super(psiElement);
@@ -20,9 +20,6 @@ import com.intellij.find.findUsages.FindUsagesHandler;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
/**
* @author yole
*/
public class KotlinFindFunctionUsagesHandler extends FindUsagesHandler {
protected KotlinFindFunctionUsagesHandler(@NotNull PsiElement psiElement) {
super(psiElement);
@@ -23,9 +23,6 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.lang.psi.JetClass;
import org.jetbrains.jet.lang.psi.JetFunction;
/**
* @author yole
*/
public class KotlinFindUsagesHandlerFactory extends FindUsagesHandlerFactory {
@Override
public boolean canFindUsages(@NotNull PsiElement element) {
@@ -22,11 +22,6 @@ import com.intellij.lang.ASTNode;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
*
*
* @author Nikolay Krasko
*/
public abstract class ASTAlignmentStrategy {
private static final ASTAlignmentStrategy NULL_STRATEGY = fromTypes(AlignmentStrategy.wrap(null));
@@ -26,9 +26,6 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* @author Nikolay Krasko
*/
public abstract class ASTIndentStrategy {
public static ASTIndentStrategy constIndent(Indent indent) {
return new ConstIndentStrategy(indent);
@@ -34,7 +34,6 @@ import static org.jetbrains.jet.JetNodeTypes.*;
import static org.jetbrains.jet.lexer.JetTokens.*;
/**
* @author yole
* @see Block for good JavaDoc documentation
*/
public class JetBlock extends AbstractBlock {
@@ -30,9 +30,6 @@ import org.jetbrains.jet.plugin.JetLanguage;
import static org.jetbrains.jet.JetNodeTypes.*;
import static org.jetbrains.jet.lexer.JetTokens.*;
/**
* @author yole
*/
public class JetFormattingModelBuilder implements FormattingModelBuilder {
@NotNull
@Override
@@ -25,9 +25,6 @@ import com.intellij.psi.codeStyle.LanguageCodeStyleSettingsProvider;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.plugin.JetLanguage;
/**
* @author Nikolay Krasko
*/
public class JetLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSettingsProvider {
@NotNull
@Override
@@ -31,8 +31,6 @@ import org.jetbrains.jet.plugin.project.WholeProjectAnalyzerFacade;
/**
* Quick showing possible problems with jet internals in IDEA with a tooltips
*
* @author abreslav
*/
public class DebugInfoAnnotator implements Annotator {
@@ -50,10 +50,6 @@ import org.jetbrains.jet.renderer.DescriptorRenderer;
import javax.swing.*;
import java.awt.*;
/**
* @author Evgeny Gerashchenko
* @since 5/16/12
*/
public class DeclarationHintSupport extends AbstractProjectComponent {
private static final Logger LOG = Logger.getInstance(DeclarationHintSupport.class.getName());
@@ -22,10 +22,6 @@ import org.jetbrains.jet.lang.descriptors.*;
import org.jetbrains.jet.lang.psi.*;
import org.jetbrains.jet.lang.resolve.BindingContext;
/**
* @author Evgeny Gerashchenko
* @since 4/2/12
*/
public class FunctionsHighlightingVisitor extends AfterAnalysisHighlightingVisitor {
public FunctionsHighlightingVisitor(AnnotationHolder holder, BindingContext bindingContext) {
super(holder, bindingContext);
@@ -36,9 +36,6 @@ import java.util.List;
import static org.jetbrains.jet.plugin.highlighter.IdeRenderers.error;
import static org.jetbrains.jet.plugin.highlighter.IdeRenderers.strong;
/**
* @author svtk
*/
public class HtmlTabledDescriptorRenderer extends TabledDescriptorRenderer {
@Override
@@ -33,9 +33,6 @@ import static org.jetbrains.jet.plugin.highlighter.IdeRenderers.*;
/**
* @see DefaultErrorMessages
*
* @author Evgeny Gerashchenko
* @since 4/13/12
*/
public class IdeErrorMessages {
public static final DiagnosticFactoryToRendererMap MAP = new DiagnosticFactoryToRendererMap();
@@ -48,9 +48,6 @@ import java.util.Set;
import static org.jetbrains.jet.lang.diagnostics.rendering.Renderers.*;
import static org.jetbrains.jet.lang.resolve.calls.inference.InferenceErrorData.ExtendedInferenceErrorData;
/**
* @author svtk
*/
public class IdeRenderers {
private static final String RED_TEMPLATE = "<font color=red><b>%s</b></font>";
private static final String STRONG_TEMPLATE = "<b>%s</b>";
@@ -14,9 +14,6 @@
* limitations under the License.
*/
/*
* @author max
*/
package org.jetbrains.jet.plugin.highlighter;
import com.intellij.lexer.Lexer;
@@ -58,9 +58,6 @@ import java.util.Collection;
import java.util.List;
import java.util.Set;
/**
* @author abreslav
*/
public class JetLineMarkerProvider implements LineMarkerProvider {
public static final Icon OVERRIDING_MARK = IconLoader.getIcon("/gutter/overridingMethod.png");
public static final Icon IMPLEMENTING_MARK = IconLoader.getIcon("/gutter/implementingMethod.png");
@@ -49,9 +49,6 @@ import java.util.Collection;
import java.util.List;
import java.util.Set;
/**
* @author abreslav
*/
public class JetPsiChecker implements Annotator {
private static volatile boolean errorReportingEnabled = true;
private static boolean namesHighlightingTest;
@@ -14,9 +14,6 @@
* limitations under the License.
*/
/*
* @author max
*/
package org.jetbrains.jet.plugin.highlighter;
import com.intellij.lang.annotation.AnnotationHolder;
@@ -14,9 +14,6 @@
* limitations under the License.
*/
/*
* @author max
*/
package org.jetbrains.jet.plugin.highlighter;
import com.intellij.lang.ASTNode;
@@ -25,10 +25,6 @@ import org.jetbrains.jet.lang.descriptors.*;
import org.jetbrains.jet.lang.psi.*;
import org.jetbrains.jet.lang.resolve.BindingContext;
/**
* @author Evgeny Gerashchenko
* @since 3/29/12
*/
class TypeKindHighlightingVisitor extends AfterAnalysisHighlightingVisitor {
TypeKindHighlightingVisitor(AnnotationHolder holder, BindingContext bindingContext) {
super(holder, bindingContext);
@@ -42,10 +42,6 @@ import org.jetbrains.jet.renderer.DescriptorRenderer;
import java.util.Collections;
/**
* @author Evgeny Gerashchenko
* @since 4/20/12
*/
public class SpecifyTypeExplicitlyAction extends PsiElementBaseIntentionAction {
@NotNull
@Override
@@ -24,10 +24,6 @@ import com.intellij.ui.content.ContentManager;
import org.jetbrains.jet.plugin.internal.codewindow.BytecodeToolwindow;
import org.jetbrains.jet.plugin.internal.resolvewindow.ResolveToolwindow;
/**
* @author Evgeny Gerashchenko
* @since 2/20/12
*/
public class KotlinInternalToolWindowFactory implements ToolWindowFactory {
@Override
public void createToolWindowContent(Project project, ToolWindow toolWindow) {
@@ -25,9 +25,6 @@ import com.intellij.psi.PsiManager;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.lang.psi.JetFile;
/**
* @author Nikolay Krasko
*/
public class Location {
@Nullable
final Editor editor;
@@ -14,9 +14,6 @@
* limitations under the License.
*/
/*
* @author max
*/
package org.jetbrains.jet.plugin.internal.codewindow;
import com.intellij.ide.highlighter.JavaFileType;
@@ -14,9 +14,6 @@
* limitations under the License.
*/
/*
* @author max
*/
package org.jetbrains.jet.plugin.internal.resolvewindow;
import com.intellij.openapi.Disposable;
@@ -61,9 +58,6 @@ import java.util.Map;
import static org.jetbrains.jet.lang.resolve.BindingContext.*;
import static org.jetbrains.jet.lang.resolve.calls.results.ResolutionDebugInfo.*;
/*
* @author abreslav
*/
public class ResolveToolwindow extends JPanel implements Disposable {
public static final String BAR = "\n\n===\n\n";

Some files were not shown because too many files have changed in this diff Show More