You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
423 B
21 lines
423 B
package mightypork.utils.annotations;
|
|
|
|
|
|
import java.lang.annotation.Documented;
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
|
|
/**
|
|
* Marks a static factory method
|
|
*
|
|
* @author MightyPork
|
|
*/
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
@Target(ElementType.METHOD)
|
|
@Documented
|
|
public @interface FactoryMethod {
|
|
|
|
}
|
|
|