17fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin/* 2e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin * Copyright (C) 2013 Google Inc. 37fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * 47fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * Licensed under the Apache License, Version 2.0 (the "License"); 57fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * you may not use this file except in compliance with the License. 67fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * You may obtain a copy of the License at 77fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * 87fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * http://www.apache.org/licenses/LICENSE-2.0 97fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * 107fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * Unless required by applicable law or agreed to in writing, software 117fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * distributed under the License is distributed on an "AS IS" BASIS, 127fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 137fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * See the License for the specific language governing permissions and 147fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin * limitations under the License. 157fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin */ 167fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin 17e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinpackage com.google.caliper.runner; 187fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin 19e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport static java.lang.annotation.ElementType.FIELD; 20e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport static java.lang.annotation.ElementType.METHOD; 21e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport static java.lang.annotation.ElementType.PARAMETER; 22e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport static java.lang.annotation.RetentionPolicy.RUNTIME; 237fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin 24e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport java.lang.annotation.Retention; 25e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport java.lang.annotation.Target; 267fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin 27e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffinimport javax.inject.Qualifier; 287fc0b45feb5ac6191547bb0a175a718cb41ec4f9Paul Duffin 29e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin/** Binding annotation for the port to which the worker has bound. */ 30e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin@Retention(RUNTIME) 31e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin@Target({FIELD, PARAMETER, METHOD}) 32e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin@Qualifier 33e236301e5fc778bffe1748ed80d7936e6c807012Paul Duffin@interface LocalPort {} 34