Class ClassSourceWrapper

  • All Implemented Interfaces:
    IClass

    public class ClassSourceWrapper
    extends ClassWrapper
    Wrapper for class with added source information. This wraps the basic class handling implementation with added support for retrieving information from source files.
    Author:
    Dennis M. Sosnoski
    • Constructor Detail

    • Method Detail

      • buildItem

        protected IClassItem buildItem​(ClassItem item)
        Build an item wrapper. This override of the base class implementation always creates a wrapper which will support source operations.
        Overrides:
        buildItem in class ClassWrapper
        Parameters:
        item -
        Returns:
        wrapper
      • getJavaDoc

        public java.lang.String getJavaDoc()
        Description copied from interface: IClass
        Get the JavaDoc comment for this class.
        Specified by:
        getJavaDoc in interface IClass
        Overrides:
        getJavaDoc in class ClassWrapper
        Returns:
        comment text, or null if none or no source available