Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
37 views

Unable to retrieve the annotation at the left of the square brackets of an array

I am unable to retrieve the annotation at the left of the square brackets of an array: public static @MyNullable1 String @MyNullable2[] array = null; @Test public void test() throws Exception { ...
FredSuvn's user avatar
  • 2,109
1 vote
1 answer
44 views

Scala 2 annotation macro weirdness

I have these three macros all defined in the same file (and with the same exact definition): class client(val port: Int = 9000) extends StaticAnnotation { def macroTransform(annottees: Any*): Any = ...
Dima's user avatar
  • 40.6k
0 votes
0 answers
36 views

Vsphere 8.0.3 Annotation

Is there a way in Vsphere Version 8 to get the Annotation from a vm with using the rest API? "https:///api/vcenter/vm/vm-64" doesn't work - no annotation Is Powercli the only way for this?
Mickey45's user avatar
0 votes
1 answer
83 views

Java Reflections and Meta Annotation Scanning

I am working on a somewhat like spring DI framework, and I faced an issue scanning all classes annotated with a certain annotation. Here are the annotations: @Retention(RetentionPolicy.RUNTIME) @...
Standing_Ash's user avatar
0 votes
0 answers
38 views

What is an annotation in Spring Boot [duplicate]

I have been trying to find a simple definition of an annotation is Spring Boot, specifically: a) What it does b) When / how you would use it While I am using annotations in my code such as @Repository ...
Walker Farrow's user avatar
2 votes
1 answer
47 views

Backward Compatible Mongo fields using C# and .NET

I have the following class which represents an entity in a MongoDB database: public class Profile { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } = null!; ...
chris's user avatar
  • 2,862
1 vote
1 answer
32 views

AspectJ staticInitialization changes the method context on the code in the clinit when doing @Around

This question is a follow up to the question here AspectJ @around a static initializer I accepted that answer because it did apply the aspect to the code, but i hadn't actually run it yet to see there ...
MeBigFatGuy's user avatar
  • 28.6k
0 votes
1 answer
52 views

AspectJ @around a static initializer

I'm attempting to use a point cut of @Around("staticinitialization(*)") but when applying i get this error: [iajc] [error 4]: error at /home/dave/dev/coyote/projects/aspects/debug_src/com/...
MeBigFatGuy's user avatar
  • 28.6k
0 votes
0 answers
11 views

Potato - text annotation tool

For those familiar with Potato, the text annotation tool, I would like to know if is there a possibility when you are doing span labeling, to select multiple labels for the same span. I checked the ...
Diana Duarte Salinas's user avatar
0 votes
1 answer
19 views

Quarkus - set annotation configs in application.yaml

Currently I have annotation properties in my application.properties, such as: my.project.MyClass/myFunction/Retry/maxRetries=3 my.project.MyClass/myFunction/Retry/delay=400 Is it possible to put ...
MiketheCalamity's user avatar
0 votes
0 answers
27 views

Unable to Export CVAT Annotations to S3 or Download Locally

I am running CVAT on a VM and attempting to export annotations to (lakefs, hosted by my organization) S3 cloud storage. However, I encounter an AccessDenied error, despite being able to upload to the ...
Raighley's user avatar
1 vote
1 answer
29 views

Observability with java spring boot actuator and micrometer annotation @Counted is ignored while @Timed works fine

Following documents and examples I try to implement @Counted and @Timed annotation based observability, basing on spring boot actuator, micrometer. There are no build or run errors. a method in the ...
Gil Shapir's user avatar
2 votes
0 answers
72 views

Dynamically added annotation is not visible to Kotlin reflection

I am working with a Java agent that is adding an annotation dynamically to a class file. When this class file is a Kotlin class, and if it is investigated by Kotlin reflection, the annotation does not ...
Rafael Winterhalter's user avatar
0 votes
0 answers
14 views

Scichart VerticalLineAnnotation.Visibility = Visibility.Hidden not taking effect

I'm having a problem with VerticalLineAnnotation.Visibility = Visibility.Hidden; not taking effect in my development, checking the Scichart forums I know the answer, Visibility is used internally but ...
李晓航's user avatar
0 votes
1 answer
113 views

I encountered a Swagger error when using from __future__ import annotations with Pydantic, FastAPI, and SlowAPI in my project

I encountered the following error while working with FastAPI and Pydantic and SlowApi: pydantic.errors.PydanticUserError: `TypeAdapter[typing.Annotated[ForwardRef('ResponseModel'), FieldInfo(...
Mohanad Gadallah's user avatar

15 30 50 per page
1
2 3 4 5
856