Class PackageDescription.AbstractBase

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • getInternalName

        public java.lang.String getInternalName()
        Returns the internal name of this byte code element. If no well-defined internal name is known for this element, the actual name is returned.
        Specified by:
        getInternalName in interface NamedElement.WithRuntimeName
        Returns:
        The internal name of this byte code element as used within the Java class file format.
      • getActualName

        public java.lang.String getActualName()
        Returns the display name of this element as it is found in the source code. If no such name exists, an empty string is returned.
        Specified by:
        getActualName in interface NamedElement
        Returns:
        The name of this element as given in a Java program's source code.
      • contains

        public boolean contains​(TypeDescription typeDescription)
        Checks if this package contains the provided type.
        Specified by:
        contains in interface PackageDescription
        Parameters:
        typeDescription - The type to examine.
        Returns:
        true if the given type contains the provided type.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object