static BuilderExceptionHandler newExceptionHandler(Label handler) { return new BuilderExceptionHandler(handler) { @Override public String getExceptionType() { return null; } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } }; }
static BuilderExceptionHandler newExceptionHandler(@Nonnull Label handler) { return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return null; } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } }; }
static BuilderExceptionHandler newExceptionHandler(@Nonnull Label handler) { return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return null; } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } }; }
static BuilderExceptionHandler newExceptionHandler(@Nonnull Label handler) { return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return null; } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } }; }
static BuilderExceptionHandler newExceptionHandler(@Nullable final String exceptionType, @Nonnull Label handler) { if (exceptionType == null) { return newExceptionHandler(handler); } return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return exceptionType; } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } }; } }
static BuilderExceptionHandler newExceptionHandler(@Nullable final String exceptionType, @Nonnull Label handler) { if (exceptionType == null) { return newExceptionHandler(handler); } return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return exceptionType; } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } }; } }
static BuilderExceptionHandler newExceptionHandler(final String exceptionType, Label handler) { if (exceptionType == null) { return newExceptionHandler(handler); } return new BuilderExceptionHandler(handler) { @Override public String getExceptionType() { return exceptionType; } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } }; }
static BuilderExceptionHandler newExceptionHandler(@Nullable final String exceptionType, @Nonnull Label handler) { if (exceptionType == null) { return newExceptionHandler(handler); } return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return exceptionType; } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } }; } }
static BuilderExceptionHandler newExceptionHandler(@Nullable final TypeReference exceptionType, @Nonnull Label handler) { if (exceptionType == null) { return newExceptionHandler(handler); } return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return exceptionType.getType(); } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } @Nullable @Override public TypeReference getExceptionTypeReference() { return exceptionType; } }; }
static BuilderExceptionHandler newExceptionHandler(@Nullable final TypeReference exceptionType, @Nonnull Label handler) { if (exceptionType == null) { return newExceptionHandler(handler); } return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return exceptionType.getType(); } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } @Nullable @Override public TypeReference getExceptionTypeReference() { return exceptionType; } }; }
static BuilderExceptionHandler newExceptionHandler(@Nullable final TypeReference exceptionType, @Nonnull Label handler) { if (exceptionType == null) { return newExceptionHandler(handler); } return new BuilderExceptionHandler(handler) { @Nullable @Override public String getExceptionType() { return exceptionType.getType(); } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } @Nullable @Override public TypeReference getExceptionTypeReference() { return exceptionType; } }; }
static BuilderExceptionHandler newExceptionHandler(final TypeReference exceptionType, Label handler) { if (exceptionType == null) { return newExceptionHandler(handler); } return new BuilderExceptionHandler(handler) { @Override public String getExceptionType() { return exceptionType.getType(); } @Override public int getHandlerCodeAddress() { return handler.getCodeAddress(); } @Override public TypeReference getExceptionTypeReference() { return exceptionType; } }; }