protected void initialize() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].initialize(); } super.initialize(); } protected void reset() {
protected void reset() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].reset(); } super.reset(); } protected void toStringContent(StringBuffer buffer) {
protected void toStringContent(StringBuffer buffer) { super.toStringContent(buffer); buffer.append("type annotations = \n");//$NON-NLS-1$ for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { buffer.append(this.typeAnnotations[i].toString()); buffer.append('\n'); } } }
public IBinaryAnnotation[] getParameterAnnotations(int index, char[] classFileName) { try { return this.parameterAnnotations == null ? null : this.parameterAnnotations[index]; } catch (ArrayIndexOutOfBoundsException aioobe) { // detailed reporting to track down https://bugs.eclipse.org/474081 StringBuffer message = new StringBuffer("Mismatching number of parameter annotations, "); //$NON-NLS-1$ message.append(index); message.append('>'); message.append(this.parameterAnnotations.length-1); message.append(" in "); //$NON-NLS-1$ message.append(getSelector()); char[] desc = getGenericSignature(); if (desc != null) message.append(desc); else message.append(getMethodDescriptor()); if (classFileName != null) message.append(" in ").append(classFileName); //$NON-NLS-1$ throw new IllegalStateException(message.toString(), aioobe); } } public int getAnnotatedParametersCount() {
return new MethodInfoWithParameterAnnotations(methodInfo, annotations, parameterAnnotations); if (annotations != null) return new MethodInfoWithAnnotations(methodInfo, annotations);
public IBinaryAnnotation[] getParameterAnnotations(int index, char[] classFileName) { try { return this.parameterAnnotations == null ? null : this.parameterAnnotations[index]; } catch (ArrayIndexOutOfBoundsException aioobe) { // detailed reporting to track down https://bugs.eclipse.org/474081 StringBuffer message = new StringBuffer("Mismatching number of parameter annotations, "); //$NON-NLS-1$ message.append(index); message.append('>'); message.append(this.parameterAnnotations.length-1); message.append(" in "); //$NON-NLS-1$ message.append(getSelector()); char[] desc = getGenericSignature(); if (desc != null) message.append(desc); else message.append(getMethodDescriptor()); if (classFileName != null) message.append(" in ").append(classFileName); //$NON-NLS-1$ throw new IllegalStateException(message.toString(), aioobe); } } public int getAnnotatedParametersCount() {
return new MethodInfoWithParameterAnnotations(methodInfo, annotations, parameterAnnotations); if (annotations != null) return new MethodInfoWithAnnotations(methodInfo, annotations);
public IBinaryAnnotation[] getParameterAnnotations(int index, char[] classFileName) { try { return this.parameterAnnotations == null ? null : this.parameterAnnotations[index]; } catch (ArrayIndexOutOfBoundsException aioobe) { // detailed reporting to track down https://bugs.eclipse.org/474081 StringBuffer message = new StringBuffer("Mismatching number of parameter annotations, "); //$NON-NLS-1$ message.append(index); message.append('>'); message.append(this.parameterAnnotations.length-1); message.append(" in "); //$NON-NLS-1$ message.append(getSelector()); char[] desc = getGenericSignature(); if (desc != null) message.append(desc); else message.append(getMethodDescriptor()); if (classFileName != null) message.append(" in ").append(classFileName); //$NON-NLS-1$ throw new IllegalStateException(message.toString(), aioobe); } } public int getAnnotatedParametersCount() {
return new MethodInfoWithParameterAnnotations(methodInfo, annotations, parameterAnnotations); if (annotations != null) return new MethodInfoWithAnnotations(methodInfo, annotations);
protected void reset() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].reset(); } super.reset(); } }
protected void initialize() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].initialize(); } super.initialize(); } protected void reset() {
protected void toStringContent(StringBuffer buffer) { super.toStringContent(buffer); buffer.append("type annotations = \n");//$NON-NLS-1$ for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { buffer.append(this.typeAnnotations[i].toString()); buffer.append('\n'); } } }
@Override public IBinaryAnnotation[] getParameterAnnotations(int index, char[] classFileName) { try { return this.parameterAnnotations == null ? null : this.parameterAnnotations[index]; } catch (ArrayIndexOutOfBoundsException aioobe) { // detailed reporting to track down https://bugs.eclipse.org/474081 StringBuffer message = new StringBuffer("Mismatching number of parameter annotations, "); //$NON-NLS-1$ message.append(index); message.append('>'); message.append(this.parameterAnnotations.length-1); message.append(" in "); //$NON-NLS-1$ message.append(getSelector()); char[] desc = getGenericSignature(); if (desc != null) message.append(desc); else message.append(getMethodDescriptor()); if (classFileName != null) message.append(" in ").append(classFileName); //$NON-NLS-1$ throw new IllegalStateException(message.toString(), aioobe); } } @Override
return new MethodInfoWithTypeAnnotations(methodInfo, annotations, parameterAnnotations, typeAnnotations); if (parameterAnnotations != null) return new MethodInfoWithParameterAnnotations(methodInfo, annotations, parameterAnnotations); if (annotations != null) return new MethodInfoWithAnnotations(methodInfo, annotations);
protected void reset() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].reset(); } super.reset(); } protected void toStringContent(StringBuffer buffer) {
protected void initialize() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].initialize(); } super.initialize(); } protected void reset() {
protected void toStringContent(StringBuffer buffer) { super.toStringContent(buffer); buffer.append("type annotations = \n");//$NON-NLS-1$ for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { buffer.append(this.typeAnnotations[i].toString()); buffer.append('\n'); } } }
public IBinaryAnnotation[] getParameterAnnotations(int index, char[] classFileName) { try { return this.parameterAnnotations == null ? null : this.parameterAnnotations[index]; } catch (ArrayIndexOutOfBoundsException aioobe) { // detailed reporting to track down https://bugs.eclipse.org/474081 StringBuffer message = new StringBuffer("Mismatching number of parameter annotations, "); //$NON-NLS-1$ message.append(index); message.append('>'); message.append(this.parameterAnnotations.length-1); message.append(" in "); //$NON-NLS-1$ message.append(getSelector()); char[] desc = getGenericSignature(); if (desc != null) message.append(desc); else message.append(getMethodDescriptor()); if (classFileName != null) message.append(" in ").append(classFileName); //$NON-NLS-1$ throw new IllegalStateException(message.toString(), aioobe); } } public int getAnnotatedParametersCount() {
return new MethodInfoWithTypeAnnotations(methodInfo, annotations, parameterAnnotations, typeAnnotations); if (parameterAnnotations != null) return new MethodInfoWithParameterAnnotations(methodInfo, annotations, parameterAnnotations); if (annotations != null) return new MethodInfoWithAnnotations(methodInfo, annotations);
@Override protected void reset() { for (int i = 0, l = this.typeAnnotations == null ? 0 : this.typeAnnotations.length; i < l; i++) { this.typeAnnotations[i].reset(); } super.reset(); } }