Record Class ParsedNestingMetadata
java.lang.Object
java.lang.Record
dev.archunitjava.importer.ParsedNestingMetadata
public record ParsedNestingMetadata(List<ParsedInnerClass> innerClasses, List<ParsedEnclosingMethod> enclosingMethods, List<String> nestHostBinaryNames, List<String> nestMemberBinaryNames)
extends Record
Raw nesting and nestmate attributes retained without inferring source ownership.
-
Constructor Summary
ConstructorsConstructorDescriptionParsedNestingMetadata(List<ParsedInnerClass> innerClasses, List<ParsedEnclosingMethod> enclosingMethods, List<String> nestHostBinaryNames, List<String> nestMemberBinaryNames) Creates an instance of aParsedNestingMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParsedNestingMetadataempty()Returns the value of theenclosingMethodsrecord 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 theinnerClassesrecord component.Returns the value of thenestHostBinaryNamesrecord component.Returns the value of thenestMemberBinaryNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedNestingMetadata
public ParsedNestingMetadata(List<ParsedInnerClass> innerClasses, List<ParsedEnclosingMethod> enclosingMethods, List<String> nestHostBinaryNames, List<String> nestMemberBinaryNames) Creates an instance of aParsedNestingMetadatarecord class.- Parameters:
innerClasses- the value for theinnerClassesrecord componentenclosingMethods- the value for theenclosingMethodsrecord componentnestHostBinaryNames- the value for thenestHostBinaryNamesrecord componentnestMemberBinaryNames- the value for thenestMemberBinaryNamesrecord component
-
-
Method Details
-
empty
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
innerClasses
Returns the value of theinnerClassesrecord component.- Returns:
- the value of the
innerClassesrecord component
-
enclosingMethods
Returns the value of theenclosingMethodsrecord component.- Returns:
- the value of the
enclosingMethodsrecord component
-
nestHostBinaryNames
-
nestMemberBinaryNames
-