-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce UnsafeAccessedFieldBuildItem
- Loading branch information
Showing
3 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...c/main/java/io/quarkus/deployment/builditem/nativeimage/UnsafeAccessedFieldBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package io.quarkus.deployment.builditem.nativeimage; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
public final class UnsafeAccessedFieldBuildItem extends MultiBuildItem { | ||
|
||
final String declaringClass; | ||
final String fieldName; | ||
|
||
public UnsafeAccessedFieldBuildItem(String declaringClass, String fieldName) { | ||
this.declaringClass = declaringClass; | ||
this.fieldName = fieldName; | ||
} | ||
|
||
public String getDeclaringClass() { | ||
return declaringClass; | ||
} | ||
|
||
public String getFieldName() { | ||
return fieldName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters