Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
36,100
List<PsiType[]> (@NotNull PsiMethod method, @NotNull PsiSubstitutor substitutor, String @NotNull [] options) { int argNum = extractArgNum(options); boolean index = extractIndex(options); PsiParameter[] parameters = method.getParameterList().getParameters(); if (argNum >= parameters.length) return ContainerUtil.emptyLis...
inferExpectedSignatures
36,101
int (String[] options) { for (String value : options) { Integer parsedValue = parseArgNum(value); if (parsedValue != null) { return parsedValue; } } if (options.length == 1) { return StringUtil.parseInt(options[0], 0); } return 0; }
extractArgNum
36,102
boolean (String[] options) { for (String value : options) { Boolean parsedValue = parseIndex(value); if (parsedValue != null) { return parsedValue; } } if (options.length == 1) { return Boolean.parseBoolean(options[0]); } return false; }
extractIndex
36,103
Boolean (String value) { Couple<String> pair = parseValue(value); if (pair == null) return null; if (INDEX.equals(pair.getFirst())) { return Boolean.valueOf(pair.getSecond()); } return null; }
parseIndex
36,104
Integer (String value) { Couple<String> pair = parseValue(value); if (pair == null) return null; if (ARG_NUM.equals(pair.getFirst())) { return StringUtil.parseInt(pair.getSecond(), 0); } return null; }
parseArgNum
36,105
Couple<String> (String value) { String[] split = value.split("="); return split.length == 2 ? Couple.of(split[0].trim(), split[1].trim()) : null; }
parseValue
36,106
boolean (@NotNull Position position) { return true; }
isApplicableTo
36,107
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (CompileStaticUtil.isCompileStatic(context)) return isCSConvertible(targetType, actualType, position); if (position == Position.METHOD_PARAMETER) { return methodParameterConver...
isConvertible
36,108
ConversionResult (PsiType targetType, PsiType actualType) { if (TypesUtil.isClassType(actualType, JAVA_MATH_BIG_DECIMAL)) return isFloatOrDoubleType(targetType) ? OK : null; return null; }
methodParameterConvert
36,109
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull Position currentPosition) { if (currentPosition == Position.METHOD_PARAMETER) return null; if (TypesUtil.isClassType(actualType, JAVA_MATH_BIG_DECIMAL)) return isFloatOrDoubleType(targetType) ? OK : null; if (TypesUtil.isClassType(targ...
isCSConvertible
36,110
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (!isEnum(targetType)) return null; if (InheritanceUtil.isInheritor(actualType, GroovyCommonClassNames.GROOVY_LANG_GSTRING) || InheritanceUtil.isInheritor(actualType, CommonClas...
isConvertible
36,111
PsiType (final GrVariable variable) { for (GrVariableEnhancer enhancer : EP_NAME.getExtensions()) { final PsiType type = enhancer.getVariableType(variable); if (type != null) { return type; } } return null; }
getEnhancedType
36,112
String () { return myHint; }
getHintName
36,113
List<PsiType[]> (@NotNull PsiMethod method, @NotNull PsiSubstitutor substitutor, String @NotNull [] options) { PsiParameter[] parameters = method.getParameterList().getParameters(); if (myParam < parameters.length) { PsiParameter parameter = parameters[myParam]; PsiType originalType = parameter.getType(); PsiType subst...
inferExpectedSignatures
36,114
ArrayList<PsiType[]> (@Nullable PsiType type) { PsiType notNull = type != null ? type : (PsiPrimitiveType)PsiTypes.nullType(); PsiType[] signature = {notNull}; ArrayList<PsiType[]> result = new ArrayList<>(); result.add(signature); return result; }
produceResult
36,115
String[] (PsiAnnotation anno) { PsiAnnotationMemberValue options = anno.findAttributeValue("options"); ArrayList<String> result = new ArrayList<>(); for (PsiAnnotationMemberValue initializer : AnnotationUtil.arrayAttributeValues(options)) { if (initializer instanceof PsiLiteral) { Object value = ((PsiLiteral)initialize...
buildOptions
36,116
SignatureHintProcessor (@NotNull String hint) { for (SignatureHintProcessor processor : EP_NAME.getExtensions()) { if (hint.equals(processor.getHintName())) { return processor; } } return null; }
getHintProcessor
36,117
boolean (@NotNull Position position) { return switch (position) { case METHOD_PARAMETER, GENERIC_PARAMETER, ASSIGNMENT, RETURN_VALUE -> true; default -> false; }; }
isApplicableTo
36,118
ConversionResult (@NotNull PsiType ltype, @NotNull PsiType rtype, @NotNull Position position, @NotNull GroovyPsiElement context) { PsiType lBound = TypesKt.promoteLowerBoundWildcard(ltype, context); PsiType rBound = TypesKt.promoteLowerBoundWildcard(rtype, context); if (lBound == null || rBound == null) return null; if...
isConvertible
36,119
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (!(targetType instanceof PsiArrayType) || !(actualType instanceof GrTupleType)) return null; final PsiType lComponentType = ((PsiArrayType)targetType).getComponentType(); for (...
isConvertible
36,120
boolean (@NotNull Position position) { return position == Position.ASSIGNMENT; }
isApplicableTo
36,121
GrLiteral (@NotNull GroovyPsiElement context) { final GrExpression expression; if (context instanceof GrTypeCastExpression) { expression = ((GrTypeCastExpression)context).getOperand(); } else if (context instanceof GrAssignmentExpression) { expression = ((GrAssignmentExpression)context).getRValue(); } else if (context ...
getLiteral
36,122
boolean (@NotNull Position position) { return position == Position.ASSIGNMENT || position == Position.RETURN_VALUE; }
isApplicableTo
36,123
Collection<ConstraintFormula> (@NotNull PsiType leftType, @NotNull PsiType rightType, @NotNull Position position, @NotNull PsiElement context) { return null; }
reduceTypeConstraint
36,124
boolean (@NotNull Position position) { return position != Position.EXPLICIT_CAST && position != Position.GENERIC_PARAMETER; }
isApplicableTo
36,125
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (!PsiTypes.booleanType().equals(TypesUtil.unboxPrimitiveTypeWrapper(targetType))) return null; return switch (position) { case ASSIGNMENT, RETURN_VALUE -> ConversionResult.OK; ...
isConvertible
36,126
boolean (@NotNull Position position) { return switch (position) { case ASSIGNMENT, RETURN_VALUE -> true; default -> false; }; }
isApplicableTo
36,127
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (!PsiTypesUtil.classNameEquals(targetType, CommonClassNames.JAVA_LANG_CLASS)) { return null; } if (PsiTypesUtil.classNameEquals(actualType, CommonClassNames.JAVA_LANG_CLASS)) {...
isConvertible
36,128
ConversionResult (@NotNull PsiType lType, @NotNull PsiType rType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (isCompileStatic(context)) return null; if (lType instanceof PsiArrayType) { PsiType lComponentType = ((PsiArrayType)lType).getComponentType(); PsiType rComponentType = ClosureParameterE...
isConvertible
36,129
String () { return "groovy.transform.stc.SimpleType"; }
getHintName
36,130
List<PsiType[]> (@NotNull final PsiMethod method, @NotNull PsiSubstitutor substitutor, String @NotNull [] options) { return Collections.singletonList(ContainerUtil.map(options, value -> { try { return JavaPsiFacade.getElementFactory(method.getProject()).createTypeFromText(value, method); } catch (IncorrectOperationExce...
inferExpectedSignatures
36,131
ConversionResult (@NotNull PsiType lType, @NotNull PsiType rType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (!PsiTypes.charType().equals(TypesUtil.unboxPrimitiveTypeWrapper(lType))) return null; if (PsiTypes.charType().equals(TypesUtil.unboxPrimitiveTypeWrapper(rType))) return ConversionResult...
isConvertible
36,132
boolean (GroovyPsiElement context) { final GrLiteral literal = getLiteral(context); final Object value = literal == null ? null : literal.getValue(); return value != null && value.toString().length() == 1; }
checkSingleSymbolLiteral
36,133
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (position == ASSIGNMENT && resolvesTo(targetType, JAVA_UTIL_SET) && actualType instanceof EmptyListLiteralType) { return ConversionResult.OK; } if (isCompileStatic(context)) { ...
isConvertible
36,134
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull GroovyPsiElement context) { if (targetType instanceof PsiArrayType && actualType instanceof PsiArrayType) { if (((PsiArrayType)targetType).getComponentType() instanceof PsiPrimitiveType != ((PsiArrayType)actualType).getComponentType() ...
isCSConvertible
36,135
boolean (@NotNull Position position) { return position != Position.METHOD_PARAMETER; }
isApplicableTo
36,136
PsiType (PsiType type) { if (type instanceof PsiArrayType) return ((PsiArrayType)type).getComponentType(); return PsiUtil.substituteTypeParameter(type, CommonClassNames.JAVA_UTIL_COLLECTION, 0, false); }
extractComponentType
36,137
boolean (PsiType type) { return type instanceof PsiArrayType || InheritanceUtil.isInheritor(type, CommonClassNames.JAVA_UTIL_COLLECTION); }
isCollectionOrArray
36,138
String () { return "groovy.transform.stc.FirstParam.Component"; }
getHintName
36,139
List<PsiType[]> (@NotNull PsiMethod method, @NotNull PsiSubstitutor substitutor, String @NotNull [] options) { List<PsiType[]> signatures = new FirstParamHintProcessor().inferExpectedSignatures(method, substitutor, options); if (signatures.size() == 1) { PsiType[] signature = signatures.get(0); if (signature.length == ...
inferExpectedSignatures
36,140
boolean (@NotNull Position position) { return switch (position) { case RETURN_VALUE, ASSIGNMENT, METHOD_PARAMETER -> true; default -> false; }; }
isApplicableTo
36,141
ConversionResult (@NotNull PsiType targetType, @NotNull PsiType actualType, @NotNull Position position, @NotNull GroovyPsiElement context) { final PsiClassType objectType = TypesUtil.getJavaLangObject(context); boolean isCompileStatic = CompileStaticUtil.isCompileStatic(context); if (position == Position.RETURN_VALUE) ...
isConvertible
36,142
boolean (@NotNull Position position) { return switch (position) { case METHOD_PARAMETER, GENERIC_PARAMETER, ASSIGNMENT, RETURN_VALUE -> true; default -> false; }; }
isApplicableTo
36,143
ConversionResult (@NotNull PsiType ltype, @NotNull PsiType rtype, @NotNull Position position, @NotNull GroovyPsiElement context) { if (!(ltype instanceof PsiClassType && rtype instanceof PsiClassType)) { return null; } if (isCompileStatic(context)) return null; ClassResolveResult lResult = ((PsiClassType)ltype).resolve...
isConvertible
36,144
boolean (@NotNull PsiClass leftClass, @NotNull PsiClass rightClass, @NotNull PsiSubstitutor leftSubstitutor, @NotNull PsiSubstitutor rightSubstitutor, @NotNull PsiElement context) { if (!leftClass.hasTypeParameters()) return true; if (!leftClass.getManager().areElementsEquivalent(leftClass, rightClass)) { rightSubstitu...
typeParametersAgree
36,145
boolean (@NotNull Position position) { return position == Position.ASSIGNMENT || position == Position.RETURN_VALUE || position == Position.EXPLICIT_CAST || position == Position.METHOD_PARAMETER; }
isApplicableTo
36,146
ConversionResult (@NotNull PsiType lType, @NotNull PsiType rType, @NotNull Position position, @NotNull GroovyPsiElement context) { if (!isClassType(lType, JAVA_LANG_STRING)) return null; if (position == Position.EXPLICIT_CAST || position == Position.METHOD_PARAMETER) { return isClassType(rType, GROOVY_LANG_GSTRING) ? C...
isConvertible
36,147
Collection<ConstraintFormula> (@NotNull PsiType leftType, @NotNull PsiType rightType, @NotNull Position position, @NotNull PsiElement context) { if (position == Position.METHOD_PARAMETER && isClassType(leftType, JAVA_LANG_STRING) && isClassType(rightType, GROOVY_LANG_GSTRING)) { return Collections.emptyList(); } else {...
reduceTypeConstraint
36,148
String () { return "groovy.transform.stc.ThirdParam.Component"; }
getHintName
36,149
List<PsiType[]> (@NotNull PsiMethod method, @NotNull PsiSubstitutor substitutor, String @NotNull [] options) { List<PsiType[]> signatures = new ThirdParamHintProcessor().inferExpectedSignatures(method, substitutor, options); if (signatures.size() == 1) { PsiType[] signature = signatures.get(0); if (signature.length == ...
inferExpectedSignatures
36,150
String () { return "groovy.transform.stc.SecondParam.Component"; }
getHintName
36,151
List<PsiType[]> (@NotNull PsiMethod method, @NotNull PsiSubstitutor substitutor, String @NotNull [] options) { List<PsiType[]> signatures = new SecondParamHintProcessor().inferExpectedSignatures(method, substitutor, options); if (signatures.size() == 1) { PsiType[] signature = signatures.get(0); if (signature.length ==...
inferExpectedSignatures
36,152
PsiType (@NotNull GrFunctionalExpression expression, int index) { if (!GroovyConfigUtils.getInstance().isVersionAtLeast(expression, GroovyConfigUtils.GROOVY2_3)) return null; final GrParameter[] parameters = expression.getAllParameters(); if (containsParametersWithDeclaredType(parameters)) { return null; } List<PsiType...
getClosureParameterType
36,153
List<PsiType[]> (@NotNull GrFunctionalExpression expression) { GrMethodCall call = findCall(expression); if (call == null) return Collections.emptyList(); GroovyResolveResult variant = call.advancedResolve(); List<PsiType[]> expectedSignatures = inferExpectedSignatures(variant, call, expression); final GrParameter[] pa...
findFittingSignatures
36,154
List<PsiType[]> (@NotNull GroovyResolveResult variant, @NotNull GrMethodCall call, @NotNull GrFunctionalExpression expression) { PsiElement element = variant.getElement(); while (element instanceof PsiMirrorElement) element = ((PsiMirrorElement)element).getPrototype(); if (!(element instanceof PsiMethod)) return Collec...
inferExpectedSignatures
36,155
PsiSubstitutor (@NotNull GrCall call, @NotNull GroovyInferenceSessionBuilder builder) { return builder.skipClosureIn(call).resolveMode(false).build().inferSubst(); }
computeAnnotationBasedSubstitutor
36,156
boolean (GrParameter[] parameters) { return ContainerUtil.find(parameters, parameter -> parameter.getDeclaredType() != null) != null; }
containsParametersWithDeclaredType
36,157
PsiType (@NotNull GrFunctionalExpression closure, int index) { if (CompileStaticUtil.isCompileStatic(closure)) { return null; } return inferType(closure, index); }
getClosureParameterType
36,158
PsiType (@NotNull GrFunctionalExpression expression, int index) { PsiElement parent = expression.getParent(); if (parent instanceof GrStringInjection && index == 0) { return TypesUtil.createTypeByFQClassName("java.io.StringWriter", expression); } if (parent instanceof GrArgumentList) parent = parent.getParent(); if (!(...
inferType
36,159
PsiType (@Nullable PsiType map, @NotNull final Project project, @NotNull final GlobalSearchScope scope) { PsiType key = PsiUtil.substituteTypeParameter(map, JAVA_UTIL_MAP, 0, true); PsiType value = PsiUtil.substituteTypeParameter(map, JAVA_UTIL_MAP, 1, true); final PsiElementFactory factory = JavaPsiFacade.getElementFa...
getEntryForMap
36,160
PsiType (@NotNull GrExpression qualifier, @NotNull PsiElement context) { PsiType iterType = qualifier.getType(); if (iterType == null) return null; final PsiType type = findTypeForIteration(iterType, context); if (type == null) return null; return PsiImplUtil.normalizeWildcardTypeByPosition(type, qualifier); }
findTypeForIteration
36,161
PsiType (@Nullable PsiType type, @NotNull PsiElement context) { final PsiManager manager = context.getManager(); final GlobalSearchScope resolveScope = context.getResolveScope(); if (type instanceof PsiArrayType) { return TypesUtil.boxPrimitiveType(((PsiArrayType)type).getComponentType(), manager, resolveScope); } if (...
findTypeForIteration
36,162
PsiType (@Nullable PsiType type, PsiElement context) { if (!(type instanceof PsiClassType)) return null; final GroovyResolveResult[] candidates = ResolveUtil.getMethodCandidates(type, "iterator", context, PsiType.EMPTY_ARRAY); final GroovyResolveResult candidate = PsiImplUtil.extractUniqueResult(candidates); final PsiE...
findTypeFromIteratorMethod
36,163
String (@NotNull GrMethodCall methodCall) { GrExpression expression = methodCall.getInvokedExpression(); if (expression instanceof GrReferenceExpression) { return ((GrReferenceExpression)expression).getReferenceName(); } return null; }
findMethodName
36,164
void ( GrParameter parameter, PsiSubstitutor substitutor, TypePresentation typePresentation, StringBuilder builder, boolean doHighlighting ) { if (presentNamedParameters(builder, parameter, doHighlighting)) return; for (PsiAnnotation annotation : parameter.getModifierList().getAnnotations()) { appendStyledSpan(doHighli...
appendParameterPresentation
36,165
String (MethodSignature signature) { StringBuilder builder = new StringBuilder(); builder.append(signature.getName()).append('('); PsiType[] types = signature.getParameterTypes(); for (PsiType type : types) { builder.append(type.getPresentableText()).append(", "); } if (types.length > 0) builder.delete(builder.length()...
getSignaturePresentation
36,166
StringBuilder ( boolean doHighlighting, @NotNull StringBuilder buffer, @NotNull TextAttributesKey attributesKey, @Nullable String value ) { if (doHighlighting) { HtmlSyntaxInfoUtil.appendStyledSpan(buffer, attributesKey, value, DocumentationSettings.getHighlightingSaturation(false)); } else { buffer.append(value); } re...
appendStyledSpan
36,167
boolean (@NotNull StringBuilder buffer, @NotNull GrParameter parameter, boolean doHighlighting) { List<NamedParamData> pairs = NamedParamsUtil.collectNamedParams(parameter); for (int i = 0; i < pairs.size(); i++) { NamedParamData namedParam = pairs.get(i); appendStyledSpan(doHighlighting, buffer, GroovySyntaxHighlighte...
presentNamedParameters
36,168
void () { stateStack.clear(); }
resetState
36,169
void (int... states) { assert states.length > 0; for (int state : states) { assert state != getInitialState(); stateStack.push(state); yybegin(state); } }
yybeginstate
36,170
void (int... states) { for (int state : states) { assert state != getInitialState(); assert !stateStack.isEmpty() : stateStack; int previous = stateStack.pop(); assert previous == state : "States does not match: previous=" + previous + ", expected=" + state; } yybegin(stateStack.isEmpty() ? getInitialState() : stateSta...
yyendstate
36,171
IElementType (IElementType tokenType) { if (indexOf(getDivisionStates(), yystate()) != -1 && DIVISION_IS_EXPECTED_AFTER.contains(tokenType)) { yybeginstate(getDivisionExpectedState()); } return tokenType; }
storeToken
36,172
void () { final IElementType tokenType = getDelegate().getTokenType(); if (tokenType == GroovyTokenTypes.mIDENT || TokenSets.KEYWORDS.contains(tokenType)) { addOccurrenceInToken(UsageSearchContext.IN_CODE); } else if (TokenSets.STRING_LITERALS.contains(tokenType)) { scanWordsInToken(UsageSearchContext.IN_STRINGS | Usag...
advance
36,173
boolean () { return myLeftBound; }
isLeftBound
36,174
GroovyScriptType () { return myScriptType; }
getScriptType
36,175
GroovyScriptType (@NotNull GroovyFile file) { for (GroovyScriptTypeDetector detector : EP_NAME.getExtensions()) { if (detector.isSpecificScriptFile(file)) { return detector.getScriptType(); } } return null; }
getScriptType
36,176
boolean (@NotNull GroovyFile file) { return file.isScript() && getScriptType(file) != null; }
isScriptFile
36,177
Icon (@NotNull GroovyFile file) { GroovyScriptType scriptType = getScriptType(file); return scriptType == null ? JetgroovyIcons.Groovy.GroovyFile : scriptType.getScriptIcon(); }
getIcon
36,178
GlobalSearchScope (@NotNull GroovyFile script, @NotNull GlobalSearchScope scope) { GroovyScriptType scriptType = getScriptType(script); return scriptType == null ? scope : scriptType.patchResolveScope(script, scope); }
patchResolveScope
36,179
void (@NotNull PluginDescriptor pluginDescriptor) { myPluginDescriptor = pluginDescriptor; }
setPluginDescriptor
36,180
ClassLoader () { return myPluginDescriptor != null ? myPluginDescriptor.getClassLoader() : getClass().getClassLoader(); }
getLoaderForClass
36,181
void () { synchronized (GroovyMethodInfo.class) { METHOD_INFOS = null; LIGHT_METHOD_INFOS = null; } }
dropCaches
36,182
void () { if (METHOD_INFOS != null) return; synchronized (GroovyMethodInfo.class) { Map<String, Map<String, List<GroovyMethodInfo>>> methodInfos = new HashMap<>(); Map<String, Map<String, List<GroovyMethodInfo>>> lightMethodInfos = new HashMap<>(); GroovyClassDescriptor.EP_NAME.processWithPluginDescriptor((classDescrip...
ensureInit
36,183
void (Map<String, Map<String, List<GroovyMethodInfo>>> map) { for (Map<String, List<GroovyMethodInfo>> methodMap : map.values()) { List<GroovyMethodInfo> unnamedMethodDescriptors = methodMap.get(null); if (unnamedMethodDescriptors != null) { for (Map.Entry<String, List<GroovyMethodInfo>> entry : methodMap.entrySet()) {...
processUnnamedDescriptors
36,184
List<GroovyMethodInfo> (Map<String, Map<String, List<GroovyMethodInfo>>> map, String key, PsiMethod method) { Map<String, List<GroovyMethodInfo>> methodMap = map.get(key); if (methodMap == null) return null; List<GroovyMethodInfo> res = methodMap.get(method.getName()); if (res == null) { res = methodMap.get(null); } re...
getInfos
36,185
List<GroovyMethodInfo> (PsiMethod method) { ensureInit(); List<GroovyMethodInfo> lightMethodInfos = null; Object methodKind = GrLightMethodBuilder.getMethodKind(method); if (methodKind instanceof String) { lightMethodInfos = getInfos(LIGHT_METHOD_INFOS, (String)methodKind, method); } if (method instanceof PsiMirrorElem...
getInfos
36,186
void (@Nullable String className, Class<?> ... types) { if (className == null) return; try { Class<?> aClass = myClassLoader.loadClass(className); for (Class<?> t : types) { if (t.isAssignableFrom(aClass)) return; } assert false : "Incorrect class type: " + aClass + " must be one of " + Arrays.asList(types); assert Mod...
assertClassExists
36,187
GroovyMethodDescriptor () { return myDescriptor; }
getDescriptor
36,188
void (Map<String, Map<String, List<GroovyMethodInfo>>> res, GroovyMethodDescriptor method, @NotNull ClassLoader classLoader, @NotNull String key) { if (method.methodName == null) { addMethodDescriptor(res, method, classLoader, null, key); } else { for (StringTokenizer st = new StringTokenizer(method.methodName, " \t,;"...
addMethodDescriptor
36,189
void (Map<String, Map<String, List<GroovyMethodInfo>>> res, GroovyMethodDescriptor method, @NotNull ClassLoader classLoader, @Nullable String methodName, @NotNull String key) { Map<String, List<GroovyMethodInfo>> methodMap = res.get(key); if (methodMap == null) { methodMap = new HashMap<>(); res.put(key, methodMap); } ...
addMethodDescriptor
36,190
String () { return myReturnType; }
getReturnType
36,191
boolean () { return myReturnTypeCalculatorClassName != null; }
isReturnTypeCalculatorDefined
36,192
Set<String> () { ensureInit(); return myAllSupportedNamedArguments; }
getAllSupportedNamedArguments
36,193
Object (String namedArgumentName) { NamedArgumentReference r = myNamedArgReferenceProviders.get(namedArgumentName); if (r == null) return null; return r.getProvider(myClassLoader); }
getNamedArgReferenceProvider
36,194
boolean () { return myNamedArgProviderClassName != null; }
isNamedArgumentProviderDefined
36,195
GroovyNamedArgumentProvider () { if (myNamedArgProviderInstance == null) { myNamedArgProviderInstance = SingletonInstancesCache.getInstance(myNamedArgProviderClassName, myClassLoader); } return myNamedArgProviderInstance; }
getNamedArgProvider
36,196
ClassLoader () { return myClassLoader; }
getPluginClassLoader
36,197
boolean (@NotNull PsiMethod method) { if (myParams == null) { return true; } PsiParameterList parameterList = method.getParameterList(); if (parameterList.getParametersCount() != myParams.size()) return false; PsiParameter[] parameters = parameterList.getParameters(); for (int i = 0; i < parameters.length; i++) { if (!...
isApplicable
36,198
Object (ClassLoader classLoader) { if (myProviderClassName != null) { return SingletonInstancesCache.getInstance(myProviderClassName, classLoader); } return new FixedValuesReferenceProvider(myValues); }
doGetProvider
36,199
Object (ClassLoader classLoader) { Object res = myProvider; if (res == null) { res = doGetProvider(classLoader); myProvider = res; } return res; }
getProvider