本文整理了Java中javax.lang.model.util.Types.contains()
方法的一些代码示例,展示了Types.contains()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Types.contains()
方法的具体详情如下:
包路径:javax.lang.model.util.Types
类名称:Types
方法名:contains
[英]Tests whether one type argument contains another.
[中]测试一个类型参数是否包含另一个类型参数。
代码示例来源:origin: org.vesalainen.bcc/bcc
public static boolean contains(TypeMirror t1, TypeMirror t2)
{
return types.contains(t1, t2);
}
代码示例来源:origin: org.uberfire/uberfire-workbench-processors
@Override
public boolean contains(TypeMirror arg0,
TypeMirror arg1) {
return realImpl.contains(arg0,
arg1);
}
代码示例来源:origin: sk.seges.sesam/sesam-annotation-core-support
@Override
public boolean contains(TypeMirror t1, TypeMirror t2) {
return this.types.contains(t1, t2);
}
代码示例来源:origin: com.google.dagger/dagger-compiler
@Override
public boolean contains(TypeMirror t1, TypeMirror t2) {
return types.contains(t1, t2);
}
代码示例来源:origin: kiegroup/appformer
@Override
public boolean contains(TypeMirror arg0,
TypeMirror arg1) {
return realImpl.contains(arg0,
arg1);
}
代码示例来源:origin: org.mapstruct/mapstruct-processor
@Override
public boolean contains(TypeMirror t1, TypeMirror t2) {
return delegate.contains( t1, t2 );
}
代码示例来源:origin: domaframework/doma
public boolean contains(TypeMirror t1, TypeMirror t2) {
return typeUtils.contains(t1, t2);
}
代码示例来源:origin: juzu/juzu
public boolean contains(TypeMirror t1, TypeMirror t2) {
return env.getTypeUtils().contains(t1, t2);
}
代码示例来源:origin: org.juzu/juzu-core
public boolean contains(TypeMirror t1, TypeMirror t2) {
return env.getTypeUtils().contains(t1, t2);
}
代码示例来源:origin: stoicflame/enunciate
public boolean contains(TypeMirror t1, TypeMirror t2) {
while (t1 instanceof DecoratedTypeMirror) {
t1 = ((DecoratedTypeMirror) t1).getDelegate();
}
while (t2 instanceof DecoratedTypeMirror) {
t2 = ((DecoratedTypeMirror) t2).getDelegate();
}
return delegate.contains(t1, t2);
}
代码示例来源:origin: com.webcohesion.enunciate/enunciate-javac-support
public boolean contains(TypeMirror t1, TypeMirror t2) {
while (t1 instanceof DecoratedTypeMirror) {
t1 = ((DecoratedTypeMirror) t1).getDelegate();
}
while (t2 instanceof DecoratedTypeMirror) {
t2 = ((DecoratedTypeMirror) t2).getDelegate();
}
return delegate.contains(t1, t2);
}
内容来源于网络,如有侵权,请联系作者删除!