本文整理了Java中br.com.objectos.code.Artifact.builder()
方法的一些代码示例,展示了Artifact.builder()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Artifact.builder()
方法的具体详情如下:
包路径:br.com.objectos.code.Artifact
类名称:Artifact
方法名:builder
暂无
代码示例来源:origin: br.com.objectos.pojo/plugin
@Override
public final Artifact generate() {
pojoClass.onExecute(builder);
builder.onExecute();
Artifact.Builder artifactList = Artifact.builder();
pojoClass.accept(artifactList);
builder.accept(artifactList);
for (ArtifactAction action : artifactActionList) {
artifactList.addArtifact(action.execute(pojoInfo));
}
return artifactList.build();
}
代码示例来源:origin: br.com.objectos/pojo-plugin
@Override
public final Artifact generate() {
pojoClass.onExecute(builder);
builder.onExecute();
Artifact.Builder artifactList = Artifact.builder();
pojoClass.accept(artifactList);
builder.accept(artifactList);
for (ArtifactAction action : artifactActionList) {
artifactList.addArtifact(action.execute(pojoInfo));
}
return artifactList.build();
}
代码示例来源:origin: br.com.objectos.code/tools-testing
private Artifact generate(TypeInfo typeInfo) {
ClassPath classPath = ClassPath.builder()
.addJarOf(getClass())
.build();
ProcessorCompiler compiler = classPath.processorCompiler(processingEnv);
String message = compiler
.compile(typeInfo)
.methodInfo("get")
.invoke()
.invoke(Methods.toStringMethod())
.returnValueAs(String.class);
return Artifact.builder()
.addArtifact(iface(typeInfo, message))
.addArtifact(txt(typeInfo, message))
.build();
}
内容来源于网络,如有侵权,请联系作者删除!