当前位置: 首页>>代码示例>>Java>>正文


Java StaticInjectionRequest类代码示例

本文整理汇总了Java中com.google.inject.spi.StaticInjectionRequest的典型用法代码示例。如果您正苦于以下问题:Java StaticInjectionRequest类的具体用法?Java StaticInjectionRequest怎么用?Java StaticInjectionRequest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


StaticInjectionRequest类属于com.google.inject.spi包,在下文中一共展示了StaticInjectionRequest类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: visit

import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override
public Void visit(StaticInjectionRequest staticInjectionRequest)
{
	dependencyAnalyzer.analyzeInjectionPoints(staticInjectionRequest.getInjectionPoints());
	staticInjectionRequest.applyTo(binder);
	return null;
}
 
开发者ID:equella,项目名称:Equella,代码行数:8,代码来源:ElementAnalyzer.java

示例2: visit

import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override
public V visit(StaticInjectionRequest request) {
    return message(request,
                   "Requesting static injection for " + request.getType());
}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:6,代码来源:ElementInspector.java

示例3: visit

import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override
public Object visit(StaticInjectionRequest staticInjectionRequest) {
    processInjectionPoints(staticInjectionRequest.getInjectionPoints());
    return super.visit(staticInjectionRequest);
}
 
开发者ID:OvercastNetwork,项目名称:ProjectAres,代码行数:6,代码来源:DependencyCollector.java

示例4: visit

import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
public Void visit(StaticInjectionRequest staticInjectionRequest) {
  bindings.addStaticInjectionRequest(
      staticInjectionRequest.getType(),
      staticInjectionRequest.getSource());
  return null;
}
 
开发者ID:google-code-export,项目名称:google-gin,代码行数:7,代码来源:GuiceElementVisitor.java

示例5: visit

import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override
public Boolean visit(StaticInjectionRequest request) {
  staticInjections.add(new StaticInjection(injector, request));
  return true;
}
 
开发者ID:google,项目名称:guice,代码行数:6,代码来源:InjectionRequestProcessor.java

示例6: StaticInjection

import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
public StaticInjection(InjectorImpl injector, StaticInjectionRequest request) {
  this.injector = injector;
  this.source = request.getSource();
  this.request = request;
}
 
开发者ID:google,项目名称:guice,代码行数:6,代码来源:InjectionRequestProcessor.java

示例7: visit

import com.google.inject.spi.StaticInjectionRequest; //导入依赖的package包/类
@Override public Boolean visit(StaticInjectionRequest request) {
  staticInjections.add(new StaticInjection(injector, request));
  return true;
}
 
开发者ID:cgruber,项目名称:guice-old,代码行数:5,代码来源:InjectionRequestProcessor.java


注:本文中的com.google.inject.spi.StaticInjectionRequest类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。