blob: b3804cc6252eeeac3b5ccb27adc8a1da8b736b5d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 NumberFour AG
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* NumberFour AG - initial API and Implementation (Alex Panchenko)
*******************************************************************************/
package org.eclipse.dltk.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Convenient way of documenting the extension point which should be used for
* contributing the implementation.
*/
@Retention(RetentionPolicy.SOURCE)
@Target({ ElementType.TYPE })
public @interface ExtensionPoint {
/**
* Extension point
*/
String point();
/**
* Element or path of elements
*/
String[] element() default "";
/**
* Attribute name
*/
String attribute() default "";
}