mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
provide also create annotation from usage (IDEA-19746 )
This commit is contained in:
@@ -60,6 +60,16 @@ public interface PsiElementFactory extends PsiJavaParserFacade, JVMElementFactor
|
||||
*/
|
||||
@NotNull PsiClass createEnum(@NotNull @NonNls String name) throws IncorrectOperationException;
|
||||
|
||||
/**
|
||||
* Creates an empty annotation type with the specified name.
|
||||
*
|
||||
* @param name the name of the annotation type to create.
|
||||
* @return the created annotation type instance.
|
||||
* @throws IncorrectOperationException if <code>name</code> is not a valid Java identifier.
|
||||
*/
|
||||
@NotNull
|
||||
PsiClass createAnnotationType(@NotNull @NonNls String name) throws IncorrectOperationException;
|
||||
|
||||
/**
|
||||
* Creates a field with the specified name and type.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user