mirror of
				https://e.coding.net/circlecloud/YumCore.git
				synced 2025-11-03 23:06:02 +00:00 
			
		
		
		
	@@ -103,6 +103,7 @@ public class CommandInfo {
 | 
				
			|||||||
    public static CommandInfo parse(Method method, Object origin) {
 | 
					    public static CommandInfo parse(Method method, Object origin) {
 | 
				
			||||||
        Cmd command = method.getAnnotation(Cmd.class);
 | 
					        Cmd command = method.getAnnotation(Cmd.class);
 | 
				
			||||||
        if (command != null) {
 | 
					        if (command != null) {
 | 
				
			||||||
 | 
					            method.setAccessible(true);
 | 
				
			||||||
            Help help = method.getAnnotation(Help.class);
 | 
					            Help help = method.getAnnotation(Help.class);
 | 
				
			||||||
            Async async = method.getAnnotation(Async.class);
 | 
					            Async async = method.getAnnotation(Async.class);
 | 
				
			||||||
            Sort sort = method.getAnnotation(Sort.class);
 | 
					            Sort sort = method.getAnnotation(Sort.class);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user