org.eclipse.core.internal.localstore.ILocalStoreConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aspectjtools Show documentation
Show all versions of aspectjtools Show documentation
AspectJ tools most notably contains the AspectJ compiler (AJC). AJC applies aspects to Java classes during
compilation, fully replacing Javac for plain Java classes and also compiling native AspectJ or annotation-based
@AspectJ syntax. Furthermore, AJC can weave aspects into existing class files in a post-compile binary weaving step.
This library is a superset of AspectJ weaver and hence also of AspectJ runtime.
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.core.internal.localstore;
public interface ILocalStoreConstants {
/** Common constants for History Store classes. */
int SIZE_LASTMODIFIED = 8;
int SIZE_COUNTER = 1;
int SIZE_KEY_SUFFIX = SIZE_LASTMODIFIED + SIZE_COUNTER;
/** constants for safe chunky streams */
// 40b18b8123bc00141a2596e7a393be1e
byte[] BEGIN_CHUNK = {64, -79, -117, -127, 35, -68, 0, 20, 26, 37, -106, -25, -93, -109, -66, 30};
// c058fbf323bc00141a51f38c7bbb77c6
byte[] END_CHUNK = {-64, 88, -5, -13, 35, -68, 0, 20, 26, 81, -13, -116, 123, -69, 119, -58};
/** chunk delimiter size */
// BEGIN_CHUNK and END_CHUNK must have the same length
int CHUNK_DELIMITER_SIZE = BEGIN_CHUNK.length;
}