public void addMethodReference(char[] methodName, int argCount) { addIndexEntry(METHOD_REF, MethodPattern.createIndexKey(methodName, argCount)); } public void addNameReference(char[] name) {
public void addMethodReference(char[] methodName, int argCount) { addIndexEntry(METHOD_REF, MethodPattern.createIndexKey(methodName, argCount)); } public void addNameReference(char[] name) {
public void addMethodReference(char[] methodName, int argCount) { addIndexEntry(METHOD_REF, MethodPattern.createIndexKey(methodName, argCount)); } public void addNameReference(char[] name) {
public void addMethodReference(char[] methodName, int argCount) { addIndexEntry(METHOD_REF, MethodPattern.createIndexKey(methodName, argCount)); } public void addModuleDeclaration(char[] moduleName) {
public void addMethodReference(char[] methodName, int argCount) { addIndexEntry(METHOD_REF, MethodPattern.createIndexKey(methodName, argCount)); } public void addModuleDeclaration(char[] moduleName) {
public void addMethodReference(char[] methodName, int argCount) { addIndexEntry(METHOD_REF, MethodPattern.createIndexKey(methodName, argCount)); } public void addNameReference(char[] name) {
case R_EXACT_MATCH : if (this.selector != null && this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector, this.parameterCount); else { // do a prefix query with the selector matchRule &= ~R_EXACT_MATCH; case R_PATTERN_MATCH : if (this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector == null ? ONE_STAR : this.selector, this.parameterCount); else if (this.selector != null && this.selector[this.selector.length - 1] != '*') key = CharOperation.concat(this.selector, ONE_STAR, SEPARATOR);
public void addMethodDeclaration(char[] methodName, char[][] parameterTypes, char[] returnType, char[][] exceptionTypes) { int argCount = parameterTypes == null ? 0 : parameterTypes.length; addIndexEntry(METHOD_DECL, MethodPattern.createIndexKey(methodName, argCount)); if (parameterTypes != null) { for (int i = 0; i < argCount; i++) addTypeReference(parameterTypes[i]); } if (exceptionTypes != null) for (int i = 0, max = exceptionTypes.length; i < max; i++) addTypeReference(exceptionTypes[i]); if (returnType != null) addTypeReference(returnType); } public void addMethodReference(char[] methodName, int argCount) {
case R_EXACT_MATCH : if (this.selector != null && this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector, this.parameterCount); else { // do a prefix query with the selector matchRule &= ~R_EXACT_MATCH; case R_PATTERN_MATCH : if (this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector == null ? ONE_STAR : this.selector, this.parameterCount); else if (this.selector != null && this.selector[this.selector.length - 1] != '*') key = CharOperation.concat(this.selector, ONE_STAR, SEPARATOR);
case R_EXACT_MATCH : if (this.selector != null && this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector, this.parameterCount); else { // do a prefix query with the selector matchRule &= ~R_EXACT_MATCH; case R_PATTERN_MATCH : if (this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector == null ? ONE_STAR : this.selector, this.parameterCount); else if (this.selector != null && this.selector[this.selector.length - 1] != '*') key = CharOperation.concat(this.selector, ONE_STAR, SEPARATOR);
case R_EXACT_MATCH : if (this.selector != null && this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector, this.parameterCount); else { // do a prefix query with the selector matchRule &= ~R_EXACT_MATCH; case R_PATTERN_MATCH : if (this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector == null ? ONE_STAR : this.selector, this.parameterCount); else if (this.selector != null && this.selector[this.selector.length - 1] != '*') key = CharOperation.concat(this.selector, ONE_STAR, SEPARATOR);
case R_EXACT_MATCH : if (this.selector != null && this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector, this.parameterCount); else { // do a prefix query with the selector matchRule &= ~R_EXACT_MATCH; case R_PATTERN_MATCH : if (this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector == null ? ONE_STAR : this.selector, this.parameterCount); else if (this.selector != null && this.selector[this.selector.length - 1] != '*') key = CharOperation.concat(this.selector, ONE_STAR, SEPARATOR);
public void addMethodDeclaration(char[] methodName, char[][] parameterTypes, char[] returnType, char[][] exceptionTypes) { int argCount = parameterTypes == null ? 0 : parameterTypes.length; addIndexEntry(METHOD_DECL, MethodPattern.createIndexKey(methodName, argCount)); if (parameterTypes != null) { for (int i = 0; i < argCount; i++) addTypeReference(parameterTypes[i]); } if (exceptionTypes != null) for (int i = 0, max = exceptionTypes.length; i < max; i++) addTypeReference(exceptionTypes[i]); if (returnType != null) addTypeReference(returnType); } public void addMethodReference(char[] methodName, int argCount) {
case R_EXACT_MATCH : if (this.selector != null && this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector, this.parameterCount); else { // do a prefix query with the selector matchRule &= ~R_EXACT_MATCH; case R_PATTERN_MATCH : if (this.parameterCount >= 0 && !this.varargs) key = createIndexKey(this.selector == null ? ONE_STAR : this.selector, this.parameterCount); else if (this.selector != null && this.selector[this.selector.length - 1] != '*') key = CharOperation.concat(this.selector, ONE_STAR, SEPARATOR);
public void addMethodDeclaration(char[] methodName, char[][] parameterTypes, char[] returnType, char[][] exceptionTypes) { int argCount = parameterTypes == null ? 0 : parameterTypes.length; addIndexEntry(METHOD_DECL, MethodPattern.createIndexKey(methodName, argCount)); if (parameterTypes != null) { for (int i = 0; i < argCount; i++) addTypeReference(parameterTypes[i]); } if (exceptionTypes != null) for (int i = 0, max = exceptionTypes.length; i < max; i++) addTypeReference(exceptionTypes[i]); if (returnType != null) addTypeReference(returnType); } public void addMethodReference(char[] methodName, int argCount) {
public void addMethodDeclaration(char[] methodName, char[][] parameterTypes, char[] returnType, char[][] exceptionTypes) { int argCount = parameterTypes == null ? 0 : parameterTypes.length; addIndexEntry(METHOD_DECL, MethodPattern.createIndexKey(methodName, argCount)); if (parameterTypes != null) { for (int i = 0; i < argCount; i++) addTypeReference(parameterTypes[i]); } if (exceptionTypes != null) for (int i = 0, max = exceptionTypes.length; i < max; i++) addTypeReference(exceptionTypes[i]); if (returnType != null) addTypeReference(returnType); } public void addMethodReference(char[] methodName, int argCount) {
public void addMethodDeclaration(char[] methodName, char[][] parameterTypes, char[] returnType, char[][] exceptionTypes) { int argCount = parameterTypes == null ? 0 : parameterTypes.length; addIndexEntry(METHOD_DECL, MethodPattern.createIndexKey(methodName, argCount)); if (parameterTypes != null) { for (int i = 0; i < argCount; i++) addTypeReference(parameterTypes[i]); } if (exceptionTypes != null) for (int i = 0, max = exceptionTypes.length; i < max; i++) addTypeReference(exceptionTypes[i]); if (returnType != null) addTypeReference(returnType); } public void addMethodReference(char[] methodName, int argCount) {
public void addMethodDeclaration(char[] methodName, char[][] parameterTypes, char[] returnType, char[][] exceptionTypes) { int argCount = parameterTypes == null ? 0 : parameterTypes.length; addIndexEntry(METHOD_DECL, MethodPattern.createIndexKey(methodName, argCount)); if (parameterTypes != null) { for (int i = 0; i < argCount; i++) addTypeReference(parameterTypes[i]); } if (exceptionTypes != null) for (int i = 0, max = exceptionTypes.length; i < max; i++) addTypeReference(exceptionTypes[i]); if (returnType != null) addTypeReference(returnType); } public void addMethodReference(char[] methodName, int argCount) {
new String(lambdaExpression.descriptor.selector) + "-> {}"); //$NON-NLS-1$ SourceIndexer.this.addIndexEntry(IIndexConstants.METHOD_DECL, MethodPattern.createIndexKey(lambdaExpression.descriptor.selector, lambdaExpression.descriptor.parameters.length));
new String(lambdaExpression.descriptor.selector) + "-> {}"); //$NON-NLS-1$ SourceIndexer.this.addIndexEntry(IIndexConstants.METHOD_DECL, MethodPattern.createIndexKey(lambdaExpression.descriptor.selector, lambdaExpression.descriptor.parameters.length));