本文整理汇总了Java中com.google.inject.binder.AnnotatedConstantBindingBuilder类的典型用法代码示例。如果您正苦于以下问题:Java AnnotatedConstantBindingBuilder类的具体用法?Java AnnotatedConstantBindingBuilder怎么用?Java AnnotatedConstantBindingBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AnnotatedConstantBindingBuilder类属于com.google.inject.binder包,在下文中一共展示了AnnotatedConstantBindingBuilder类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
@Override
default AnnotatedConstantBindingBuilder bindConstant() {
return this.binder().bindConstant();
}
示例2: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
@Override
public AnnotatedConstantBindingBuilder bindConstant() {
return new AnnotatedConstantBindingBuilderImpl(delegate.bindConstant());
}
示例3: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/**
* @see Binder#bindConstant()
*/
protected AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
示例4: AnnotatedConstantBindingBuilderAdapter
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
public AnnotatedConstantBindingBuilderAdapter(
AnnotatedConstantBindingBuilder guiceBuilder) {
this.guiceBuilder = guiceBuilder;
}
示例5: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/** @see Binder#bindConstant() */
protected final AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
示例6: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/** See the EDSL examples at {@link Binder}. */
AnnotatedConstantBindingBuilder bindConstant();
示例7: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
@Override
public AnnotatedConstantBindingBuilder bindConstant() {
return new ConstantBindingBuilderImpl<Void>(this, elements, getElementSource());
}
示例8: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/** @see Binder#bindConstant() */
protected AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
示例9: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/**
* @see Binder#bindConstant()
*/
protected final AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
示例10: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
public AnnotatedConstantBindingBuilder bindConstant() {
return new ConstantBindingBuilderImpl<Void>(this, elements, getElementSource());
}
示例11: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/**
* @see Binder#bindConstant()
*/
protected AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
示例12: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
public AnnotatedConstantBindingBuilder bindConstant() {
return new ConstantBindingBuilderImpl<Void>(this, elements, getSource());
}
示例13: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
@Override
public AnnotatedConstantBindingBuilder bindConstant() {
return binder.bindConstant();
}
示例14: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/**
* See the EDSL examples at {@link Binder}.
*/
AnnotatedConstantBindingBuilder bindConstant();