de.japkit.annotations.Order Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of japkit-annotations Show documentation
Show all versions of japkit-annotations Show documentation
Contains the meta annotations that comprise the DSL for writing code templates.
package de.japkit.annotations;
/**
* Eclipse APT seems not to obey source element order but to sort enclosed
* elements alphabetically.
* To enforce order, this
* annotation can be used.
*
* Note: Order is especially important for properties, since for example the
* constructor parameter order of generated constructors depends on it.
*
* @author stefan
* @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=300408
*
*/
public @interface Order {
/**
*
* @return the ordinal number
*/
int value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy