本文整理汇总了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();
}
开发者ID:KyoriPowered,项目名称:violet,代码行数:5,代码来源:ForwardingBinder.java
示例2: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
@Override
public AnnotatedConstantBindingBuilder bindConstant() {
return new AnnotatedConstantBindingBuilderImpl(delegate.bindConstant());
}
开发者ID:ruediste,项目名称:salta,代码行数:5,代码来源:BinderImpl.java
示例3: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/**
* @see Binder#bindConstant()
*/
protected AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
开发者ID:ruediste,项目名称:salta,代码行数:7,代码来源:AbstractModule.java
示例4: AnnotatedConstantBindingBuilderAdapter
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
public AnnotatedConstantBindingBuilderAdapter(
AnnotatedConstantBindingBuilder guiceBuilder) {
this.guiceBuilder = guiceBuilder;
}
开发者ID:google-code-export,项目名称:google-gin,代码行数:5,代码来源:AnnotatedConstantBindingBuilderAdapter.java
示例5: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/** @see Binder#bindConstant() */
protected final AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
开发者ID:google,项目名称:guice,代码行数:5,代码来源:PrivateModule.java
示例6: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/** See the EDSL examples at {@link Binder}. */
AnnotatedConstantBindingBuilder bindConstant();
开发者ID:google,项目名称:guice,代码行数:3,代码来源:Binder.java
示例7: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
@Override
public AnnotatedConstantBindingBuilder bindConstant() {
return new ConstantBindingBuilderImpl<Void>(this, elements, getElementSource());
}
开发者ID:google,项目名称:guice,代码行数:5,代码来源:Elements.java
示例8: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/** @see Binder#bindConstant() */
protected AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
开发者ID:google,项目名称:guice,代码行数:5,代码来源:AbstractModule.java
示例9: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/**
* @see Binder#bindConstant()
*/
protected final AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
开发者ID:cgruber,项目名称:guice-old,代码行数:7,代码来源:PrivateModule.java
示例10: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
public AnnotatedConstantBindingBuilder bindConstant() {
return new ConstantBindingBuilderImpl<Void>(this, elements, getElementSource());
}
开发者ID:cgruber,项目名称:guice-old,代码行数:4,代码来源:Elements.java
示例11: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/**
* @see Binder#bindConstant()
*/
protected AnnotatedConstantBindingBuilder bindConstant() {
return binder().bindConstant();
}
开发者ID:cgruber,项目名称:guice-old,代码行数:7,代码来源:AbstractModule.java
示例12: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
public AnnotatedConstantBindingBuilder bindConstant() {
return new ConstantBindingBuilderImpl<Void>(this, elements, getSource());
}
开发者ID:utopiazh,项目名称:google-guice,代码行数:4,代码来源:Elements.java
示例13: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
@Override
public AnnotatedConstantBindingBuilder bindConstant() {
return binder.bindConstant();
}
开发者ID:javabits,项目名称:yar,代码行数:5,代码来源:RegistryBinderImpl.java
示例14: bindConstant
import com.google.inject.binder.AnnotatedConstantBindingBuilder; //导入依赖的package包/类
/**
* See the EDSL examples at {@link Binder}.
*/
AnnotatedConstantBindingBuilder bindConstant();
开发者ID:ruediste,项目名称:salta,代码行数:5,代码来源:Binder.java
注:本文中的com.google.inject.binder.AnnotatedConstantBindingBuilder类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论