java.lang.Object
org.apache.sling.scripting.sightly.impl.engine.compiled.SourceIdentifier
All Implemented Interfaces:
ClassInfo

public class SourceIdentifier extends Object implements ClassInfo
Identifies a Java source file based on a Resource. Depending on the used constructor this class might provide the abstraction for either a Java source file generated for a HTL script or for a HTL Resource-based Java Use-API Object.
  • Method Details

    • getSimpleClassName

      public String getSimpleClassName()
      Description copied from interface: ClassInfo
      Returns the class simple name.
      Specified by:
      getSimpleClassName in interface ClassInfo
      Returns:
      the class simple name
    • getPackageName

      public String getPackageName()
      Description copied from interface: ClassInfo
      Returns the class' package name.
      Specified by:
      getPackageName in interface ClassInfo
      Returns:
      the class' package name
    • getFullyQualifiedClassName

      public String getFullyQualifiedClassName()
      Description copied from interface: ClassInfo
      Returns the fully qualified class name.
      Specified by:
      getFullyQualifiedClassName in interface ClassInfo
      Returns:
      the fully qualified class name