Class PackageDescription.ForLoadedPackage

    • Constructor Detail

      • ForLoadedPackage

        public ForLoadedPackage​(java.lang.Package aPackage)
        Creates a new loaded package representation.
        Parameters:
        aPackage - The represented package.
    • Method Detail

      • getDeclaredAnnotations

        public AnnotationList getDeclaredAnnotations()
        Description copied from interface: AnnotationSource
        Returns a list of annotations that are declared by this instance.
        Returns:
        A list of declared annotations.
      • getName

        public java.lang.String getName()
        Description copied from interface: NamedElement.WithRuntimeName
        Returns the internalName of this byte code element.
        Returns:
        The internalName of this byte code element as visible from within a running Java application.