001 /**
002 *
003 */
004 package org.apache.camel.spring.builder;
005
006 import java.lang.reflect.Method;
007 import java.util.LinkedHashMap;
008
009 import org.apache.camel.builder.Fluent;
010 import org.apache.camel.builder.FluentArg;
011
012 public class MethodInfo {
013
014 final Method method;
015 final Fluent methodAnnotation;
016 final LinkedHashMap<String, Class> parameters;
017 final LinkedHashMap<String, FluentArg> parameterAnnotations;
018
019 public MethodInfo(Method method, Fluent fluentAnnotation, LinkedHashMap<String, Class> parameters, LinkedHashMap<String, FluentArg> annotations) {
020 this.method=method;
021 this.methodAnnotation = fluentAnnotation;
022 this.parameters=parameters;
023 this.parameterAnnotations = annotations;
024 }
025
026 public String getName() {
027 return method.getName();
028 }
029 }