Deprecated stuff dropped

This commit is contained in:
Roman Shevchenko
2011-08-30 21:02:30 +02:00
parent 21a7da2ef9
commit 03dc40fd1f
8 changed files with 9 additions and 153 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -162,15 +162,6 @@ public interface PsiElementFactory extends PsiJavaParserFacade, JVMElementFactor
@NotNull PsiClassType createType(@NotNull PsiClass aClass, PsiType... parameters);
/**
* Detaches type from reference(s) or type elements it was created from.
*
* @param type the type to detach.
* @return the detached type.
* @deprecated does nothing (remove in IDEA 11)
*/
@NotNull PsiType detachType(@NotNull PsiType type);
/**
* Creates a substitutor for the specified class which replaces all type parameters
* with their corresponding raw types.
@@ -421,20 +412,6 @@ public interface PsiElementFactory extends PsiJavaParserFacade, JVMElementFactor
*/
@NotNull PsiTypeCodeFragment createTypeCodeFragment(@NotNull String text, PsiElement context, boolean isPhysical, int flags);
/**
* @deprecated use {@link #createTypeCodeFragment(String, PsiElement, boolean, int)} (todo[r.sh] to remove in IDEA 11).
*/
@NotNull PsiTypeCodeFragment createTypeCodeFragment(@NotNull String text, PsiElement context, boolean isVoidValid, boolean isPhysical);
/**
* @deprecated use {@link #createTypeCodeFragment(String, PsiElement, boolean, int)} (todo[r.sh] to remove in IDEA 11).
*/
@NotNull PsiTypeCodeFragment createTypeCodeFragment(@NotNull String text,
PsiElement context,
boolean isVoidValid,
boolean isPhysical,
boolean allowEllipsis);
/**
* Returns a synthetic Java class containing methods which are defined on Java arrays.
*
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,12 +37,6 @@ public interface PsiJavaParserFacade extends PsiParserFacade {
@NotNull
PsiDocTag createDocTagFromText(@NotNull String docTagText) throws IncorrectOperationException;
/**
* @deprecated use {@link #createDocTagFromText(String)} (to remove in IDEA 11)
*/
@NotNull
PsiDocTag createDocTagFromText(@NotNull String docTagText, @Nullable PsiElement context) throws IncorrectOperationException;
/**
* Creates a JavaDoc comment from the specified text.
*
@@ -53,12 +47,6 @@ public interface PsiJavaParserFacade extends PsiParserFacade {
@NotNull
PsiDocComment createDocCommentFromText(@NotNull String docCommentText) throws IncorrectOperationException;
/**
* @deprecated use {@link #createDocCommentFromText(String)} (to remove in IDEA 11)
*/
@NotNull
PsiDocComment createDocCommentFromText(@NotNull String docCommentText, @Nullable PsiElement context) throws IncorrectOperationException;
/**
* Creates a Java class from the specified text.
*