本文整理汇总了Java中io.vertx.codegen.annotations.ProxyIgnore类的典型用法代码示例。如果您正苦于以下问题:Java ProxyIgnore类的具体用法?Java ProxyIgnore怎么用?Java ProxyIgnore使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ProxyIgnore类属于io.vertx.codegen.annotations包,在下文中一共展示了ProxyIgnore类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createMethodInfo
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
@Override
protected MethodInfo createMethodInfo(Set<ClassTypeInfo> ownerTypes, String methodName, String comment, Doc doc, MethodKind kind, TypeInfo returnType,
Text returnDescription,
boolean isFluent, boolean isCacheReturn, List<ParamInfo> mParams,
ExecutableElement methodElt, boolean isStatic, boolean isDefault, ArrayList<TypeParamInfo.Method> typeParams,
TypeElement declaringElt) {
AnnotationMirror proxyIgnoreAnnotation = Helper.resolveMethodAnnotation(ProxyIgnore.class, elementUtils, typeUtils, declaringElt, methodElt);
boolean isProxyIgnore = proxyIgnoreAnnotation != null;
AnnotationMirror proxyCloseAnnotation = Helper.resolveMethodAnnotation(ProxyClose.class, elementUtils, typeUtils, declaringElt, methodElt);
boolean isProxyClose = proxyCloseAnnotation != null;
if (isProxyClose && mParams.size() > 0) {
if (mParams.size() > 1) {
throw new GenException(this.modelElt, "@ProxyClose methods can't have more than one parameter");
}
if (kind != MethodKind.FUTURE) {
throw new GenException(this.modelElt, "@ProxyClose parameter must be Handler<AsyncResult<Void>>");
}
TypeInfo type = mParams.get(0).getType();
TypeInfo arg = ((ParameterizedTypeInfo) ((ParameterizedTypeInfo) type).getArgs().get(0)).getArgs().get(0);
if (arg.getKind() != ClassKind.VOID) {
throw new GenException(this.modelElt, "@ProxyClose parameter must be " +
"Handler<AsyncResult<Void>> instead of " + type);
}
}
return new ProxyMethodInfo(ownerTypes, methodName, kind, returnType, returnDescription,
isFluent, isCacheReturn, mParams, comment, doc, isStatic, isDefault, typeParams, isProxyIgnore,
isProxyClose);
}
示例2: start
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
@ProxyIgnore
void start();
示例3: stop
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
@ProxyIgnore
void stop();
示例4: sendString
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
@ProxyIgnore
@GenIgnore
default void sendString(StringKafkaMessage message, Handler<AsyncResult<Void>> resultHandler) {
sendString(message, new KafkaOptions(), resultHandler);
}
示例5: sendBytes
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
@ProxyIgnore
@GenIgnore
default void sendBytes(ByteKafkaMessage message, Handler<AsyncResult<Void>> resultHandler) {
sendBytes(message, new KafkaOptions(), resultHandler);
}
示例6: close
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
@Override
@ProxyIgnore
void close();
示例7: ignoredMethod
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
@ProxyIgnore
void ignoredMethod();
示例8: ignored
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
@ProxyIgnore
void ignored();
示例9: start
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
/**
* Start the vertx-amqp-service
*/
@ProxyIgnore
public void start();
示例10: stop
import io.vertx.codegen.annotations.ProxyIgnore; //导入依赖的package包/类
/**
* Stop the vertx-amqp-service
*/
@ProxyIgnore
public void stop();