mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
no recursion prevention when contributing groovy constructors
This commit is contained in:
@@ -133,9 +133,17 @@ public class PropertyUtil {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static Map<String, PsiMethod> getAllProperties(@NotNull final PsiClass psiClass, final boolean acceptSetters, final boolean acceptGetters, final boolean includeSuperClass) {
|
||||
public static Map<String, PsiMethod> getAllProperties(@NotNull final PsiClass psiClass,
|
||||
final boolean acceptSetters,
|
||||
final boolean acceptGetters,
|
||||
final boolean includeSuperClass) {
|
||||
return getAllProperties(acceptSetters, acceptGetters, includeSuperClass ? psiClass.getAllMethods() : psiClass.getMethods());
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static Map<String, PsiMethod> getAllProperties(final boolean acceptSetters,
|
||||
final boolean acceptGetters, PsiMethod[] methods) {
|
||||
final Map<String, PsiMethod> map = new HashMap<String, PsiMethod>();
|
||||
final PsiMethod[] methods = includeSuperClass ? psiClass.getAllMethods() : psiClass.getMethods();
|
||||
|
||||
for (PsiMethod method : methods) {
|
||||
if (filterMethods(method)) continue;
|
||||
|
||||
Reference in New Issue
Block a user