Bug 95908 [5.0][content assist] toarray template inserted as content assist method argument guess
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuesser.java
private static final class PositionBasedJavaContext extends JavaContext {
		private Position fPosition;
		/**
		 * @param type
		 * @param document
		 * @param position
		 * @param compilationUnit
		 */
		public PositionBasedJavaContext(TemplateContextType type, IDocument document, Position position, ICompilationUnit compilationUnit) {
			super(type, document, position.getOffset(), position.getLength(), compilationUnit);
			fPosition= position;
		}
		/*
		 * @see org.eclipse.jdt.internal.corext.template.java.JavaContext#getStart()
		 */
		public int getStart() {
			return fPosition.getOffset();
		}
		/*
		 * @see org.eclipse.jdt.internal.corext.template.java.JavaContext#getEnd()
		 */
		public int getEnd() {
			return fPosition.getOffset() + fPosition.getLength();
		}
	}
	final class Variable {