Class JavaMemberSource

java.lang.Object
uno.anahata.ai.nb.model.java2.JavaTypeSource
uno.anahata.ai.nb.model.java2.JavaMemberSource

public class JavaMemberSource extends JavaTypeSource
A rich result object that represents the outcome of a source-finding operation for a specific JavaMember. It extracts only the source code of the member itself from the containing file.
  • Constructor Details

    • JavaMemberSource

      public JavaMemberSource(JavaMember member) throws Exception
      Constructs a new JavaMemberSource and attempts to extract the source code for the given JavaMember.
      Parameters:
      member - the member to find source for.
      Throws:
      Exception - if the source cannot be found or read.
  • Method Details