br.com.objectos.code.Artifact.empty()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(144)

本文整理了Java中br.com.objectos.code.Artifact.empty()方法的一些代码示例,展示了Artifact.empty()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Artifact.empty()方法的具体详情如下:
包路径:br.com.objectos.code.Artifact
类名称:Artifact
方法名:empty

Artifact.empty介绍

暂无

代码示例

代码示例来源:origin: br.com.objectos/pojo-plugin

@Override
public final Artifact generate() {
 return Artifact.empty();
}

代码示例来源:origin: br.com.objectos.pojo/plugin

@Override
public final Artifact generate() {
 return Artifact.empty();
}

代码示例来源:origin: br.com.objectos.orm/relational-plugin

@Override
public Artifact execute() {
 return Artifact.empty();
}

代码示例来源:origin: br.com.objectos.orm/compiler

@Override
public Artifact execute(PojoInfo pojoInfo) {
 return OrmPojoInfo.of(pojoInfo)
   .map(OrmPojoInfo::companionType)
   .map(CompanionType::execute)
   .orElse(Artifact.empty());
}

代码示例来源:origin: br.com.objectos.orm/relational-plugin

@Override
public Artifact execute(PojoInfo pojoInfo) {
 return OrmPojoInfo.of(pojoInfo)
   .map(this::execute0)
   .orElse(Artifact.empty());
}

代码示例来源:origin: br.com.objectos/code-testing

private Artifact methodInfo(TypeInfo typeInfo, MethodInfo methodInfo) {
 methodInfoList.add(methodInfo);
 methodInfoListenerSet.forEach(listener -> listener.onMethodInfo(methodInfo));
 return Artifact.empty();
}

代码示例来源:origin: br.com.objectos/code-testing

private Artifact packageInfo(PackageInfo packageInfo) {
 packageInfoList.add(ForwardingPackageInfo.of(packageInfo));
 packageInfoListenerSet.forEach(listener -> listener.onPackageInfo(packageInfo));
 return Artifact.empty();
}

代码示例来源:origin: br.com.objectos/code-testing

private Artifact typeInfo(TypeInfo typeInfo) {
 typeInfoMap.put(typeInfo.qualifiedName(), typeInfo);
 typeInfoListenerSet.forEach(listener -> listener.onTypeInfo(typeInfo));
 return Artifact.empty();
}

代码示例来源:origin: br.com.objectos.code/apt

@Override
default Artifact generateArtifact(ProcessingEnvironmentWrapper processingEnv, Element element) {
 Artifact artifact = Artifact.empty();
 Element enclosingElement = element.getEnclosingElement();
 if (Apt.isType(enclosingElement)) {
  TypeInfo typeInfo = TypeInfoTypeElement.wrap(processingEnv, (TypeElement) enclosingElement);
  TypeParameterInfoMap typeParameterInfoMap = typeInfo.typeParameterInfoMap();
  MethodInfo methodInfo;
  methodInfo = MethodInfoExecutableElement.wrap(processingEnv, (ExecutableElement) element, typeParameterInfoMap);
  artifact = generate(typeInfo, methodInfo);
 }
 return artifact;
}

代码示例来源:origin: br.com.objectos/code-apt

@Override
default Artifact generateArtifact(ProcessingEnvironmentWrapper processingEnv, Element element) {
 Artifact artifact = Artifact.empty();
 Element enclosingElement = element.getEnclosingElement();
 if (Apt.isType(enclosingElement)) {
  TypeInfo typeInfo = TypeInfoTypeElement.wrap(processingEnv, (TypeElement) enclosingElement);
  TypeParameterInfoMap typeParameterInfoMap = typeInfo.typeParameterInfoMap();
  MethodInfo methodInfo;
  methodInfo = MethodInfoExecutableElement.wrap(processingEnv, (ExecutableElement) element, typeParameterInfoMap);
  artifact = generate(typeInfo, methodInfo);
 }
 return artifact;
}

相关文章