本文整理了Java中javax.enterprise.inject.spi.Annotated.getTypeClosure()
方法的一些代码示例,展示了Annotated.getTypeClosure()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Annotated.getTypeClosure()
方法的具体详情如下:
包路径:javax.enterprise.inject.spi.Annotated
类名称:Annotated
方法名:getTypeClosure
[英]Get all types to which the base type should be considered assignable.
[中]获取应将基类型视为可分配的所有类型。
代码示例来源:origin: org.jboss.seam.jms/seam-jms
public Set<Type> getTypeClosure()
{
return decorated.getTypeClosure();
}
}
代码示例来源:origin: org.jboss.kernel/jboss-weld-int
/**
* Gets the type closure from the delegate
*
* @return the type closure
*/
public Set<Type> getTypeClosure()
{
return delegate.getTypeClosure();
}
代码示例来源:origin: org.jboss.jsr299.tck/jsr299-tck-impl
public Set<Type> getTypeClosure()
{
return delegate.getTypeClosure();
}
代码示例来源:origin: io.astefanutti.metrics.cdi/metrics-cdi
@Override
public Set<Type> getTypeClosure() {
return decorated.getTypeClosure();
}
代码示例来源:origin: astefanutti/metrics-cdi
@Override
public Set<Type> getTypeClosure() {
return decorated.getTypeClosure();
}
代码示例来源:origin: org.jboss.weld.se/weld-se
public Set<Type> getTypeClosure() {
return delegate.getTypeClosure();
}
代码示例来源:origin: org.apache.camel/camel-test-cdi
@Override
public Set<Type> getTypeClosure() {
return decorated.getTypeClosure();
}
代码示例来源:origin: com.kumuluz.ee.metrics/kumuluzee-metrics-core
@Override
public Set<Type> getTypeClosure() {
return decorated.getTypeClosure();
}
代码示例来源:origin: org.jboss.weld.se/weld-se
public Set<Type> getTypeClosure() {
return delegate().getTypeClosure();
}
代码示例来源:origin: org.apache.openwebbeans/openwebbeans-impl
/**
* Copy consturctor
*
* @param webBeansContext current {@link WebBeansContext}
* @param annotated to copy
*/
protected AbstractAnnotated(WebBeansContext webBeansContext, Annotated annotated)
{
this.baseType = annotated.getBaseType();
this.webBeansContext = webBeansContext;
this.typeClosures = annotated.getTypeClosure();
this.annotations.addAll(annotated.getAnnotations());
}
代码示例来源:origin: org.jboss.jsr299.tck/jsr299-tck-impl
private void validateStatefulSessionBean(Annotated type)
{
assert type.getBaseType().equals(Cow.class);
assert rawTypeSetMatches(type.getTypeClosure(), Cow.class, CowLocal.class, Object.class);
assert type.getAnnotations().size() == 0;
}
代码示例来源:origin: org.jboss.cdi.tck/cdi-tck-impl
private void validateStatefulSessionBean(Annotated type) {
assert type.getBaseType().equals(Cow.class);
assert typeSetMatches(type.getTypeClosure(), Cow.class, CowLocal.class, Object.class);
assert type.getAnnotations().size() == 0;
}
代码示例来源:origin: org.jboss.jsr299.tck/jsr299-tck-impl
private void validateStatelessSessionBean(Annotated type)
{
assert type.getBaseType().equals(Sheep.class);
assert rawTypeSetMatches(type.getTypeClosure(), Sheep.class, SheepLocal.class, Object.class);
assert type.getAnnotations().size() == 2;
assert annotationSetMatches(type.getAnnotations(), Tame.class, Stateless.class); // TODO
// Check
}
代码示例来源:origin: org.jboss.cdi.tck/cdi-tck-impl
private void validateStatelessSessionBean(Annotated type) {
assert type.getBaseType().equals(Sheep.class);
assert typeSetMatches(type.getTypeClosure(), Sheep.class, SheepLocal.class, Object.class);
assert type.getAnnotations().size() == 2;
assert annotationSetMatches(type.getAnnotations(), Tame.class, Stateless.class);
}
代码示例来源:origin: org.jboss.weld.se/weld-se
public static void validateAnnotated(Annotated annotated) {
checkNotNull(annotated.getAnnotations(), "getAnnotations()", annotated);
checkNotNull(annotated.getBaseType(), "getBaseType()", annotated);
checkNotNull(annotated.getTypeClosure(), "getTypeClosure()", annotated);
}
代码示例来源:origin: weld/core
public static void validateAnnotated(Annotated annotated) {
checkNotNull(annotated.getAnnotations(), "getAnnotations()", annotated);
checkNotNull(annotated.getBaseType(), "getBaseType()", annotated);
checkNotNull(annotated.getTypeClosure(), "getTypeClosure()", annotated);
}
代码示例来源:origin: weld/core
public static void validateAnnotated(Annotated annotated) {
checkNotNull(annotated.getAnnotations(), "getAnnotations()", annotated);
checkNotNull(annotated.getBaseType(), "getBaseType()", annotated);
checkNotNull(annotated.getTypeClosure(), "getTypeClosure()", annotated);
}
代码示例来源:origin: org.jboss.weld.se/weld-se-shaded
public static void validateAnnotated(Annotated annotated) {
checkNotNull(annotated.getAnnotations(), "getAnnotations()", annotated);
checkNotNull(annotated.getBaseType(), "getBaseType()", annotated);
checkNotNull(annotated.getTypeClosure(), "getTypeClosure()", annotated);
}
代码示例来源:origin: weld/core
public static void validateAnnotated(Annotated annotated) {
checkNotNull(annotated.getAnnotations(), "getAnnotations()", annotated);
checkNotNull(annotated.getBaseType(), "getBaseType()", annotated);
checkNotNull(annotated.getTypeClosure(), "getTypeClosure()", annotated);
}
代码示例来源:origin: org.jboss.weld.servlet/weld-servlet-shaded
public static void validateAnnotated(Annotated annotated) {
checkNotNull(annotated.getAnnotations(), "getAnnotations()", annotated);
checkNotNull(annotated.getBaseType(), "getBaseType()", annotated);
checkNotNull(annotated.getTypeClosure(), "getTypeClosure()", annotated);
}
内容来源于网络,如有侵权,请联系作者删除!