@@ -0,0 +1,2666 @@
+/**%0A * Copyright (C) 2015 The Gravitee team (http://gravitee.io)%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *         http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage io.gravitee.gateway.policy.impl;%0A%0Aimport io.gravitee.gateway.policy.PolicyMetadata;%0Aimport io.gravitee.policy.api.PolicyConfiguration;%0Aimport io.gravitee.policy.api.PolicyContext;%0A%0Aimport java.lang.annotation.Annotation;%0Aimport java.lang.reflect.Method;%0Aimport java.util.Map;%0A%0A/**%0A * @author David BRASSELY (david.brassely at graviteesource.com)%0A * @author GraviteeSource Team%0A */%0Apublic class PolicyMetadataBuilder %7B%0A%0A    private String id;%0A%0A    private Class%3C? extends PolicyConfiguration%3E configuration;%0A%0A    private PolicyContext context;%0A%0A    private Class%3C?%3E policy;%0A%0A    private Map%3CClass%3C? extends Annotation%3E, Method%3E methods;%0A%0A    public PolicyMetadataBuilder setId(String id) %7B%0A        this.id = id;%0A        return this;%0A    %7D%0A%0A    public PolicyMetadataBuilder setConfiguration(Class%3C? extends PolicyConfiguration%3E configuration) %7B%0A        this.configuration = configuration;%0A        return this;%0A    %7D%0A%0A    public PolicyMetadataBuilder setContext(PolicyContext context) %7B%0A        this.context = context;%0A        return this;%0A    %7D%0A%0A    public PolicyMetadataBuilder setPolicy(Class%3C?%3E policy) %7B%0A        this.policy = policy;%0A        return this;%0A    %7D%0A%0A    public PolicyMetadataBuilder setMethods(Map%3CClass%3C? extends Annotation%3E, Method%3E methods) %7B%0A        this.methods = methods;%0A        return this;%0A    %7D%0A%0A    public PolicyMetadata build() %7B%0A        return new PolicyMetadata() %7B%0A            @Override%0A            public String id() %7B%0A                return id;%0A            %7D%0A%0A            @Override%0A            public Class%3C?%3E policy() %7B%0A                return policy;%0A            %7D%0A%0A            @Override%0A            public Class%3C? extends PolicyConfiguration%3E configuration() %7B%0A                return configuration;%0A            %7D%0A%0A            @Override%0A            public PolicyContext context() %7B%0A                return context;%0A            %7D%0A%0A            @Override%0A            public Method method(Class%3C? extends Annotation%3E type) %7B%0A                return methods.get(type);%0A            %7D%0A        %7D;%0A    %7D%0A%7D%0A

Add missing class