Record Class CompilationReport
java.lang.Object
java.lang.Record
io.github.jabrena.juno.CompilationReport
public record CompilationReport(MethodRef entryPoint, Board board, int reachableMethods, int irBlocks, Set<Intrinsic> intrinsics, RuntimeRiskReport runtimeRisks, List<ConfigSuggestion> configSuggestions)
extends Record
What the compiler found while producing a
CompilationResult.-
Constructor Summary
ConstructorsConstructorDescriptionCompilationReport(MethodRef entryPoint, Board board, int reachableMethods, int irBlocks, Set<Intrinsic> intrinsics, RuntimeRiskReport runtimeRisks, List<ConfigSuggestion> configSuggestions) Creates an instance of aCompilationReportrecord class. -
Method Summary
Modifier and TypeMethodDescriptionboard()Returns the value of theboardrecord component.Returns the value of theconfigSuggestionsrecord component.Returns the value of theentryPointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theintrinsicsrecord component.intirBlocks()Returns the value of theirBlocksrecord component.intReturns the value of thereachableMethodsrecord component.Returns the value of theruntimeRisksrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompilationReport
public CompilationReport(MethodRef entryPoint, Board board, int reachableMethods, int irBlocks, Set<Intrinsic> intrinsics, RuntimeRiskReport runtimeRisks, List<ConfigSuggestion> configSuggestions) Creates an instance of aCompilationReportrecord class.- Parameters:
entryPoint- the value for theentryPointrecord componentboard- the value for theboardrecord componentreachableMethods- the value for thereachableMethodsrecord componentirBlocks- the value for theirBlocksrecord componentintrinsics- the value for theintrinsicsrecord componentruntimeRisks- the value for theruntimeRisksrecord componentconfigSuggestions- the value for theconfigSuggestionsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
entryPoint
Returns the value of theentryPointrecord component.- Returns:
- the value of the
entryPointrecord component
-
board
Returns the value of theboardrecord component.- Returns:
- the value of the
boardrecord component
-
reachableMethods
public int reachableMethods()Returns the value of thereachableMethodsrecord component.- Returns:
- the value of the
reachableMethodsrecord component
-
irBlocks
public int irBlocks()Returns the value of theirBlocksrecord component.- Returns:
- the value of the
irBlocksrecord component
-
intrinsics
-
runtimeRisks
Returns the value of theruntimeRisksrecord component.- Returns:
- the value of the
runtimeRisksrecord component
-
configSuggestions
Returns the value of theconfigSuggestionsrecord component.- Returns:
- the value of the
configSuggestionsrecord component
-