mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Factory method for named constructor creation; unused class dropped
This commit is contained in:
@@ -108,7 +108,17 @@ public interface PsiElementFactory extends PsiJavaParserFacade, JVMElementFactor
|
||||
*
|
||||
* @return the created constructor instance.
|
||||
*/
|
||||
@NotNull PsiMethod createConstructor();
|
||||
@NotNull
|
||||
PsiMethod createConstructor();
|
||||
|
||||
/**
|
||||
* Creates an empty constructor with a given name.
|
||||
*
|
||||
* @param name the name of the constructor to create.
|
||||
* @return the created constructor instance.
|
||||
*/
|
||||
@NotNull
|
||||
PsiMethod createConstructor(@NotNull @NonNls String name);
|
||||
|
||||
/**
|
||||
* Creates an empty class initializer block.
|
||||
|
||||
Reference in New Issue
Block a user