blob: 108a950eb975589d36c86b69beb072889ee53a45 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 NumberFour AG
*
* 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:
* 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 "";
}