Package org.fenrir.yggdrasil.core.event.annotation

Examples of org.fenrir.yggdrasil.core.event.annotation.EventMethod.eventName()


            entry = new RegistryEntry();
            Method[] interfaceMethods = listenerInterface.getDeclaredMethods();
            for(Method method:interfaceMethods){
                EventMethod annotation = method.getAnnotation(EventMethod.class);
                if(annotation!=null){
                    String eventName = annotation.eventName();
                    entry.putEventMethod(eventName, method);
                }
                else if(entry.getEventMethod()==null){
                    entry.putEventMethod(method);
                }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.