Record Class ParsedInnerClass
java.lang.Object
java.lang.Record
dev.archunitjava.importer.ParsedInnerClass
- All Implemented Interfaces:
Comparable<ParsedInnerClass>
public record ParsedInnerClass(String innerBinaryName, Optional<String> outerBinaryName, Optional<String> innerSimpleName, int accessFlags)
extends Record
implements Comparable<ParsedInnerClass>
One InnerClasses table entry, retained as evidence rather than source-level truth.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theaccessFlagsrecord component.intcompareTo(ParsedInnerClass other) 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 theinnerBinaryNamerecord component.Returns the value of theinnerSimpleNamerecord component.Returns the value of theouterBinaryNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParsedInnerClass
public ParsedInnerClass(String innerBinaryName, Optional<String> outerBinaryName, Optional<String> innerSimpleName, int accessFlags) Creates an instance of aParsedInnerClassrecord class.- Parameters:
innerBinaryName- the value for theinnerBinaryNamerecord componentouterBinaryName- the value for theouterBinaryNamerecord componentinnerSimpleName- the value for theinnerSimpleNamerecord componentaccessFlags- the value for theaccessFlagsrecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<ParsedInnerClass>
-
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. -
innerBinaryName
Returns the value of theinnerBinaryNamerecord component.- Returns:
- the value of the
innerBinaryNamerecord component
-
outerBinaryName
-
innerSimpleName
-
accessFlags
public int accessFlags()Returns the value of theaccessFlagsrecord component.- Returns:
- the value of the
accessFlagsrecord component
-