All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jedi.example.Stormtrooper Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package jedi.example;

import jedi.annotation.JediCommand;
import jedi.annotation.JediFilter;
import jedi.annotation.JediFunctor;

// This interface shows how to use some annotations. Look at the Empire class to
// see how the generated closure factories are used.
public interface Stormtrooper {
    @JediFilter
    boolean isWithinRange(RebelBase base);
    
    @JediCommand
    void attack(RebelBase base);
    
    @JediFunctor
    int getDistance(RebelBase base);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy