Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.core.util;
Default implementation of IRuntimeVisibleAnnotations
	private static final IParameterAnnotation[] NO_ENTRIES = new IParameterAnnotation[0];
	private int parametersNumber;
Constructor for RuntimeVisibleParameterAnnotations.

Parameters:
classFileBytes
constantPool
offset
Throws:
org.eclipse.jdt.core.util.ClassFormatException
		byte[] classFileBytes,
		IConstantPool constantPool,
		int offset)
		super(classFileBytesconstantPooloffset);
		final int length = u1At(classFileBytes, 6, offset);
		this. = length;
		if (length != 0) {
			int readOffset = 7;
			for (int i = 0; i < lengthi++) {
				ParameterAnnotation parameterAnnotation = new ParameterAnnotation(classFileBytesconstantPooloffset + readOffset);
				this.[i] = parameterAnnotation;
				readOffset += parameterAnnotation.sizeInBytes();
			}
else {
		}
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jdt.core.util.IRuntimeVisibleParameterAnnotations#getAnnotations()
	 */
		return this.;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jdt.core.util.IRuntimeVisibleParameterAnnotations#getParametersNumber()
	 */
	public int getParametersNumber() {
		return this.;
	}
New to GrepCode? Check out our FAQ X